Command Palette
Search for a command to run...
Liangyu Chen; Xiaojie Chu; Xiangyu Zhang; Jian Sun

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
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| deblurring-on-based | NAFNet (REDS) | ERQAv2.0: 0.74508 LPIPS: 0.08561 PSNR: 30.54803 SSIM: 0.95035 Subjective: 2.8405 VMAF: 66.85941 |
| deblurring-on-gopro | NAFNet | PSNR: 33.69 SSIM: 0.967 |
| image-deblurring-on-gopro | NAFNet - TLC | PSNR: 33.69 Params (M): 67.89 SSIM: 0.967 |
| image-denoising-on-sidd | NAFNet | PSNR (sRGB): 40.30 SSIM (sRGB): 0.961 |
| single-image-desnowing-on-csd | NAFNet | 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.