Closed AnhDung306080 closed 3 months ago
Your ComfyUI is outdated. Update ComfyUI and your error will go away.
https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124#issuecomment-2205478442
Your ComfyUI is outdated. Update ComfyUI and your error will go away.
Thank you very much, let me update
Today, I got this error, a few days ago I used it normally. After I updated node and ComfyUI, I got this error. I don't know how to handle it. Please help me, thank you very much Operating System: Windows 10 Hardware: NVIDIA RTX 3060 12GB, 32GB RAM
Error occurred when executing ControlNetLoaderAdvanced:
'ControlNet' object has no attribute 'latent_format'
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\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 "D:\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 "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\nodes.py", line 51, in load_controlnet controlnet = load_controlnet(controlnet_path, tk_optional) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 471, in load_controlnet return convert_to_advanced(control, timestep_keyframe=timestep_keyframe) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 480, in convert_to_advanced control = ControlNetAdvanced.from_vanilla(v=control, timestep_keyframe=timestep_keyframe) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 105, in from_vanilla global_average_pooling=v.global_average_pooling, compression_ratio=v.compression_ratio, latent_format=v.latent_format, device=v.device, load_device=v.load_device, manual_cast_dtype=v.manual_cast_dtype) ^^^^^^^^^^^^^^^