Andrew Ryan 358a8628f6 Add latent upscale option to img2img
Recently, the option to do latent upscale was added to txt2img highres
fix. This feature runs by scaling the latent sample of the image, and
then running a second pass of img2img.

But, in this edition of highres fix, the image and parameters cannot be
changed between the first pass and second pass. We might want to do a
fixup in img2img before doing the second pass, or might want to run the
second pass at a different resolution.

This change adds the option for img2img to perform its upscale in latent
space, rather than image space, giving very similar results to highres
fix with latent upscale.  The result is not exactly the same because
there is an additional latent -> decoder -> image -> encoder -> latent
that won't happen in highres fix, but this conversion has relatively
small losses
2022-12-08 07:09:09 +00:00
..
2022-09-05 23:08:06 +03:00
2022-12-03 18:06:33 +03:00
2022-11-17 00:08:21 -05:00
2022-12-03 18:06:33 +03:00
2022-09-07 12:32:28 +03:00
2022-12-03 18:45:51 +03:00
2022-12-03 18:06:33 +03:00
2022-11-11 21:14:10 +07:00
2022-11-26 16:10:46 +03:00
2022-10-19 11:52:12 +03:00
2022-12-03 18:16:19 +03:00
2022-11-19 15:20:07 +07:00
2022-12-03 18:06:33 +03:00
2022-12-03 18:06:33 +03:00
2022-12-08 07:09:09 +00:00