comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
56.03k stars 5.92k forks source link

I use ControlNet T2I-Adapter style model,something wrong happen? #1732

Open GeLi1989 opened 1 year ago

GeLi1989 commented 1 year ago

error message like this:

loading new error checkpoint does not contain controlnet or t2i adapter data /content/ComfyUI/models/controlnet/t2iadapter_style_sd14v1.pth !!! Exception during processing !!! Traceback (most recent call last): File "/root/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/root/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 "/root/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/root/ComfyUI/nodes.py", line 643, in apply_controlnet c_net = control_net.copy().set_cond_hint(control_hint, strength) AttributeError: 'NoneType' object has no attribute 'copy'

How can I solve the problem? Thanks

jn-jairo commented 1 year ago

For the t2i adapter style model follow the example here https://github.com/comfyanonymous/ComfyUI/issues/65#issuecomment-1476902577

GeLi1989 commented 1 year ago

For the t2i adapter style model follow the example here #65 (comment)

Thanks for your help