You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the title, the "Mask Fill Holes" node doesn't seem to work with batched inputs.
Attempting to do so throws an error:
Error occurred when executing Mask Fill Holes:
Too many dimensions: 3 > 2.
File "/home/sebastiaan/src/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/sebastiaan/src/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/sebastiaan/src/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/sebastiaan/src/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 8187, in fill_region
pil_image = Image.fromarray(mask_np, mode="L")
File "/home/sebastiaan/.conda/envs/comfyui/lib/python3.10/site-packages/PIL/Image.py", line 3103, in fromarray
raise ValueError(msg)
It works fine without batching.
Workflow (generated preview image is from when I bypassed the node):
As per the title, the "Mask Fill Holes" node doesn't seem to work with batched inputs.
Attempting to do so throws an error:
It works fine without batching.
Workflow (generated preview image is from when I bypassed the node):
Might be related to #229.
Today's my first time using ComfyUI and thus WAS, so I might simply be messing something up, but it feels like I've hit a bug to me.
The text was updated successfully, but these errors were encountered: