HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Restormer: Efficient Transformer for High-Resolution Image Restoration

Zamir Syed Waqas ; Arora Aditya ; Khan Salman ; Hayat Munawar ; Khan Fahad Shahbaz ; Yang Ming-Hsuan

Restormer: Efficient Transformer for High-Resolution Image Restoration

Abstract

Since convolutional neural networks (CNNs) perform well at learninggeneralizable image priors from large-scale data, these models have beenextensively applied to image restoration and related tasks. Recently, anotherclass of neural architectures, Transformers, have shown significant performancegains on natural language and high-level vision tasks. While the Transformermodel mitigates the shortcomings of CNNs (i.e., limited receptive field andinadaptability to input content), its computational complexity growsquadratically with the spatial resolution, therefore making it infeasible toapply to most image restoration tasks involving high-resolution images. In thiswork, we propose an efficient Transformer model by making several key designsin the building blocks (multi-head attention and feed-forward network) suchthat it can capture long-range pixel interactions, while still remainingapplicable to large images. Our model, named Restoration Transformer(Restormer), achieves state-of-the-art results on several image restorationtasks, including image deraining, single-image motion deblurring, defocusdeblurring (single-image and dual-pixel data), and image denoising (Gaussiangrayscale/color denoising, and real image denoising). The source code andpre-trained models are available at https://github.com/swz30/Restormer.

Code Repositories

swz30/MIRNet
pytorch
Mentioned in GitHub
swz30/mirnetv2
pytorch
Mentioned in GitHub
swz30/restormer
Official
pytorch
Mentioned in GitHub
MKFMIKU/VIDM
pytorch
Mentioned in GitHub
swz30/CycleISP
pytorch
Mentioned in GitHub
txyugood/Restormer_Paddle
paddle
Mentioned in GitHub
GarrickZ2/Image-Denoising
pytorch
Mentioned in GitHub
prakashSidd18/blind_augmentation
pytorch
Mentioned in GitHub
leftthomas/restormer
pytorch
Mentioned in GitHub
HDCVLab/MC-Blur-Dataset
pytorch
Mentioned in GitHub
swz30/MPRNet
pytorch
Mentioned in GitHub
stephen0808/dnlut
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
color-image-denoising-on-kodak24-sigma50Restormer
PSNR: 30.01
color-image-denoising-on-urban100-sigma15-1Restormer
Average PSNR: 35.13
color-image-denoising-on-urban100-sigma50Restormer
PSNR: 30.02
deblurring-on-basedRestormer local
ERQAv2.0: 0.73875
LPIPS: 0.08251
PSNR: 31.12341
SSIM: 0.94217
Subjective: 0.1231
VMAF: 65.25911
deblurring-on-basedRestormer
ERQAv2.0: 0.74776
LPIPS: 0.08239
PSNR: 31.76111
SSIM: 0.94632
Subjective: 0.1175
VMAF: 66.3964
deblurring-on-goproRestormer
PSNR: 32.92
SSIM: 0.961
deblurring-on-hide-trained-on-goproRestormer
PSNR (sRGB): 31.22
Params (M): 26.13
SSIM (sRGB): 0.942
deblurring-on-realblur-j-trained-on-goproRestormer
PSNR (sRGB): 28.96
SSIM (sRGB): 0.879
deblurring-on-realblur-r-trained-on-goproRestormer
PSNR (sRGB): 36.19
SSIM (sRGB): 0.957
deblurring-on-rsblurRestormer
Average PSNR: 33.69
grayscale-image-denoising-on-bsd68-sigma15Restormer
PSNR: 31.96
grayscale-image-denoising-on-urban100-sigma15Restormer
PSNR: 33.79
grayscale-image-denoising-on-urban100-sigma25Restormer
PSNR: 31.46
grayscale-image-denoising-on-urban100-sigma50Restormer
PSNR: 28.29
image-deblurring-on-goproRestormer
PSNR: 32.92
Params (M): 26.13
SSIM: 0.961
image-denoising-on-dndRestormer
PSNR (sRGB): 40.03
SSIM (sRGB): 0.956
image-denoising-on-siddRestormer
PSNR (sRGB): 40.02
SSIM (sRGB): 0.960
single-image-deraining-on-rain100hRestormer
PSNR: 31.46
SSIM: 0.904
single-image-deraining-on-rain100lRestormer
PSNR: 38.99
SSIM: 0.978
single-image-deraining-on-test100Restormer
PSNR: 32.00
SSIM: 0.923
single-image-deraining-on-test1200Restormer
PSNR: 33.19
SSIM: 0.926
single-image-deraining-on-test2800Restormer
PSNR: 34.18
SSIM: 0.944
single-image-desnowing-on-csdRestormer
Average PSNR (dB): 35.43
spectral-reconstruction-on-arad-1kRestormer
MRAE: 0.1833
PSNR: 33.40
RMSE: 0.0274
video-deraining-on-vrdsRestormer
PSNR: 29.59
SSIM: 0.9206

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