Real-ESRGAN icon indicating copy to clipboard operation
Real-ESRGAN copied to clipboard

Upsclae ration being less than or more than 4 causes "checkerboarding"

Open BunE-exe opened this issue 2 years ago • 4 comments

Hello, I wanted to upscale an image by 2 instead of 4 (which is too large, to be honest), but it causes the image to "checkerboard" if the upscale ratio is less than or more than 4:

Original image: Original

Upscale ratio 3: Scale 3

Upscale ratio 5: Scale 5

Also to enable TTA mode I just have to type "-x" and nothing else? Also what and how does title-size work and affect the image?

BunE-exe avatar Sep 13 '22 01:09 BunE-exe

If you're using a 4x model, you're not supposed to change the scaling to anything else than 4x. If you want something else than 4x, either use a different model or modify it.

TechnoMasterBoy avatar Sep 15 '22 09:09 TechnoMasterBoy

Where do I find 2x, 8x, etc.?

BunE-exe avatar Sep 15 '22 10:09 BunE-exe

Where do I find 2x, 8x, etc.?

You won't find any official ones, but you can find custom models here: https://upscale.wiki/wiki/Model_Database But that requires you to mess with python unless you convert it. The easiest method would be to just stick to 4x then put it through the 4x again if you want bigger. Or if you want smaller or a specific size, then you can downscale it with something like ffmpeg.

TechnoMasterBoy avatar Sep 15 '22 12:09 TechnoMasterBoy

You won't find any official ones, but you can find custom models here: https://upscale.wiki/wiki/Model_Database But that requires you to mess with python unless you convert it. The easiest method would be to just stick to 4x then put it through the 4x again if you want bigger. Or if you want smaller or a specific size, then you can downscale it with something like ffmpeg.

The problem for me is that I run out of ram doing that with larger images. I can't believe there's no 2x model.

slymeasy avatar Oct 15 '22 18:10 slymeasy