forward pass differences between "basic" img2img and img2img "alternative" script #4281
-
Hi, I would like to better understand the difference between the following 3 flavors of img2img :
The latter (img2img alt) goes through N steps of progressive (latent) noise addition in order to recover back the noisy latent, thanks to some reversed sampler (currently, only reversed Euler is available). About basic img2img, I wonder why it doesn't also goes through the N steps of iterative noise addition as in the "alternative" script ? If I understood well the information provided in this summary , and on wikipedia :
So why does basic img2img is so fast compared to img2img alternative at computing iteratively noisy latent during the forward pass ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
At the beginning (noise=0) its the original image, at the other end of the scale its a pure gaussian(noise=1). And the forward process can jump to any noise-level in 1step. There is no need to calculate noise level 0.01, 0.02.. just go for the 0.8 in one step. img2imgalt needs to go back the ladder step by step. Because it has no easy gaussian to aim for. Its looking to find the original one.. |
Beta Was this translation helpful? Give feedback.
At the beginning (noise=0) its the original image, at the other end of the scale its a pure gaussian(noise=1).
And the forward process can jump to any noise-level in 1step. There is no need to calculate noise level 0.01, 0.02.. just go for the 0.8 in one step.
img2imgalt needs to go back the ladder step by step. Because it has no easy gaussian to aim for. Its looking to find the original one..