Replies: 3 comments 6 replies
-
Did you ever find an explanation for this? |
Beta Was this translation helpful? Give feedback.
-
I was curious about this too. I'm pretty sure "SD upscale" is just what it looks like: img2img each tile, then blend them back together, so it can work with arbitrary image sizes (just more independant tiles) but denoising strength has to be very low or the tiles won't line up. You could do this manually (tediously) by upscaling the image, breaking it into slightly overlapping tiles, running img2img on each tile, then blending the tiles back together. "Hires Fix" is less obvious. It seems similar to taking the low-res image, upscaling it (at least for the non-latent upscale modes), and putting the result in img2img, but if I do that manually the results are very different, and hires fix gives better results (it seems less likely to mutate the image incorrectly). Hires fix also says it's operating on tiles on the console, which a simple high-res img2img doesn't, though hires fix still OOMs quickly for me so I'm not sure what's actually being processed in tiles. I guess I should spend a bit of time poking at the code and seeing what's actually happening, but at least as far as initial upscales go, hires fix is definitely better. "SD upscale" does have some benefits: it isn't VRAM-limited like hires fix (where I OOM if I go beyond around 768x768 x2), and it works on existing images where hires fix only works during image generation. |
Beta Was this translation helpful? Give feedback.
-
From what I got. And I could be wrong. Txt2Img Highrez fix performs the Upscaling in latent space without converting to pixel space. Img2Img converts pixels to latent. |
Beta Was this translation helpful? Give feedback.
-
Reddit posts on this question are not at all clear or informative. According to the docs they both split into tiles and then use SD on the upscaled tiles, but they behave very differently.
SD Upscale can leave obvious areas where it's crossfading between the tiles, which I never really notice in Highres fix.
Highres fix tends to duplicate faces across the whole image, whereas SD Upscale seems to, at a minimum, generate different faces in each tile.
So presumably they must be doing very different things under the hood to be able to have such different effects.
Beta Was this translation helpful? Give feedback.
All reactions