AlUlkesh / sd_save_intermediate_images

Save intermediate images during the sampling process
The Unlicense
113 stars 17 forks source link

img2img inter-images resolution wrong #35

Open JackeyDeng opened 1 year ago

JackeyDeng commented 1 year ago

Hello, I am using StableDiffusion WebUI to do 1X SR, my input image is 512 512, but when I save intermediate images, its resolution is 128 128, when I click "Also save final image with intermediates" , the last image is 512 512, but intermediate images are still 128 128, is my settings wrong? 2023-08-31 18-10-14 的屏幕截图

AlUlkesh commented 1 year ago

Yes, the reason is probably what this remark in the readme refers to:

Please be aware that Image creation progress preview mode in the webui's settings affects how and especially at what size the intermediate images are created.

Try setting your preview mode to "Full".

JackeyDeng commented 1 year ago

Thanks, it works if I set the preview mode to "Full" 2023-09-01 15-19-38 的屏幕截图 But it does not support DDIM, which file should I modify to support DDIM? I think its almost the same to get DDIM intermediate images, just to decode the intermediate latents?

AlUlkesh commented 1 year ago

When I made that extension, that just wasn't possible with the a1111 infrastructure. You could only get that information from the kdiffusion samplers.

However, I just saw this in the new a1111 release notes:

rework DDIM, PLMS, UniPC to use CFG denoiser same as in k-diffusion samplers

So, perhaps it is possible now. I'll have to look into it.