AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.78k stars 26.49k forks source link

[Bug]: Failed to switch checkpoint model #9582

Closed CNMagicturtle closed 1 year ago

CNMagicturtle commented 1 year ago

Is there an existing issue for this?

What happened?

Failed to switch checkpoint model, Expecting value: line 1 column 1 (char 0) python: 3.10.9  •  torch: 1.13.1+cu117  •  xformers: 0.0.17+b6be33a.d20230312  •  gradio: 3.23.0  •  commit: [dae1bdff]

Steps to reproduce the problem

  1. open webui.bat
  2. switch checkpoint

What should have happened?

Expecting value: line 1 column 1 (char 0)

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/dae1bdff07caff98d1a7104cf7e063e75d163986

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

@echo off

set PYTHON="C:\Users\admin\AppData\Local\Programs\Python\Python310\python.exe"
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers
git pull
call webui.bat

List of extensions

C站助手(Civitai Helper)Stable-Diffusion-Webui-Civitai-Helper | https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git | 6d5a7d2b (Mon Mar 13 07:03:33 2023) | 未知unknown Tag自动补全a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git | 15538336 (Tue Mar 7 20:36:40 2023) | 未知unknown Deforumdeforum-for-automatic1111-webui | https://github.com/deforum-art/deforum-for-automatic1111-webui.git | ab8650a3 (Sat Mar 11 10:52:16 2023) | 未知unknown 3D OpenPose 编辑器插件(Posex)posex | https://github.com/hnmr293/posex.git | 233daf8e (Tue Mar 7 12:21:57 2023) | 未知unknown 可选附加网络(LoRA插件)sd-webui-additional-networks | https://github.com/kohya-ss/sd-webui-additional-networks.git | 486d012c (Sat Mar 11 12:48:45 2023) | 未知unknown 双语对照翻译插件sd-webui-bilingual-localization | https://github.com/journey-ad/sd-webui-bilingual-localization.git | 89074f04 (Sat Mar 11 03:22:26 2023) | 未知unknown ControlNet 插件sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | c9340671 (Sat Mar 11 01:01:43 2023) | 未知unknown sd-webui-mov2mov | https://github.com/Scholar01/sd-webui-mov2mov | c7a443c6 (Thu Mar 9 02:59:26 2023) | 未知unknown sd-webui-segment-anything | https://github.com/continue-revolution/sd-webui-segment-anything.git | 7036ca86 (Wed Apr 12 14:17:22 2023) | 未知unknown sd-webui-supermerger | https://github.com/hako-mikan/sd-webui-supermerger.git | 8310e1e9 (Mon Mar 6 03:34:57 2023) | 未知unknown 可自组 LoRAstable-diffusion-webui-composable-lora | https://github.com/opparco/stable-diffusion-webui-composable-lora.git | d4963e48 (Mon Feb 27 17:40:08 2023) | 未知unknown 简体中文语言包stable-diffusion-webui-localization-zh_CN | https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN | 02608e82 (Wed Mar 8 10:33:34 2023) | 未知unknown 潜变量成对(双人特写)stable-diffusion-webui-two-shot | https://github.com/opparco/stable-diffusion-webui-two-shot.git | 9936c52e (Sun Feb 19 08:40:41 2023) | 未知unknown Waifu Diffusion 1.4 标签器stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | 590c9a73 (Sun Feb 19 11:51:48 2023) | 未知unknown 通配符stable-diffusion-webui-wildcards | https://github.com/sdbds/stable-diffusion-webui-wildcards | 027b6a3b (Thu Mar 9 16:17:50 2023) | 未知unknown ultimate-upscale-for-automatic1111

Console logs

To create a public link, set `share=True` in `launch()`.
Startup time: 19.9s (import torch: 2.4s, import gradio: 1.1s, import ldm: 0.6s, other imports: 1.2s, load scripts: 1.3s, load SD checkpoint: 2.5s, create ui: 10.7s, gradio launch: 0.1s).

Additional information

No response

androidminds commented 1 year ago

I met the same issue today