acheong08 / Diffusion-ColabUI

Choose your diffusion models and spin up a WebUI on Colab in one click
Apache License 2.0
421 stars 62 forks source link

Results disappearing #87

Closed Enferlain closed 1 year ago

Enferlain commented 1 year ago

After the progress bar loads the generated picture disappears and it only shows

image

Can't be downloaded even if I go on save below.

Any idea how to fix?

acheong08 commented 1 year ago

Gradio bug + bad internet.

I can't fix this

Enferlain commented 1 year ago

raceback (most recent call last): File "/content/stable-diffusion-webui/modules/call_queue.py", line 56, in f res = list(func(*args, *kwargs)) File "/content/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(args, **kwargs) File "/content/stable-diffusion-webui/modules/img2img.py", line 148, in img2img processed = process_images(p) File "/content/stable-diffusion-webui/modules/processing.py", line 476, in process_images res = process_images_inner(p) File "/content/stable-diffusion-webui/modules/processing.py", line 618, in process_images_inner devices.test_for_nans(x, "vae") File "/content/stable-diffusion-webui/modules/devices.py", line 136, in test_for_nans raise NansException(message) modules.devices.NansException: A tensor with all NaNs was produced in VAE. This could be because there's not enough precision to represent the picture. Try adding --no-half-vae commandline argument to fix this.

acheong08 commented 1 year ago

Use image history tab

acheong08 commented 1 year ago

modules.devices.NansException: A tensor with all NaNs was produced in VAE. This could be because there's not enough precision to represent the picture. Try adding --no-half-vae commandline argument to fix this.

Try disabling VAE.

Enferlain commented 1 year ago

Seems like it's gradio again. Thanks

qwertea commented 1 year ago

Use the commandline argument --gradio-queue to fix it.

acheong08 commented 1 year ago

Use the commandline argument --gradio-queue to fix it.

What does that do?

qwertea commented 1 year ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/6898

It's a temporary fix for the gradio problem; the option will be on by default later on.