AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: Can't display image after generation completed #9843

Open a0055662211 opened 1 year ago

a0055662211 commented 1 year ago

Is there an existing issue for this?

What happened?

My stable diffusion CAN generate image and display the process of generating. However, if I change my resolution (upscale, especially) or increase my sampling step, sometimes using other sampling method other than Euler a, I can't get the final image on the preview display, nor can I see the prompts list under the display or the seed number.

The image is generated and saved to files.

I've tried to uninstall the extensions, the problems remains and only happens to version 22bcc7be.

After the problem occured, UI errors would happen more frequently.

Steps to reproduce the problem

After I installed several extensions and reboot my PC. The problem occured. I've tried reinstalled SD and extensions I've used, the problem didn't occur. Restart SD, still safe. Reboot, again. The extensions I've downloaded are civital and auto-translater.

What should have happened?

the final image should be displayed on UI with contents of it below.

Commit where the problem happens

22bcc7be

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

No

List of extensions

https://ghproxy.com/https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper https://ghproxy.com/https://github.com/hyd998877/stable-diffusion-webui-auto-translate-language.git

Console logs

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI

Launching Web UI with arguments: --xformers --no-half-vae --autolaunch --api

Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: E:\ai\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
[AddNet] Updating model hashes...

[AddNet] Updating model hashes...

ControlNet v1.1.101
ControlNet v1.1.101
Loading weights [4f9ac8e7e1] from E:\ai\models\Stable-diffusion\123.ckpt
Creating model from config: E:\ai\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(6): bad-picture-chill-75v, badhandv4, EasyNegative, ng_deepnegative_v1_75t
Model loaded in 5.2s (load weights from disk: 1.4s, create model: 0.7s, apply weights to model: 0.5s, apply half(): 0.6s, move model to device: 0.8s, load textual inversion embeddings: 1.2s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 33.0s (import torch: 3.0s, import gradio: 1.9s, import ldm: 0.8s, other imports: 2.9s, setup codeformer: 0.1s, load scripts: 14.8s, load SD checkpoint: 5.3s, create ui: 3.2s, gradio launch: 0.8s, scripts app_started_callback: 0.1s).

Additional information

No response

a0055662211 commented 1 year ago

Forgot to mention: After I successfully generate a display image with default settings and change the sampling setting, the final image will always remain the same image after the generation finished.

WesleyNery commented 1 year ago

I've got the same problem. Maybe it's that civitai extension?

a0055662211 commented 1 year ago

nah, likely not. I downloaded civitai right after reinstalled. Not until I downloaded other did the bug occured

pandafeeeder commented 1 year ago

Some extensions may cause this problem, I deleted the env folder, and solved the problem.

a0055662211 commented 1 year ago

Some extensions may cause this problem, I deleted the env folder, and solved the problem.

And where shall I find this folder? Thx

sirboblord commented 1 year ago

Some extensions may cause this problem, I deleted the env folder, and solved the problem.

so just uninstall all the extensions? or is folder deletion the only way. and its the Venv folder

sirboblord commented 1 year ago

And it didnt work for me at all

iconnoci commented 1 year ago

--no-gradio-queue After I added this command line parameter, the picture is displayed normally

hfchensq1 commented 1 year ago

--no-gradio-queue After I added this command line parameter, the picture is displayed normally

i encountered the same problem when i upgrade gradio to a newer version,i am sure this problem has something to do with gradio.

a0055662211 commented 1 year ago

okay pretty sure it's autotranslater extension's fault. But the question is: How can I fix this bug without reinstalling webui?