Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when blending latents with mask #4

Open
Davikar opened this issue Jan 28, 2024 · 2 comments
Open

Error when blending latents with mask #4

Davikar opened this issue Jan 28, 2024 · 2 comments

Comments

@Davikar
Copy link

Davikar commented Jan 28, 2024

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)
~~~~~~~~^^^^^^^^^^^
@WASasquatch
Copy link
Owner

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

@Davikar
Copy link
Author

Davikar commented Feb 4, 2024

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

Yes, it's with a mask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants