Closed Zullian closed 11 months ago
For me what really fixed after done many tries is. pip install --upgrade --force-reinstall mmcv-full
On the end give many errors but worked. And rembg extension gived error also so i removed. The others extensions worked fine and i'm using many extensions.
I get the below when i try pip install --upgrade --force-reinstall mmcv-full
raise EnvironmentError('CUDA_HOME environment variable is not set. ' OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
see this fork https://github.com/dustysys/ddetailer/pull/54
This is the error I get, after trying for an hour all the possible combinations I found in resolved issues, still didn't fix it.
Error loading script: ddetailer.py Traceback (most recent call last): File "C:\stable-diffusion-webui-master\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "C:\stable-diffusion-webui-master\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\stable-diffusion-webui-master\extensions\ddetailer-master\scripts\ddetailer.py", line 458, in
from mmdet.core import get_classes
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmdet\core__init.py", line 3, in
from .bbox import * # noqa: F401, F403
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmdet\core\bbox__init.py", line 8, in
from .samplers import (BaseSampler, CombinedSampler,
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmdet\core\bbox\samplers\ init__.py", line 12, in
from .score_hlr_sampler import ScoreHLRSampler
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmdet\core\bbox\samplers\score_hlr_sampler.py", line 3, in
from mmcv.ops import nms_match
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmcv\ops\ init.py", line 3, in
from .active_rotated_filter import active_rotated_filter
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in
ext_module = ext_loader.load_ext(
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "C:\Users\~Rocky~\AppData\Local\Programs\Python\Python310\lib\importlib\ init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'mmcv._ext'