Nothing Special   »   [go: up one dir, main page]

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

The controlnet_aux.hed dependency has been updated! The Network class is no longer available. I changed Network to ControlNetHED_Apache2 to adapt to the new version. #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

princepride
Copy link

Grateful for your work! As mentioned in #233, running from controlnet_aux.hed import Network now raises an error. This is because starting from controlnet_aux version 0.06, the controlnet_aux/hed file has undergone changes.

To address this, I referred to the code provided in huggingface/controlnet_aux#66 and made modifications to the original code accordingly. It's worth noting that the network-bsds500.pth model has also been replaced with ControlNetHED.pth, which can be downloaded from https://huggingface.co/lllyasviel/Annotators.

Grateful for your work! As mentioned in microsoft#233, running from controlnet_aux.hed import Network now raises an error. This is because starting from controlnet_aux version 0.06, the controlnet_aux/hed file has undergone changes.

To address this, I referred to the code provided in huggingface/controlnet_aux#66 and made modifications to the original code accordingly. It's worth noting that the network-bsds500.pth model has also been replaced with ControlNetHED.pth, which can be downloaded from https://huggingface.co/lllyasviel/Annotators.
@princepride princepride changed the title controlnet_aux.hed has update! Change Network to ControlNetHED_Apache2 The controlnet_aux.hed dependency has been updated! The Network class is no longer available. I changed Network to ControlNetHED_Apache2 to adapt to the new version. Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant