vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.51k stars 402 forks source link

[Issue]: Images not showing in preview #305

Closed west1778 closed 1 year ago

west1778 commented 1 year ago

Issue Description

I'm a bit of a newb when it comes to why something isn't happening but when I generate an image it will show the preview in the preview window for a second but then goes to blank if I click on the show button it shows the image in the folder that opens but nothing on the image preview window.

Version Platform Description

Version: 752b91d3 Thu Apr 20 12:29:54 2023 -0400

Windows 11 Insider Preview 10.0.22624.1391 (ni_release)

Tried two different browsers, Opera GX - LVL 4 (core: 97.0.4719.84) & Chromium Version 114.0.5704.0 (Developer Build) (64-bit)

Gopikanta501 commented 1 year ago

Thank you for your swift reply.

I refer to the same bug/issue that was mentioned at the top of this thread.

"Issue Description I'm a bit of a newb when it comes to why something isn't happening but when I generate an image it will show the preview in the preview window for a second but then goes to blank if I click on the show button it shows the image in the folder that opens but nothing on the image preview window."

I have the same or at least a very similar problem. When I attempt to generate, the 'generation' appears in the preview window, but when finished generating the preview disappears. It is available in the 'Output' folder, but it doesn't remain in the preview window.

If I try to 'drag and drop' a photo into that same preview window it just disappears.

Perhaps I missed the solution given somewhere on the page, perhaps you could point the solution out. Thanks again for your help.

vladmandic commented 1 year ago

@Gopikanta501 your issue has nothing to do with one discussed here - you have working previews, but final step goes blank. this is very common issue in different setups and environments, search for "black images".

If I try to 'drag and drop' a photo into that same preview window it just disappears.

this doesn't exist. where did you get the idea that you can drag and drop a photo into preview window.

Gopikanta501 commented 1 year ago

@vladmandic sorry to take up your time. The Output folder is not full of black images. The images as they appear in the preview window during generation are completed. They're just not staying in the preview window after completion (as I presume they should, and in fact they did when I first installed the programme). Thanks again for your help.

vladmandic commented 1 year ago

ah, thats totally different. and still not related to issue here at all. delete config.json and ui-config.json to start fresh and if problem persists, create a new issue.

Gopikanta501 commented 12 months ago

@vladmandic Thank you for your help. Your advice was perfect. Everything back to normal. Thanks again.