AlUlkesh / sd_save_intermediate_images

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

Are there any ways to save intermediate images at 512*512? #31

Open TakutoNamba opened 1 year ago

TakutoNamba commented 1 year ago

I'd appreciate if you have any ideas how you could do it! (Also how exactly does Image creation progress preview mode affect their size?)

AlUlkesh commented 1 year ago

Well, I could implement a scaling option. But what is your use case? Do you really want 512x512 or rather the larger side be 512 and the smaller side sized accordingly? So for example a 1536x768 would become a 512x256.

AlUlkesh commented 1 year ago

As for the preview mode. If for example you set any of the lower quality, faster preview options:

image

then the intermediates would also be of this lower quality.

ComproLoper commented 1 year ago

As for the preview mode. If for example you set any of the lower quality, faster preview options:

image

then the intermediates would also be of this lower quality.

This was it for me, setting it to "Full" saves the preview images at their full size, thanks!

TakutoNamba commented 1 year ago

@AlUlkesh Ohhh didn't realize that option, and now it is working as I wanted. Thank you for the tip!

rbfussell commented 1 year ago

What you should do is poll the setting and redtext in the menu a warning if it is set below full. Don't not work, but make it clear that they need to adjust it in 99% of the cases.

CVL1971 commented 1 year ago

When using the batch option of imgToimg, it seems that there is some kind of name conflict, the result is that after each generation of an image, when moving to the next one, the new intermediate images replace and delete the old ones. It would be very interesting to keep the original behavior, one folder for each generation since all the batch images go to the same folder.