by TheMiddleMan · 4y ago · 0 comments
Thought I'd share this for others interested. I've modified txt2img to save an image after each step. (actually quite easy as you can specify an img_callback to sampler)
Interestingly, both of these runs are using the same seed and prompt, yet they yield different final images, the only difference is the number of ddim sampling steps. I'd love to understand why if anyone has any idea.
Maybe it's doing something fancy with the total number of steps, beyond just stopping after the count is reached.
I may try understanding both StableDiffusion and Python enough to do it, but if you already solved it - that'll be appreciated :)
You could definitely modify it to output at each step, but the output step takes a relatively long time, so it would slow down the process.