Giter Club home page Giter Club logo

Comments (9)

svrakiss avatar svrakiss commented on September 4, 2024 3

see #54

from ddetailer.

Tktw avatar Tktw commented on September 4, 2024 1

Try this fork. https://github.com/mlhub-action/ddetailer
for torch: 2.0.0+cu118
mmcv_full-1.7.1
mmdet 2.28.2

from ddetailer.

rafaelfabres avatar rafaelfabres commented on September 4, 2024 1

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

from ddetailer.

lgtaegi avatar lgtaegi commented on September 4, 2024

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 "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "J:\AI\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 458, in
from mmdet.core import get_classes
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmdet\core_init
.py", line 3, in
from .bbox import * # noqa: F401, F403
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox_init_.py", line 8, in
from .samplers import (BaseSampler, CombinedSampler,
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox\samplers_init_.py", line 12, in
from .score_hlr_sampler import ScoreHLRSampler
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmdet\core\bbox\samplers\score_hlr_sampler.py", line 3, in
from mmcv.ops import nms_match
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmcv\ops_init_.py", line 3, in
from .active_rotated_filter import active_rotated_filter
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in
ext_module = ext_loader.load_ext(
File "J:\AI\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\taegi\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: The specified procedure could not be found.

from ddetailer.

magpie514 avatar magpie514 commented on September 4, 2024

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.

from ddetailer.

wkpark avatar wkpark commented on September 4, 2024

you can downgrade torch 1.13.x like as following

pip install mmdet==2.28.2
mim install mmcv-full
  • run webui and check any error log msgs.

from ddetailer.

svrakiss avatar svrakiss commented on September 4, 2024

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

from ddetailer.

rafaelfabres avatar rafaelfabres commented on September 4, 2024

Could someone please create a fork of this extension?

from ddetailer.

songib avatar songib commented on September 4, 2024

Is this plugin works on AMD guys?

from ddetailer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.