deblurring is solved LeaderboardsMethodsTest sets Interactive tableDownload

NAFNet

ECCV 2022 · image deblurring · NAFNet family · checkpoints: NAFNet-32, NAFNet-64

Paper: Simple Baselines for Image Restoration

NAFNet is one of the methods of deblurring is solved, which runs every released checkpoint of a motion deblurring method on 8 test sets with one protocol and one GPU. Its best checkpoint scores 33.71 dB PSNR on GoPro, 23 of 106 methods. It is among the top quarter on REDS (9 of 106), BSD (24 of 106), GS-Blur (5 of 81). The fastest of its variants takes 12.2 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-NAFNet-64 runs in 26.6 ms.

PSNR on every test set, dB

CheckpointVariantTrained onGoProREDSBSDDVDRealBlur-JRealBlur-RGS-BlurMIOReLatencyParams, M
NAFNet-64TLCGoPro33.7126.6625.3429.6128.3235.9723.2229.0335.0 ms67.9
NAFNet-64wholeGoPro33.0826.8525.5629.4428.1836.0823.3631.1226.0 ms67.9
NAFNet-32TLC,smallGoPro32.8725.8824.7829.7828.7535.9923.5524.7916.1 ms17.1
NAFNet-32whole,smallGoPro32.2925.9725.6529.8228.7536.1223.6828.7312.2 ms17.1
NAFNet-64wholeREDS with JPEG (NTIRE 2021)26.9429.9729.2827.8429.2834.9626.6030.2826.0 ms67.9
NAFNet-64TLCREDS with JPEG (NTIRE 2021)26.7630.2729.2127.6629.4035.0126.6530.0935.0 ms67.9

Whole frame or the variant shown (tiles, TLC, the temporal window of a video method), batch 1, every frame of each set, 8-bit outputs. RealBlur after the official ECC alignment. Latency per 1280×720 output frame on one A100 with the authors' code. A dash: not run on that set (video methods run on the four video sets).

Best checkpoint on each set

Test setCheckpointPSNRSSIMLPIPSRank among methods
GoProNAFNet-64 (TLC)33.710.9470.07823 of 106table
REDSNAFNet-64 (TLC)30.270.8480.2369 of 106table
BSDNAFNet-64 (whole)29.280.8940.17724 of 106table
DVDNAFNet-32 (whole,small)29.820.8840.14842 of 106table
RealBlur-JNAFNet-64 (TLC)29.400.8820.18726 of 81table
RealBlur-RNAFNet-32 (whole,small)36.120.9550.06531 of 81table
GS-BlurNAFNet-64 (TLC)26.650.7860.2975 of 81table
MIOReNAFNet-64 (whole)31.120.8410.22639 of 81table

Run it in plain PyTorch

pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"

import dbis
net = dbis.load("dbisf-NAFNet-64")
out = net.restore(frames)

dbis loads the authors' checkpoint and gives their outputs. dbisf is a faster and lighter version of the same network. Every file keeps the license terms of its source.

Links