dustysys / ddetailer

339 stars 73 forks source link

Errors with the last webui update #52

Closed Kaneda56 closed 11 months ago

Kaneda56 commented 1 year ago

Since the last update ddetailer no longer works. Torch version is now 2.0.0 Here my console errors : Error loading script: ddetailer.py Traceback (most recent call last): File "S:\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "S:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "S:\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 458, in <module> from mmdet.core import get_classes File "S:\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\__init__.py", line 3, in <module> from .bbox import * # noqa: F401, F403 File "S:\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox\__init__.py", line 8, in <module> from .samplers import (BaseSampler, CombinedSampler, File "S:\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox\samplers\__init__.py", line 12, in <module> from .score_hlr_sampler import ScoreHLRSampler File "S:\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox\samplers\score_hlr_sampler.py", line 3, in <module> from mmcv.ops import nms_match File "S:\stable-diffusion-webui\venv\lib\site-packages\mmcv\ops\__init__.py", line 2, in <module> from .active_rotated_filter import active_rotated_filter File "S:\stable-diffusion-webui\venv\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in <module> ext_module = ext_loader.load_ext( File "S:\stable-diffusion-webui\venv\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext ext = importlib.import_module('mmcv.' + name) File "C:\Users\kaned\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: DLL load failed while importing _ext: La procédure spécifiée est introuvable.

How fix it ? ddetailer needs an update ?