lllyasviel / lllyasviel/stable-diffusion-webui-forge

WD1.4 tagger

Open
#2,918 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

*** Error loading script: tagger.py
Traceback (most recent call last):
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\modules\scripts.py", line 536, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\extensions\stable-diffusion-webui-wd14-tagger\scripts\tagger.py", line 5, in
from tagger.api import on_app_started # pylint: disable=import-error
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\extensions\stable-diffusion-webui-wd14-tagger\tagger\api.py", line 17, in
from tagger import utils # pylint: disable=import-error
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\extensions\stable-diffusion-webui-wd14-tagger\tagger\utils.py", line 13, in
from tagger.interrogator import Interrogator, DeepDanbooruInterrogator, Z3DInterrogator, \
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\extensions\stable-diffusion-webui-wd14-tagger\tagger\interrogator.py", line 19, in
from tagger.uiset import QData, IOData # pylint: disable=import-error
File "E:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge - Classic\extensions\stable-diffusion-webui-wd14-tagger\tagger\uiset.py", line 17, in
from modules.deepbooru import re_special # pylint: disable=import-error
ModuleNotFoundError: No module named 'modules.deepbooru'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py and follow the import chain through tagger/api.py, tagger/utils.py, tagger/interrogator.py, and tagger/uiset.py. Reproduce the failure and inspect the modules.deepbooru import in uiset.py. Done means the WD1.4 tagger loads without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.