text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

SD image generation extension not producing good images

Open hsiegersma opened this issue 1 year ago • 4 comments

Describe the bug

When running the sd image generation extension the images generated are very badly generated with all kinds of artifacts and such, no complete generation basically. When using the exact same settings in the stable diffusion webui itself i get perfect generations without any artifacts or uncompleteness at all, what is the problem here ?

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

Dont know if this is reproducable on another system

Screenshot

No response

Logs

Not getting any errors

System Info

OS: Windows 10 pro
GPU: Nvidia RTX A5000 + Nvidia RTX A5000

hsiegersma avatar May 10 '24 17:05 hsiegersma

What is the "sd image generation extension"?? And providing some screenshots would be helpful.

Woisek avatar May 11 '24 23:05 Woisek

Run Stable Diffusion with --api-log so you can see what the calls look like on it's end. I found an issue where sometimes TGW appears to have a setting in the form that hasn't actually registered, so it looks like I've set it to "42" passes, and it's actually set to "2". Typing the number in again, and pressing return, did get that resolved, so that it shows up on Stable Diffusion's side, and the images look appropriate.

nktice avatar May 12 '24 10:05 nktice

I tried with Comfyui. Set the all same parameter include seeds, cfg scale, step. After tried several images, it is significantly worst than generated image from Comfyui own webui.

tomudo avatar May 14 '24 02:05 tomudo

What is the "sd image generation extension"?? And providing some screenshots would be helpful. This is likely the extension that's referenced as it's the default... https://github.com/oobabooga/text-generation-webui/tree/main/extensions/sd_api_pictures

nktice avatar May 14 '24 17:05 nktice