Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are blank #26

Open
daltonrooney opened this issue Sep 12, 2022 · 14 comments
Open

Images are blank #26

daltonrooney opened this issue Sep 12, 2022 · 14 comments

Comments

@daltonrooney
Copy link

I tried a text -> image prompt using the standard image settings, the image generated but is just a solid black PNG. Let me know where to find the logs and I will upload them. 14" Macbook Pro M1 with 16GB of RAM.

@ee0pdt
Copy link

ee0pdt commented Sep 12, 2022

I suspect the NSFW filter is still on. Check your prompts

@BrianGilbert
Copy link

I get random black PNG's as well, on prompts that don't have any hint of NSFW

@daltonrooney
Copy link
Author

It’s working for me if I reduce the images to 256px. Maybe a memory issue? I knew I should have gone for 64GB! 😭

@drewlustro
Copy link

Happens every other generation for me. Just try again!

@ee0pdt
Copy link

ee0pdt commented Sep 13, 2022

@daltonrooney I'm on 14" Macbook Pro M1 Max with 16GB of RAM and it works fine at 512 x 512. Doubt it's a memory issue.

Might be worth quitting all other apps and/or restarting your machine to see if it helps

@isbkch
Copy link

isbkch commented Sep 13, 2022

MBP 16" M1 Max with 32 GB of RAM on MacOS 12.6 and I still get black PNGs once in a while

@harryshawk
Copy link

I got a black image today as well.

@victorbasu94
Copy link

I'm getting black images now too. NSFW filter isn't on - I've validated that

@elbowdonkey
Copy link

When I've seen this happen, it's usually when DiffusionBee is in the background and I'm doing something somewhat CPU heavy. I've not yet tried to tease apart why it happens, but that part at least feels consistent.

@hellbox
Copy link

hellbox commented Sep 15, 2022

I've also seen this behavior at what seems like random times (2021 16" M1 MBP / 16gb). If I rerun the prompt it always works the second time, and the inputs were relatively benign so I doubt NSFW filter.

@elbowdonkey
Copy link

I just found this issue for another M1 capable fork of stable diffusion - might explain the black images.

@hellbox fancy meeting you here.

@Birch-san
Copy link

Birch-san commented Sep 18, 2022

no, the "black images from k-diffusion" bug is different (it happened 100% of the time, not sporadically).

sporadic black images is something I'm aware of (which I noticed on PLMS sampler, at high numbers of steps):
invoke-ai/InvokeAI#517 (comment)
but haven't investigated, because the problem never happens to me any more. I use low step counts (e.g. 8), and k-diffusion samplers.

you can get good results in as few as 7 steps if you use the right sampler and noise schedule:
https://twitter.com/Birchlabs/status/1564792349221330944

@masaldana2
Copy link

Screenshot 2022-09-22 at 9 05 45 PM

this I all I get every time

@ProStrike-hub
Copy link

I also have the same problem every time, even when I decrease steps to 10... So I doubt this is because of my computer's performance.

Couldn't locate this NSFW filter you're talking about.

Anyone has a fix please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests