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

cannot find module 'Network' in controlnet_aux.hed #233

Open
mucheng1024 opened this issue Feb 24, 2024 · 0 comments
Open

cannot find module 'Network' in controlnet_aux.hed #233

mucheng1024 opened this issue Feb 24, 2024 · 0 comments

Comments

@mucheng1024
Copy link

mucheng1024 commented Feb 24, 2024

image

I find some error tips in models_server.py, that is can't find module 'Network' in controlnet_aux.hed.
Actually i really didn't find it in controlnet_aux.hed source code.
My controlnet_aux version is 0.0.7, so what's wrong?

princepride added a commit to princepride/JARVIS that referenced this issue Apr 22, 2024
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.
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

No branches or pull requests

1 participant