divamgupta / diffusionbee-stable-diffusion-ui

Diffusion Bee is the easiest way to run Stable Diffusion locally on your M1 Mac. Comes with a one-click installer. No dependencies or technical knowledge needed.
https://diffusionbee.com
GNU Affero General Public License v3.0
12.41k stars 609 forks source link

Images are blank #26

Open daltonrooney opened 2 years ago

daltonrooney commented 2 years ago

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 commented 2 years ago

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

BrianGilbert commented 2 years ago

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

daltonrooney commented 2 years ago

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 commented 2 years ago

Happens every other generation for me. Just try again!

ee0pdt commented 2 years ago

@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 commented 2 years ago

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

harryshawk commented 2 years ago

I got a black image today as well.

victorbasu94 commented 2 years ago

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

elbowdonkey commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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): https://github.com/lstein/stable-diffusion/issues/517#issuecomment-1247957779
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 commented 1 year ago
Screenshot 2022-09-22 at 9 05 45 PM

this I all I get every time

ProStrike-hub commented 1 year ago

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?