Navigate:
All ReposNAFNet
~$NAFNET0.1%

NAFNet: Image restoration without nonlinear activations

Efficient PyTorch architecture for image restoration tasks.

LIVE RANKINGS • 09:07 AM • STEADY
OVERALL
#166
13
AI & ML
#69
2
30 DAY RANKING TREND
ovr#166
·AI#69
STARS
2.8K
FORKS
367
DOWNLOADS
7D STARS
+4
7D FORKS
-1
Tags:
See Repo:
Share:

Learn more about NAFNet

NAFNet is a convolutional neural network architecture designed for low-level vision tasks including image deblurring, denoising, and stereo super-resolution. The model is implemented in PyTorch and operates by replacing traditional nonlinear activation functions with multiplication operations or removing them entirely from the network. The architecture achieves competitive results on standard benchmarks such as GoPro for deblurring and SIDD for denoising while requiring substantially fewer computational operations than comparable methods. The framework is applicable to various image restoration scenarios where computational efficiency and inference speed are relevant considerations.

NAFNet

1

Activation-free design

The architecture removes or replaces nonlinear activation functions (ReLU, GELU, Sigmoid, Softmax) with simpler operations like multiplication, simplifying the model structure while maintaining restoration quality across multiple tasks.

2

Computational efficiency

Achieves comparable or improved performance on standard benchmarks while requiring significantly fewer multiply-accumulate operations than prior methods, as demonstrated on GoPro and SIDD datasets.

3

Multi-task capability

Provides implementations for multiple image restoration tasks including image deblurring, image denoising, and stereo image super-resolution through a unified architectural approach with task-specific variants.


pip install basicsr


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers