-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug]: error loading the controlnet.py script since this morning #3002
Comments
Manually installing |
I went back to 1.1.454 |
It can't be reproduced locally, and it looks like a network reason for the dependency not being installed correctly. 1、Run the command using the console in the root directory. 2、 3、 Note that new dependencies are not available for some pip mirror sources, you can use |
I had this error too this morning and upgrading controlnet_aux (was on version 0.0.3) via pip solved the issue :) |
You may want to specify |
Is there an existing issue for this?
What happened?
when I run a1111 there is this error
*** Error loading script: controlnet.py
Traceback (most recent call last):
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\modules\scripts.py", line 508, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 16, in
import scripts.preprocessor as preprocessor_init # noqa
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\preprocessor_init.py", line 9, in
from .mobile_sam import *
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\preprocessor\mobile_sam.py", line 1, in
from annotator.mobile_sam import SamDetector_Aux
File "E:\StableDiffusion\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\annotator\mobile_sam_init_.py", line 12, in
from controlnet_aux import SamDetector
ImportError: cannot import name 'SamDetector' from 'controlnet_aux' (E:\StableDiffusion\Packages\Stable Diffusion WebUI\venv\lib\site-packages\controlnet_aux_init_.py)
Steps to reproduce the problem
What should have happened?
controlnet should have launched normally
Commit where the problem happens
webui: at start
controlnet: is not loaded
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of enabled extensions
Lora built-in None
ScuNET built-in None
SwinIR built-in None
canvas-zoom-and-pan built-in None
extra-options-section built-in None
hypertile built-in None
mobile built-in None
postprocessing-for-training built-in None
prompt-bracket-checker built-in None
soft-inpainting built-in None
StyleSelectorXL
a-person-mask-generator
adetailer
sd-webui-incantations
sd-webui-lama-cleaner-masked-content
sd-webui-mosaic-outpaint
stable-diffusion-webui-images-browser
ultimate-upscale-for-automatic1111
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: