Comfy-Org / Comfy-Org/ComfyUI

Image Blend Node error

Open
#2,594 2 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Hi, I'm traying to blend two videos one as a background and another as an overlay is a Hud animation but I'm getting this error it supposed to process the video no matter their frame count or size just process it as a layer on top of another.
Error occurred when executing ImageBlend:

The size of tensor a (63) must match the size of tensor b (278) at non-singleton dimension 0

File "K:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\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 "K:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI\comfy_extras\nodes_post_processing.py", line 41, in blend_images
blended_image = self.blend_mode(image1, image2, blend_mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI\comfy_extras\nodes_post_processing.py", line 52, in blend_mode
return 1 - (1 - img1) * (1 - img2)
~~~~~~~~~~~^~~~~~~~~~~~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.