kijai / ComfyUI-IC-Light-Wrapper

Wraps the IC-Light Diffuser demo to a ComfyUI node
Apache License 2.0
324 stars 10 forks source link

Always reporting errors after switching models #5

Open liulsg opened 4 months ago

liulsg commented 4 months ago

1When I use fc model, I can run successfully, but switch to fbc model will give an error, and switch back to fc model still gives an error!

aqidesign commented 4 months ago

切换一下大模型,应该就可以了 Just switch to the checkpoint model and it should be fine.

zpengcom commented 4 months ago

image

I need you to copy the node from the workflow to work normally. At the same time, I can't switch, and an error will be reported when I switch:

Error occurred when executing LoadICLightUnetDiffusers:

The size of tensor a (4) must match the size of tensor b (8) at non-singleton dimension 1

File "I:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\ComfyUI_windows_portable\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 "I:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IC-Light-Wrapper\nodes.py", line 178, in load new_convin.weight[:, :4, :, :].copy(unet.conv_in.weight)

kijai commented 4 months ago

Only the fc model is supported here, I moved on to work on native Comfy nodes and it will support the fbc -model as well. https://github.com/kijai/ComfyUI-IC-Light