You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an error when trying to use OpenPose with ControlNet in Stable Diffusion on an Apple M1 Max with 64GB of memory running macOS 14.2.1 (23C71). The error message is as follows:
...
ModuleNotFoundError: No module named 'basicsr'
... Please see below
I have already installed basicsr with pip install basicsr, but the error persists. I have tried multiple times, but the OpenPose function still does not work.
I am experiencing an error when trying to use OpenPose with ControlNet in Stable Diffusion on an Apple M1 Max with 64GB of memory running macOS 14.2.1 (23C71). The error message is as follows:
...
ModuleNotFoundError: No module named 'basicsr'
... Please see below
I have already installed basicsr with pip install basicsr, but the error persists. I have tried multiple times, but the OpenPose function still does not work.
Additional Information:
STABILTY MATRIX:(v2.9.0)
Stable Diffusion WebUI version: (v1.8.0)
ControlNet version: (v1.1.441)
Python version: (v3.10.11)
Operating system: macOS 14.2.1 (23C71)
CPU: Apple M1 Max
Memory: 64GB
Question:
...
2024-03-04 13:18:54,246 - ControlNet - INFO - Preview Resolution = 512
Traceback (most recent call last):
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/Applications/Data/Packages/Stable Diffusion WebUI/venv/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/scripts/controlnet_ui/controlnet_ui_group.py", line 1015, in run_annotator
result, is_image = preprocessor(
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/scripts/utils.py", line 80, in decorated_func
return cached_func(*args, **kwargs)
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/scripts/utils.py", line 64, in cached_func
return func(*args, **kwargs)
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/scripts/global_state.py", line 37, in unified_preprocessor
return preprocessor_modules[preprocessor_name](*args, **kwargs)
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/scripts/processor.py", line 290, in run_model
return remove_pad(self.model_openpose(
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/annotator/openpose/init.py", line 447, in call
poses = self.detect_poses(oriImg, include_hand, include_face)
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/annotator/openpose/init.py", line 333, in detect_poses
self.load_model()
File "/Applications/Data/Packages/Stable Diffusion WebUI/extensions/sd-webui-controlnet/annotator/openpose/init.py", line 206, in load_model
from basicsr.utils.download_util import load_file_from_url
ModuleNotFoundError: No module named 'basicsr'
The text was updated successfully, but these errors were encountered: