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

ModuleNotFoundError: No module named 'controlnet_aux' #36

Open
BaubleBridge opened this issue Jun 12, 2023 · 2 comments
Open

ModuleNotFoundError: No module named 'controlnet_aux' #36

BaubleBridge opened this issue Jun 12, 2023 · 2 comments

Comments

@BaubleBridge
Copy link

Error after running: python app.py

File "/Users/username/Development/InternGPT/InternGPT/iGPT/models/image.py", line 20, in
from controlnet_aux import OpenposeDetector, MLSDdetector, HEDdetector
ModuleNotFoundError: No module named 'controlnet_aux'

@liu-zhy
Copy link
Collaborator

liu-zhy commented Jun 14, 2023

Please try:pip install controlnet-aux==0.0.3

@xp0nat
Copy link

xp0nat commented Feb 26, 2024

Hello, I have the same problem, I installed it via pip, even when I check the stability matrix, it is installed, but it says:

Traceback (most recent call last):
File "F:\Stability Matrix\Data\Packages\VoltaML\main.py", line 343, in
main(exit_after_init=args.install_only)
File "F:\Stability Matrix\Data\Packages\VoltaML\main.py", line 165, in main
from api.app import app as api_app
File "F:\Stability Matrix\Data\Packages\VoltaML\api\app.py", line 195, in
module = import(f"api.routes.{file.stem}", fromlist=["router"])
File "F:\Stability Matrix\Data\Packages\VoltaML\api\routes\generate.py", line 10, in
from core.shared_dependent import gpu
File "F:\Stability Matrix\Data\Packages\VoltaML\core\shared_dependent.py", line 4, in
from core.gpu import GPU
File "F:\Stability Matrix\Data\Packages\VoltaML\core\gpu.py", line 21, in
from core.inference.ait import AITemplateStableDiffusion
File "F:\Stability Matrix\Data\Packages\VoltaML\core\inference\ait_init_.py", line 1, in
from .aitemplate import AITemplateStableDiffusion
File "F:\Stability Matrix\Data\Packages\VoltaML\core\inference\ait\aitemplate.py", line 18, in
from core.inference.ait.pipeline import StableDiffusionAITPipeline
File "F:\Stability Matrix\Data\Packages\VoltaML\core\inference\ait\pipeline.py", line 38, in
from core.inference.utilities import (
File "F:\Stability Matrix\Data\Packages\VoltaML\core\inference\utilities_init_.py", line 2, in
from .controlnet import image_to_controlnet_input
File "F:\Stability Matrix\Data\Packages\VoltaML\core\inference\utilities\controlnet.py", line 7, in
from controlnet_aux import (
ModuleNotFoundError: No module named 'controlnet_aux'

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

3 participants