ttulttul / ComfyUI-Iterative-Mixer

Nodes that implement iterative mixing of samples to help with upscaling quality
GNU General Public License v3.0
115 stars 9 forks source link

name 'generate_noised_latents' is not defined #12

Closed davedaverave closed 9 months ago

davedaverave commented 9 months ago

Error occurred when executing Iterative Mixing KSampler:

name 'generate_noised_latents' is not defined

File "/notebooks/ComfyUI/execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/notebooks/ComfyUI/execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/notebooks/ComfyUI/execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "/notebooks/ComfyUI/custom_nodes/ComfyUI-Iterative-Mixer/nodes.py", line 739, in sample (z_primes,) = self.batch_unsampler.unsampler(model, sampler_name, File "/usr/local/lib/python3.9/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(args, **kwargs) File "/notebooks/ComfyUI/custom_nodes/ComfyUI-Iterative-Mixer/nodes.py", line 184, in unsampler z = generate_noised_latents(latent_image, sigmas, normalize=normalize)

if-ai commented 9 months ago

Same for me I am trying the ipadpter example and my own workflow had the same error https://github.com/ttulttul/ComfyUI-Iterative-Mixer/blob/main/examples/archive/IPAdapter-Two-Stages-To-2K.png

ttulttul commented 9 months ago

Same for me I am trying the ipadpter example and my own workflow had the same error https://github.com/ttulttul/ComfyUI-Iterative-Mixer/blob/main/examples/archive/IPAdapter-Two-Stages-To-2K.png

Apologies, everyone. That is a bug. I will try to fix today. The function it is breaking on was moved to another module that apparently is not imported properly.

ttulttul commented 9 months ago

This is now fixed.