Which super resolution show? RealESRGAN and SwinIR image quality and speed comparison
Which one is better?
A real super-resolution model that scales up images and makes them clearer.
It’s difficult to choose which super-resolution model is better.
I compared the following two that are relatively popular.
RealESRGAN
SwinIR
Both are good models though.
comparison
Comparison of RealESRGAN_x4plus and SwinIR-M_x4_GAN.
64×64 → 256×256
128×128 → 512×512
256×256 → 1024×1024
512×512 → 2048×2048
result
In terms of speed, RealESRGAN is 3–5 times faster than SwinIR
, and the image quality is difficult to judge, but I thought that SwinIR tends to make images sharper (for better or for worse).
execution script
RealESRGAN
python inference_realesrgan.py -n RealESRGAN_x4plus -i input --outscale 4
SwinIR
python main_test_swinir.py --task real_sr --scale 4 --model_path model_zoo/
🐣
I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com
I am creating applications using machine learning and AR technology.
I send machine learning / AR related information.