stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Unable to Display Generated Images on the Page
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I have generated some images, but they are not appearing on the page. However, I can locate these generated images in the outputs folder of the project. Interestingly, when I switch to the version from mid-March, the generated images are displayed correctly. I would like to understand why the images are not being displayed with the current version and find a solution to this issue.
Steps to reproduce the problem
Every time I generate an image, this happens.
What should have happened?
The images are not appearing on the page. However, I can locate these generated images in the outputs folder of the project.
Commit where the problem happens
version: v1.2.1 • python: 3.10.6 • torch: 2.0.1+cu118 • xformers: 0.0.17 • gradio: 3.29.0
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome, Microsoft Edge
Command Line Arguments
No
List of extensions
sd-webui-3d-open-pose-editor sd-webui-controlnet sd_dreambooth_extension
Console logs
venv "D:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
Installing requirements
If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Successfully installed fastapi-0.94.1 gitpython-3.1.31 requests-2.31.0 transformers-4.26.1
Does your project take forever to startup?
Repetitive dependency installation may be the reason.
Automatic1111's base project sets strict requirements on outdated dependencies.
If an extension is using a newer version, the dependency is uninstalled and reinstalled twice every startup.
[+] xformers version 0.0.17 installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
ControlNet v1.1.189
ControlNet v1.1.189
Loading weights [da5224a242] from D:\stable-diffusion-webui\models\Stable-diffusion\aZovyaRPGArtistTools_v2.safetensors
Creating model from config: D:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 2.2s (load weights from disk: 0.1s, create model: 0.2s, apply weights to model: 0.6s, apply half(): 0.4s, move model to device: 0.3s, load textual inversion embeddings: 0.7s).
Create LRU cache (max_size=16) for preprocessor results.
Create LRU cache (max_size=16) for preprocessor results.
CUDA SETUP: Loading binary D:\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll...
Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSB
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Create LRU cache (max_size=16) for preprocessor results.
Startup time: 7.8s (import torch: 2.1s, import gradio: 0.5s, import ldm: 0.3s, other imports: 0.6s, load scripts: 3.5s, create ui: 0.7s).
Total progress: 0it [00:00, ?it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 30/30 [00:05<00:00, 5.62it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 30/30 [00:18<00:00, 1.65it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 60/60 [00:28<00:00, 2.13it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 60/60 [00:28<00:00, 1.67it/s]
Additional information
No response
same
+1
Hello, maybe it's stupid, but have you enabled live previews?
Hello, maybe it's stupid, but have you enabled live previews?
i have checked it and with the same settings the same problem nothing changed 💔
I found the problem on my environment. In order to save hard disk space, I linked the outputs from the SSD disk project to the mechanical hard disk through mklink /j. I don't have this bug when I recreate a folder without using links
Same problem
The same question: The generated image cannot be displayed in preview after generation, but it exists in the folder. In the preview process of generation, the image can be seen, but it cannot be displayed in the final step. Images with a default size of 512 can be displayed, but as soon as the value is increased, even if it is increased to 600, the final generated image cannot be displayed in preview. The issue was not present in the version from week 8, specifically February 20th, but it appears after upgrading to the latest version.
i tried to figure it out since it happened to me but reinstalling the main stable diffusion webui in a new folder and cut and replace it with the existing files that have the problem and it solved the problem.
I resolved this issue by reinstalling the web UI
