PowerNoiseSuite icon indicating copy to clipboard operation
PowerNoiseSuite copied to clipboard

Error when blending latents with mask

Open Davikar opened this issue 1 year ago • 2 comments

When using the Blend Latents node with a mask I get this error message no matter what I do.

Error occurred when executing Blend Latents (PPF Noise):

too many indices for tensor of dimension 4

File "C:\AI\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\ComfyUI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\ComfyUI\ComfyUI\custom_nodes\PowerNoiseSuite\nodes.py", line 383, in latent_blend
blend_mask = self.transform_mask(mask, latent_a["samples"].shape)
~~~~~~~~^^^^^^^^^^^

Davikar avatar Jan 28 '24 01:01 Davikar

This is with a mask? I'll look into when I get a chance.

WASasquatch avatar Feb 02 '24 17:02 WASasquatch

This is with a mask? I'll look into when I get a chance.

Yes, it's with a mask.

Davikar avatar Feb 04 '24 15:02 Davikar