yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
1.06k stars 72 forks source link

XY图表导致“简易K采样器”报错 #192

Open JoeyLearnsToCode opened 5 months ago

JoeyLearnsToCode commented 5 months ago

参照ComfyUI-Yolain-Workflows中的XY图表工作流,运行起来后XY图表后面的简易K采样器报错:

Error occurred when executing easy kSampler:

'NoneType' object is not subscriptable

File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 4679, in simple
return super().run(pipe, None, None, None, None, None, image_output, link_id, save_prefix,
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 4646, in run
return process_xyPlot(pipe, samp_model, samp_clip, samp_samples, samp_vae, samp_seed, samp_positive, samp_negative, steps, cfg, sampler_name, scheduler, denoise, image_output, link_id, save_prefix, tile_size, prompt, extra_pnginfo, my_unique_id, preview_latent, xyPlot, force_full_denoise, disable_noise, samp_custom)
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 4533, in process_xyPlot
samp_model = downscale_model_unet(samp_model)
File "D:\APPs\stable-diffusion\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 4351, in downscale_model_unet
if downscale_options['downscale_factor'] is None:

从预采样器直通简易K采样器则没有问题,可以出图。

工作流json如下: EasyUse XY图表.json

hotpot-killer commented 4 months ago

我也遇到了同样的问题 image