Skip to content
New issue

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

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

Already on GitHub? # to your account

ModuleNotFoundError: No module named 'controlnet_aux' #1816

Closed
3 tasks done
PotentialX opened this issue Apr 25, 2023 · 5 comments · Fixed by #1819
Closed
3 tasks done

ModuleNotFoundError: No module named 'controlnet_aux' #1816

PotentialX opened this issue Apr 25, 2023 · 5 comments · Fixed by #1819
Assignees
Labels
kind/bug something isn't working

Comments

@PotentialX
Copy link

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmagic

Environment

mmagic环境安装完成, mmagic.__version__返回 1.0
但是无法发现controlnet_aux, 在github使用 search in this repository也没发现

Reproduces the problem - code sample

主分支下,安装mmagic之后
python -c "from mmagic.apis import MMagicInferencer"
即可发现报错

Reproduces the problem - command or script

python -c "from mmagic.apis import MMagicInferencer"

Reproduces the problem - error message

mmagic/mmagic/apis/inferencers/controlnet_animation_inferencer.py", line 11, in
from controlnet_aux import HEDdetector
ModuleNotFoundError: No module named 'controlnet_aux'

Additional information

No response

@PotentialX PotentialX added the kind/bug something isn't working label Apr 25, 2023
@zwx8981
Copy link

zwx8981 commented Apr 26, 2023

Same issue, any update?

@liuwenran
Copy link
Collaborator

what about install it manually?

pip install controlnet_aux

@Z-Fran Z-Fran assigned liuwenran and unassigned zengyh1900 Apr 26, 2023
@zwx8981
Copy link

zwx8981 commented Apr 26, 2023

@liuwenran It works, thanks!

@PotentialX
Copy link
Author

@liuwenran thx!

@Z-Fran Z-Fran linked a pull request Apr 26, 2023 that will close this issue
7 tasks
@camoody1
Copy link

pip install controlnet_aux

Where do I run this command? I'm running a Windows portable installation of ComfyUI.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants