picobyte/stable-diffusion-webui-wd14-tagger

Does not install onto automatic1111

RoskoDaneworth opened this issue · 0 comments

Using manual install with git (tried the webui url install, same result)

after installation and server restart, get errors on the extension.

14:13:07-847345 INFO Server will restart
14:13:10-901033 INFO Command line args: []
14:13:10-915046 INFO Available VAEs: path="models\VAE" items=6
14:13:10-920051 INFO Disabled extensions: []
14:13:10-932061 INFO Available models: path="models\Stable-diffusion" items=36 time=0.01
14:13:10-959086 INFO Extension: script='scripts\faceid.py' 14:13:10-956083 ERROR
FaceID: No module named 'insightface'
14:13:11-236338 INFO Extension: script='extensions-builtin\sd-webui-controlnet\scripts\hook.py' Warning: ControlNet
failed to load SGM - will use LDM instead.
14:13:12-114559 INFO Extension: script='extensions\adetailer\scripts!adetailer.py' [-] ADetailer initialized.
version: 24.1.0, num models: 9
14:13:12-135578 INFO Extension: script='extensions\sd-webui-prompt-all-in-one\scripts\on_app_started.py'
sd-webui-prompt-all-in-one background API service started successfully.
14:13:12-166606 ERROR Module load: extensions\tagger\scripts\tagger.py: ImportError
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ C:\Users\igor\automatic\modules\script_loading.py:25 in load_module │
│ │
│ 24 │ │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │
│ > 25 │ │ │ │ module_spec.loader.exec_module(module) │
│ 26 │ │ │ setup_logging() # reset since scripts can hijaack logging │
│ in exec_module:883 │
│ in _call_with_frames_removed:241 │
│ │
│ C:\Users\igor\automatic\extensions\tagger\scripts\tagger.py:5 in │
│ │
│ 4 from modules import script_callbacks # pylint: disable=import-error │
│ > 5 from tagger.api import on_app_started # pylint: disable=import-error │
│ 6 from tagger.ui import on_ui_tabs # pylint: disable=import-error │
│ │
│ C:\Users\igor\automatic\extensions\tagger\tagger\api.py:17 in │
│ │
│ 16 │
│ > 17 from tagger import utils # pylint: disable=import-error │
│ 18 from tagger import api_models as models # pylint: disable=import-error │
│ │
│ C:\Users\igor\automatic\extensions\tagger\tagger\utils.py:12 in │
│ │
│ 11 default_onnx_path = Path(models_path, 'TaggerOnnx') │
│ > 12 from tagger.preset import Preset # pylint: disable=import-error │
│ 13 from tagger.interrogator import Interrogator, DeepDanbooruInterrogator, \ │
│ │
│ C:\Users\igor\automatic\extensions\tagger\tagger\preset.py:8 in │
│ │
│ 7 from gradio.context import Context │
│ > 8 from modules.images import sanitize_filename_part # pylint: disable=E0401 │
│ 9 │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
ImportError: cannot import name 'sanitize_filename_part' from 'modules.images'
(C:\Users\igor\automatic\modules\images.py)
14:13:12-209645 INFO Extensions time: 1.27 { automatic=0.06 Lora=0.08 sd-webui-controlnet=0.10 adetailer=0.80
tagger=0.05 }
14:13:12-241674 INFO Load UI theme: name="black-teal" style=Dark base=sdnext.css
14:13:13-477799 INFO Available models: path="models\Stable-diffusion" items=36 time=0.01
14:13:15-064740 INFO Local URL: http://127.0.0.1:7860/
14:13:15-067743 INFO Initializing middleware
14:13:15-174839 INFO [AgentScheduler] Task queue is empty
14:13:15-176841 INFO [AgentScheduler] Registering APIs
14:13:17-008685 INFO Startup time: 164.81 { samplers=158.72 extensions=1.27 ui-extra-networks=0.27 ui-txt2img=0.10
ui-img2img=0.13 ui-settings=0.13 ui-extensions=1.72 ui-defaults=0.11 launch=0.31
app-started=1.93 }
14:13:18-960823 INFO MOTD: N/A
14:13:29-323744 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 YaBrowser/23.11.0.0 Safari/537.36
Advanced elements visible: False