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

realesrgan-x4plus 在 -s 2 参数下会有bug

Open lockmatrix opened this issue 2 years ago • 4 comments

版本0.2.5 window release 表现为输出图像是按tile随机拼成的。

lockmatrix avatar Jun 06 '22 03:06 lockmatrix

I have the same issue for the 0.2.5 windows ncnn release for all scalings (-s 2, 3, and 4).

keg247 avatar Jun 16 '22 23:06 keg247

I have the same problem. 4x scale works fine, but images look wrong using 2x scale.

Ktr4ks avatar Jul 15 '22 17:07 Ktr4ks

+1,我也遇到了同样的问题。

kanoroka avatar Jul 18 '22 01:07 kanoroka

I have this issue also. Using -s 2 for the x4plus models results in a tiled image

weebsplat avatar Aug 08 '22 21:08 weebsplat

Same issue here!

NayamAmarshe avatar Aug 18 '22 02:08 NayamAmarshe

Guys... It's called x4 for a reason... If you want to scale x2, you need to use a different model that allows this. If it's for anime videos, you can use realesr-animevideov3 as that supports 2x. Otherwise, use a custom model or just upscale 4x then downscale 2x afterwards manually.

TechnoMasterBoy avatar Aug 21 '22 09:08 TechnoMasterBoy

Guys... It's called x4 for a reason... If you want to scale x2, you need to use a different model that allows this.

You are right, Maybe the s parameter should be removed and automatically generated by the output size of the model

lockmatrix avatar Aug 25 '22 13:08 lockmatrix