xinntao / Real-ESRGAN-ncnn-vulkan

NCNN implementation of Real-ESRGAN. Real-ESRGAN aims at developing Practical Algorithms for General Image Restoration.
https://github.com/xinntao/Real-ESRGAN
Other
1.46k stars 182 forks source link

Image tiles strangely merge #39

Closed zetyquickly closed 1 year ago

zetyquickly commented 1 year ago

Hello,

Using v0.2.0 build on Ubuntu with realesrgan-x4plus weights and see the following result

download

Why the tiles are merging the wrong way?

zetyquickly commented 1 year ago

This happens with JPG upscaling to -f PNG. If its -f JPG then it went ok

zetyquickly commented 1 year ago

duplicate of https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/issues/19

AlphaHasher commented 1 year ago

This happens because you are using a model only designed for 4x scaling. Scale the image down to the size you want

zetyquickly commented 1 year ago

That works too