HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Simple Baselines for Image Restoration

Liangyu Chen; Xiaojie Chu; Xiangyu Zhang; Jian Sun

Simple Baselines for Image Restoration

Abstract

Although there have been significant advances in the field of image restoration recently, the system complexity of the state-of-the-art (SOTA) methods is increasing as well, which may hinder the convenient analysis and comparison of methods. In this paper, we propose a simple baseline that exceeds the SOTA methods and is computationally efficient. To further simplify the baseline, we reveal that the nonlinear activation functions, e.g. Sigmoid, ReLU, GELU, Softmax, etc. are not necessary: they could be replaced by multiplication or removed. Thus, we derive a Nonlinear Activation Free Network, namely NAFNet, from the baseline. SOTA results are achieved on various challenging benchmarks, e.g. 33.69 dB PSNR on GoPro (for image deblurring), exceeding the previous SOTA 0.38 dB with only 8.4% of its computational costs; 40.30 dB PSNR on SIDD (for image denoising), exceeding the previous SOTA 0.28 dB with less than half of its computational costs. The code and the pre-trained models are released at https://github.com/megvii-research/NAFNet.

Code Repositories

megvii-research/TLC
pytorch
Mentioned in GitHub
megvii-research/NAFNet
Official
pytorch
Mentioned in GitHub
setsunil/dsdnet
pytorch
Mentioned in GitHub
dhryougit/afm
pytorch
Mentioned in GitHub
dhryougit/learning-to-translate-noise
pytorch
Mentioned in GitHub
dslisleedh/NAFNet-tensorflow2
tf
Mentioned in GitHub
megvii-research/tlsc
pytorch
Mentioned in GitHub
dslisleedh/NAFNet-flax
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
deblurring-on-basedNAFNet (REDS)
ERQAv2.0: 0.74508
LPIPS: 0.08561
PSNR: 30.54803
SSIM: 0.95035
Subjective: 2.8405
VMAF: 66.85941
deblurring-on-goproNAFNet
PSNR: 33.69
SSIM: 0.967
image-deblurring-on-goproNAFNet - TLC
PSNR: 33.69
Params (M): 67.89
SSIM: 0.967
image-denoising-on-siddNAFNet
PSNR (sRGB): 40.30
SSIM (sRGB): 0.961
single-image-desnowing-on-csdNAFNet
Average PSNR (dB): 35.13

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
Simple Baselines for Image Restoration | Papers | HyperAI