HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

SwinFIR: Revisiting the SwinIR with Fast Fourier Convolution and Improved Training for Image Super-Resolution

Dafeng Zhang; Feiyu Huang; Shizhuo Liu; Xiaobing Wang; Zhezhu Jin

SwinFIR: Revisiting the SwinIR with Fast Fourier Convolution and Improved Training for Image Super-Resolution

Abstract

Transformer-based methods have achieved impressive image restoration performance due to their capacities to model long-range dependency compared to CNN-based methods. However, advances like SwinIR adopts the window-based and local attention strategy to balance the performance and computational overhead, which restricts employing large receptive fields to capture global information and establish long dependencies in the early layers. To further improve the efficiency of capturing global information, in this work, we propose SwinFIR to extend SwinIR by replacing Fast Fourier Convolution (FFC) components, which have the image-wide receptive field. We also revisit other advanced techniques, i.e, data augmentation, pre-training, and feature ensemble to improve the effect of image reconstruction. And our feature ensemble method enables the performance of the model to be considerably enhanced without increasing the training and testing time. We applied our algorithm on multiple popular large-scale benchmarks and achieved state-of-the-art performance comparing to the existing methods. For example, our SwinFIR achieves the PSNR of 32.83 dB on Manga109 dataset, which is 0.8 dB higher than the state-of-the-art SwinIR method.

Code Repositories

IMPLabUniPr/swin2-mose
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-super-resolution-on-bsd100-2x-upscalingSwinFIR
PSNR: 32.64
SSIM: 0.9054
image-super-resolution-on-bsd100-2x-upscalingHAT_FIR
PSNR: 32.71
image-super-resolution-on-bsd100-3x-upscalingHAT_FIR
PSNR: 29.6
image-super-resolution-on-bsd100-3x-upscalingSwinFIR
PSNR: 29.55
SSIM: 0.8169
image-super-resolution-on-bsd100-4x-upscalingHAT_FIR
PSNR: 28.07
image-super-resolution-on-bsd100-4x-upscalingSwinFIR
PSNR: 28.03
SSIM: 0.7520
image-super-resolution-on-manga109-2xHAT_FIR
PSNR: 40.77
image-super-resolution-on-manga109-2xSwinFIR
PSNR: 40.61
SSIM: 0.9816
image-super-resolution-on-manga109-3xHAT_FIR
PSNR: 35.92
image-super-resolution-on-manga109-3xSwinFIR
PSNR: 35.77
SSIM: 0.9563
image-super-resolution-on-manga109-4xHAT_FIR
PSNR: 33.03
image-super-resolution-on-manga109-4xSwinFIR
PSNR: 32.83
SSIM: 0.9314
image-super-resolution-on-set14-2x-upscalingHAT_FIR
PSNR: 35.17
image-super-resolution-on-set14-2x-upscalingSwinFIR
PSNR: 34.93
SSIM: 0.9276
image-super-resolution-on-set14-3x-upscalingSwinFIR
PSNR: 31.24
SSIM: 0.8566
image-super-resolution-on-set14-3x-upscalingHAT_FIR
PSNR: 31.37
image-super-resolution-on-set14-4x-upscalingHAT_FIR
PSNR: 29.44
image-super-resolution-on-set14-4x-upscalingSwinFIR
PSNR: 29.36
SSIM: 0.7993
image-super-resolution-on-set5-2x-upscalingSwinFIR
PSNR: 38.65
SSIM: 0.9633
image-super-resolution-on-set5-2x-upscalingHAT_FIR
PSNR: 38.74
image-super-resolution-on-set5-3x-upscalingHAT_FIR
PSNR: 35.21
image-super-resolution-on-set5-3x-upscalingSwinFIR
PSNR: 35.15
SSIM: 0.9330
image-super-resolution-on-urban100-2xSwinFIR
PSNR: 34.57
SSIM: 0.9473
image-super-resolution-on-urban100-2xHAT_FIR
PSNR: 34.94
image-super-resolution-on-urban100-3xSwinFIR
PSNR: 30.43
SSIM: 0.8913
image-super-resolution-on-urban100-3xHAT_FIR
PSNR: 30.77
image-super-resolution-on-urban100-4xHAT_FIR
PSNR: 28.43
image-super-resolution-on-urban100-4xSwinFIR
PSNR: 28.12
SSIM: 0.8393
stereo-image-super-resolution-on-flickr1024-1SwinFIRSSR
PSNR: 30.14
stereo-image-super-resolution-on-flickr1024-2SwinFIRSSR
PSNR: 24.29
stereo-image-super-resolution-on-kitti2012-2x-1SwinFIRSSR
PSNR: 31.79
stereo-image-super-resolution-on-kitti2012-2x-2SwinFIRSSR
PSNR: 31.79
stereo-image-super-resolution-on-kitti2012-4xSwinFIRSSR
PSNR: 27.16
stereo-image-super-resolution-on-kitti2015-4xSwinFIRSSR
PSNR: 26.89
stereo-image-super-resolution-on-middleburySwinFIRSSR
PSNR: 30.44

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp