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

ImportError: cannot import name 'resize_image' from 'annotator.util' #731

Open
1113david opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@1113david
Copy link

while i starting the web-ui, it shows:

*** Error loading script: processor.py
Traceback (most recent call last):
File "D:\AI\SD\sd-webui-aki-v4.10\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\SD\sd-webui-aki-v4.10\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AI\SD\sd-webui-aki-v4.10\extensions\sd-webui-controlnet\scripts\processor.py", line 3, in
from annotator.util import resize_image, HWC3
ImportError: cannot import name 'resize_image' from 'annotator.util' (D:\AI\SD\sd-webui-aki-v4.10\extensions\sd-webui-controlnet\annotator\util.py)

how to solve this problem? thank you.

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