FSNet
TPAMI 2023 · image deblurring · Frequency CNN
Paper: Image Restoration via Frequency Selection
FSNet 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.26 dB PSNR on GoPro, 39 of 106 methods. The fastest of its variants takes 249 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-FSNet runs in 66.1 ms.
PSNR on every test set, dB
| Checkpoint | Variant | Trained on | GoPro | REDS | BSD | DVD | RealBlur-J | RealBlur-R | GS-Blur | MIORe | Latency | Params, M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FSNet | whole | GoPro | 33.26 | 26.70 | 26.87 | 30.01 | 28.47 | 35.65 | 24.19 | 30.93 | 249 ms | 13.3 |
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 set | Checkpoint | PSNR | SSIM | LPIPS | Rank among methods | |
|---|---|---|---|---|---|---|
| GoPro | FSNet (whole) | 33.26 | 0.943 | 0.081 | 39 of 106 | table |
| REDS | FSNet (whole) | 26.70 | 0.822 | 0.207 | 74 of 106 | table |
| BSD | FSNet (whole) | 26.87 | 0.833 | 0.167 | 67 of 106 | table |
| DVD | FSNet (whole) | 30.01 | 0.890 | 0.133 | 35 of 106 | table |
| RealBlur-J | FSNet (whole) | 28.47 | 0.868 | 0.162 | 47 of 81 | table |
| RealBlur-R | FSNet (whole) | 35.65 | 0.948 | 0.075 | 45 of 81 | table |
| GS-Blur | FSNet (whole) | 24.19 | 0.738 | 0.312 | 45 of 81 | table |
| MIORe | FSNet (whole) | 30.93 | 0.836 | 0.239 | 42 of 81 | table |
Run it in plain PyTorch
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
import dbis
net = dbis.load("dbisf-FSNet")
out = net.restore(frames)
dbis-FSNet: gives the authors' outputs, 248 msdbisf-FSNet: fast and light version, 3.8× faster, 4.1× smaller, 66.1 ms
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.