Compare commits

..
3 Commits
Author SHA1 Message Date
Dr.Lt.Data 17e0a05769 fixed: The {n$$...}` wildcard pattern was not working properly.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1055
2025-07-19 19:09:49 +09:00
meneraing b3a815b43d Update impact_pack.py (#1047)
Change the scale factor step to 0.05 for better parity with "Upscale Latent By" node from ComfyUI
2025-07-16 17:51:11 +09:00
Miguel C 8ab2e168f7 fix: update mask combination to use utils module (#1048) 2025-07-16 16:43:57 +09:00
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import os
import logging
version_code = [8, 20]
version_code = [8, 20, 1]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
my_path = os.path.dirname(__file__)
+1 -1
View File
@@ -672,7 +672,7 @@ class LatentPixelScale:
return {"required": {
"samples": ("LATENT", ),
"scale_method": (s.upscale_methods,),
"scale_factor": ("FLOAT", {"default": 1.5, "min": 0.1, "max": 10000, "step": 0.1}),
"scale_factor": ("FLOAT", {"default": 1.5, "min": 0.1, "max": 10000, "step": 0.05}),
"vae": ("VAE", ),
"use_tiled_vae": ("BOOLEAN", {"default": False, "label_on": "enabled", "label_off": "disabled"}),
},
+2 -1
View File
@@ -12,6 +12,7 @@ import torchvision
import impact.core as core
import impact.impact_pack as impact_pack
from impact.utils import to_tensor
import impact.utils as utils
from segment_anything import SamPredictor, sam_model_registry
import numpy as np
import nodes
@@ -145,7 +146,7 @@ async def sam_detect(request):
plabs.append(0)
detected_masks = core.sam_predict(sam_predictor, points, plabs, None, threshold)
mask = core.combine_masks2(detected_masks)
mask = utils.combine_masks2(detected_masks)
if mask is None:
return web.Response(status=400)
+1 -1
View File
@@ -139,7 +139,7 @@ def process(text, seed=None):
if b is not None:
b = b.strip()
else:
b = "-1"
b = a
if r is not None:
if b is not None and is_numeric_string(a) and is_numeric_string(b):
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-impact-pack"
description = "This node pack offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
version = "8.20"
version = "8.20.1"
license = { file = "LICENSE.txt" }
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]