Closed fadedninna closed 9 months ago
same here, I got this error today. any idea?
Launching Web UI with arguments: --xformers --deepdanbooru --autolaunch --no-half-vae
Error loading script: ddetailer.py
Traceback (most recent call last):
File "J:\AI\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "J:\AI\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
It's because of the update to Torch 2.x, I believe. Sadly, it's likely it won't work again unless the author decides to come by, or someone forks it.
you can downgrade torch 1.13.x like as following
force uninstall pytorch and install pytorch 1.13.x
venv/scripts/activate
install mmdet / mmcv_full
pip install mmdet==2.28.2
mim install mmcv-full
run webui and check any error log msgs.
It's because of the update to Torch 2.x, I believe. Sadly, it's likely it won't work again unless the author decides to come by, or someone forks it.
The only mmcv version that supports Torch 2.x is mmcv 2.x (use mim install mmcv>=2
since they changed the package name from mmcv-full to mmcv ), which forces you to update mmdet to 3.x (pip install mmdet>=3
), which forces you to port outdated config files to mmdet 3.x (see https://mmdetection.readthedocs.io/en/v3.0.0/migration/config_migration.html#migration-of-other-configurations) and also refactor inference_mmdet_bbox
and inference_mmdet_segm
. I've actually successfully refactored inference_mmdet_bbox
and the config file for mmdet_anime-face_yolov3
. For the from mmdet.core import get_classes
line replace it with from mmdet.evaluation import get_classes
Could someone please create a fork of this extension?
Try this fork. https://github.com/mlhub-action/ddetailer for torch: 2.0.0+cu118 mmcv_full-1.7.1 mmdet 2.28.2
Try this fork. https://github.com/mlhub-action/ddetailer for torch: 2.0.0+cu118 mmcv_full-1.7.1 mmdet 2.28.2
Also didn't work, but thanks to you I found an even better fork than that extension: https://github.com/Bing-su/adetailer it has more options and even interaction with controlnet inpaint
Is this plugin works on AMD guys?
As written in the title.