Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help!' ControlNet' object has no attribute 'latent_format' #125

Closed
luozhihao1 opened this issue Jun 28, 2024 · 4 comments
Closed

Help!' ControlNet' object has no attribute 'latent_format' #125

luozhihao1 opened this issue Jun 28, 2024 · 4 comments
Labels
no bugs here Not a bug, but a workflow or environment issue update your comfyui Issue caused by outdated ComfyUI

Comments

@luozhihao1
Copy link

The error occurred when running to the 'Load Advanced ControlNet Model' node.

Error occurred when executing ControlNetLoaderAdvanced:

'ControlNet' object has no attribute 'latent_format'

File "E:\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\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 "E:\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\nodes.py", line 41, in load_controlnet
controlnet = load_controlnet(controlnet_path, timestep_keyframe)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 562, in load_controlnet
return convert_to_advanced(control, timestep_keyframe=timestep_keyframe)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 571, in convert_to_advanced
control = ControlNetAdvanced.from_vanilla(v=control, timestep_keyframe=timestep_keyframe)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 102, 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)

1719591375779

@Kosinkadink
Copy link
Owner

#124

@Kosinkadink Kosinkadink added no bugs here Not a bug, but a workflow or environment issue update your comfyui Issue caused by outdated ComfyUI labels Jun 28, 2024
@sylar1128
Copy link

I have the same problem as you. How can I solve it?

@Kosinkadink
Copy link
Owner

@sylar1128 #124

@sylar1128
Copy link

@sylar1128 #124

Thank you very much, updating the comfyui ontology is OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no bugs here Not a bug, but a workflow or environment issue update your comfyui Issue caused by outdated ComfyUI
Projects
None yet
Development

No branches or pull requests

3 participants