stablediffusion吧 关注:27,859贴子:96,495
  • 15回复贴,共1

1.6版本两个错误,大神帮忙看看

只看楼主收藏回复

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Launching Web UI with arguments: --medvram --theme dark --xformers --api --autolaunch
*** Error running preload() for E:\sd-webui-aki-v4.3\extensions\stable-diffusion-webui-wd14-tagger\preload.py
Traceback (most recent call last):
File "E:\sd-webui-aki-v4.3\modules\script_loading.py", line 26, in preload_extensions
module = load_module(preload_script)
File "E:\sd-webui-aki-v4.3\modules\script_loading.py", line 10, 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 "E:\sd-webui-aki-v4.3\extensions\stable-diffusion-webui-wd14-tagger\preload.py", line 4, in <module>
from modules.shared import models_path
ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (E:\sd-webui-aki-v4.3\modules\shared.py)
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
---
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[AddNet] Updating model hashes...
[AddNet] Updating model hashes...
2023-09-07 18:54:58,428 - ControlNet - INFO - ControlNet v1.1.312
ControlNet preprocessor location: E:\sd-webui-aki-v4.3\extensions\sd-webui-controlnet\annotator\downloads
2023-09-07 18:54:58,849 - ControlNet - INFO - ControlNet v1.1.312
*** Error loading script: tagger.py
Traceback (most recent call last):
File "E:\sd-webui-aki-v4.3\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\sd-webui-aki-v4.3\modules\script_loading.py", line 10, 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 "E:\sd-webui-aki-v4.3\extensions\stable-diffusion-webui-wd14-tagger\scripts\tagger.py", line 5, in <module>
from tagger.ui import on_ui_tabs
File "E:\sd-webui-aki-v4.3\extensions\stable-diffusion-webui-wd14-tagger\tagger\ui.py", line 10, in <module>
from webui import wrap_gradio_gpu_call
ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (E:\sd-webui-aki-v4.3\webui.py)
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
---
Loading weights [7f96a1a9ca] from E:\sd-webui-aki-v4.3\models\Stable-diffusion\anything-v5-PrtRE.safetensors
Creating model from config: E:\sd-webui-aki-v4.3\configs\v1-inference.yaml
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 62.3s (prepare environment: 15.9s, import torch: 10.5s, import gradio: 15.4s, setup paths: 3.8s, initialize shared: 1.0s, other imports: 4.5s, setup codeformer: 0.5s, load scripts: 8.1s, create ui: 1.8s, gradio launch: 0.7s, add APIs: 0.2s, app_started_callback: 0.1s).
Loading VAE weights specified in settings: E:\sd-webui-aki-v4.3\models\VAE\animevae.pt
Applying attention optimization: xformers... done.
Model loaded in 13.7s (load weights from disk: 2.0s, create model: 1.8s, apply weights to model: 4.3s, apply half(): 0.2s, load VAE: 1.7s, calculate empty prompt: 3.5s).


IP属地:河南1楼2023-09-07 19:00回复
    先去扩展更新,然后重进看看问题在不在,还在就排查一下更新前最后的插件改动情况,先去扩展加载去勾选,找出问题,插件冲突是常态,像dreambooth就问题一大堆,不装一切安好,装修前先备份一个压缩包,出了问题回滚省心


    IP属地:广东来自Android客户端2楼2023-09-09 06:26
    回复
      哥们,解决了吗??


      IP属地:广东3楼2023-09-10 09:04
      回复
        自从更新了1.6版本以后,是各种各样的报错,今天插件冲突,明天语法错误不支持,体验极差,是秋叶包专属问题还是其他的安装方式也一样?


        IP属地:江西4楼2023-09-10 10:11
        回复
          出问题的大部分原因是扩展插件的问题


          IP属地:山东5楼2023-10-05 23:27
          回复
            确定是扩展插件的问题,我把扩展插件都更新到最新版本,和楼主同样的问题就都解决了


            IP属地:广东6楼2023-10-25 18:09
            回复
              webui代码改了,wd14-tagger要修改下ui.py和preload.py这2个文件,在这个插件目录下你自己找文件吧



              IP属地:福建7楼2023-11-17 05:18
              收起回复
                上面的老哥这是程序员呀。


                IP属地:广东8楼2024-02-15 09:13
                回复