Kosinkadink / ComfyUI-Advanced-ControlNet

ControlNet scheduling and masking nodes with sliding context support
GNU General Public License v3.0
559 stars 56 forks source link

Error occurred when executing ACN_missing 2 required positional arguments: 'compression_ratio' and 'upscale_algorithm' #88

Closed gustavmilo closed 6 months ago

gustavmilo commented 6 months ago

Load ControlNet Model: [t2iadapter_color_sd14v1.pth] or [coadapter-color-sd15v1.pth]


color111

Error occurred when executing ACN_AdvancedControlNetApply:

T2IAdapter.init() missing 2 required positional arguments: 'compression_ratio' and 'upscale_algorithm'

File "D:\SD-ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\SD-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 "D:\SD-ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "D:\SD-ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\nodes.py", line 173, in apply_controlnet c_net = convert_to_advanced(control_net.copy()).set_cond_hint(control_hint, strength, (start_percent, end_percent)) File "D:\SD-ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 405, in convert_to_advanced return T2IAdapterAdvanced.from_vanilla(v=control, timestep_keyframe=timestep_keyframe) File "D:\SD-ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 140, in from_vanilla return T2IAdapterAdvanced(t2i_model=v.t2i_model, timestep_keyframes=timestep_keyframe, channels_in=v.channels_in, device=v.device) File "D:\SD-ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 94, in init super().init(t2i_model=t2i_model, channels_in=channels_in, device=device)

Kosinkadink commented 6 months ago

Your Advanced-ControlNet is outdated - update Advanced-ControlNet, and your issue should go away.

gustavmilo commented 6 months ago

Your Advanced-ControlNet is outdated - update Advanced-ControlNet, and your issue should go away.

cool,thx