Closed trouble-maker007 closed 4 months ago
Make sure both your ComfyUI and Advanced-ControlNet are updated to the latest. Based on your print statements, your ComfyUI is a recent version, but Advanced-ControlNet is outdated. ComfyUI had an update last week that breaks backwards compatibility with previous versions of Advanced-ControlNet, and I pushed an update to work with it.
You can check your Advanced-ControlNet version by looking in the pyproject.toml file.
Here is the PSA issue I created for the breaking changes: https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124
@Kosinkadink thanks for the quickly response, I update and try again
pyproject.toml
Hello! did you solve the problem?
@Uli2410 simply update Advanced-ControlNet. More info here https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124#issuecomment-2205478442
@Uli2410 simply update Advanced-ControlNet. More info here #124 (comment)
Ok! Thank u!
The error does not disappear... I updated comfyui and controlnet
ср, 3 лип. 2024 р. о 12:03 Jedrzej Kosinski @.***> пише:
@Uli2410 https://github.com/Uli2410 simply update Advanced-ControlNet. More info here #124 (comment) https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124#issuecomment-2205478442
— Reply to this email directly, view it on GitHub https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/126#issuecomment-2205479899, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEMQJJYRE5OKSWCMGYPO3MDZKO473AVCNFSM6AAAAABKHZWRHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVGQ3TSOBZHE . You are receiving this because you were mentioned.Message ID: @.***>
![Uploading Untitled-1.jpg…]()
Your screenshot didn't get uploaded for some reason, but if you still get the same error, that means your Advanced-ControlNet didn't update.
Check inside your pyproject.toml file inside ComfyUI-Advanced-ControlNet. It should be at least version = "1.1.0" if it updated.
Your screenshot didn't get uploaded for some reason, but if you still get the same error, that means your Advanced-ControlNet didn't update.
Check inside your pyproject.toml file inside ComfyUI-Advanced-ControlNet. It should be at least version = "1.1.0" if it updated.
Your screenshot didn't get uploaded for some reason, but if you still get the same error, that means your Advanced-ControlNet didn't update.
Check inside your pyproject.toml file inside ComfyUI-Advanced-ControlNet. It should be at least version = "1.1.0" if it updated.
controlnet is v1.1.0
Did you make sure to restart ComfyUI after updating?
Did you make sure to restart ComfyUI after updating?
yes, and computer too
@Uli2410 I think we had a miscommunication. You do not have the same error as this thread is talking about.
Looking closely at the sliver of console visible in your screenshot, the error you're actually getting is something like "object has no attribute 'latent_format'", right?
That is already mentioned in https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124#issue-2379529101, specifically when your AdvancedControlNet is okay but it's ComfyUI that is still a version prior to when ComfyUI made the breaking ControlNet changes.
Update your ComfyUI, whatever you tried to update ComfyUI did not work. Latent_format is not my variable, it is a variable that exists within ComfyUI's vanilla controlnets that I am extending, so it's 100% the reason for your error.
Ok, thanks for the clarification.
ср, 3 лип. 2024 р. о 17:19 Jedrzej Kosinski @.***> пише:
@Uli2410 https://github.com/Uli2410 I think we had a miscommunication. You do not have the same error as this thread is talking about.
Looking closely at the sliver of console visible in your screenshot, the error you're actually getting is something like "object has no attribute 'latent_format'", right?
That is already mentioned in #124 (comment) https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/124#issue-2379529101, specifically when your AdvancedControlNet is okay but it's ComfyUI that is still a version prior to when ComfyUI made the breaking ControlNet changes.
Update your ComfyUI, whatever you tried to update ComfyUI did not work. Latent_format is not my variable, it is a variable that exists within ComfyUI's vanilla controlnets that I am extending, so it's 100% the reason for your error.
— Reply to this email directly, view it on GitHub https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet/issues/126#issuecomment-2206255183, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEMQJJ4D4QIG2WZTWJIENQTZKQCAJAVCNFSM6AAAAABKHZWRHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGI2TKMJYGM . You are receiving this because you were mentioned.Message ID: @.***>
I print the output near x = control_output[i]
I use the controlnet in here:https://huggingface.co/lllyasviel/ControlNet-v1-1/tree/main and try to run the workflow of: https://openart.ai/workflows/grinlau/change-background/DoiYOkLj6ikwIbygd4gY