OpenGVLab / InternGPT

InternGPT (iGPT) is an open source demo platform where you can easily showcase your AI models. Now it supports DragGAN, ChatGPT, ImageBind, multimodal chat like GPT-4, SAM, interactive image editing, etc. Try it at igpt.opengvlab.com (支持DragGAN、ChatGPT、ImageBind、SAM的在线Demo系统)
https://igpt.opengvlab.com
Apache License 2.0
3.2k stars 232 forks source link

ModuleNotFoundError: No module named 'controlnet_aux' #36

Open BaubleBridge opened 1 year ago

BaubleBridge commented 1 year ago

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 commented 1 year ago

Please try:pip install controlnet-aux==0.0.3

xp0nat commented 8 months ago

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'