WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

Image Batch: Input image dimensions do not match for images #276

Open Duemellon opened 10 months ago

Duemellon commented 10 months ago

Getting error: What am I doing wrong? It worked a few weeks ago but now doesn't.

_Error occurred when executing Image Batch:

WAS Image Batch Warning: Input image dimensions do not match for images: ['images_b']

File "E:\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "E:\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4712, in image_batch self._check_image_dimensions(batched_tensors, image_names) File "E:\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4703, in _check_image_dimensions raise ValueError(f"WAS Image Batch Warning: Input image dimensions do not match for images: {mismatchedimages}")

image

rainstormads commented 8 months ago

I have the same issue. Did you get this resolved?

WASasquatch commented 8 months ago

I just adjusted the logic that the original author did. Seems they attempted to check all dimensions at once rather than using first as a guide for rest.

On Sun, Jan 21, 2024, 10:43 AM rainstormads @.***> wrote:

I have the same issue. Did you get this resolved?

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/276#issuecomment-1902724592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZLPKDUK2TSI5YILOKLYPVOWVAVCNFSM6AAAAAA7TJVSZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSG4ZDINJZGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>