fix bug of ImageChannelMerge
This commit is contained in:
@@ -46,7 +46,7 @@ class ImageChannelMerge:
|
||||
for c in channel_4:
|
||||
c4_images.append(torch.unsqueeze(c, 0))
|
||||
else:
|
||||
c4_images.append(Image.new('L', size=(width, height), color='white'))
|
||||
c4_images.append(pil2tensor(Image.new('L', size=(width, height), color='white')))
|
||||
|
||||
max_batch = max(len(c1_images), len(c2_images), len(c3_images), len(c4_images))
|
||||
for i in range(max_batch):
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui_layerstyle"
|
||||
description = "A set of nodes for ComfyUI it generate image like Adobe Photoshop's Layer Style. the Drop Shadow is first completed node, and follow-up work is in progress."
|
||||
version = "1.0.21"
|
||||
version = "1.0.22"
|
||||
license = "MIT"
|
||||
dependencies = ["numpy", "pillow", "torch", "matplotlib", "Scipy", "scikit_image", "opencv-contrib-python", "pymatting", "segment_anything", "timm", "addict", "yapf", "colour-science", "wget", "mediapipe", "loguru", "typer_config", "fastapi", "rich", "google-generativeai", "diffusers", "omegaconf", "tqdm", "transformers", "kornia", "image-reward", "ultralytics", "blend_modes", "blind-watermark", "qrcode", "pyzbar", "transparent-background", "huggingface_hub", "psd-tools"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user