ALGNet
ACMMM 2024 · image deblurring · Mamba
Paper: Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurring
ALGNet 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.49 dB PSNR on GoPro, 29 of 106 methods. It is among the top quarter on REDS (26 of 106), BSD (21 of 106), DVD (24 of 106), RealBlur-J (3 of 81), RealBlur-R (1 of 81), GS-Blur (7 of 81), MIORe (19 of 81). The fastest of its variants takes 153 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-ALGNet runs in 86.0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ALGNet | TLC | GoPro + RealBlur (inferred, not stated by the authors) | 33.49 | 28.20 | 29.27 | 30.32 | 32.87 | 40.51 | 26.09 | 32.46 | 156 ms | 37.7 |
| ALGNet | whole | GoPro + RealBlur (inferred, not stated by the authors) | 32.89 | 27.85 | 29.39 | 30.14 | 32.45 | 40.20 | 25.93 | 32.42 | 153 ms | 37.7 |
| ALGNet | TLC | RealBlur (subset not stated) | 25.67 | 27.08 | 28.62 | 27.56 | 34.25 | 42.54 | 24.14 | 28.92 | 156 ms | 37.7 |
| ALGNet | whole | RealBlur (subset not stated) | 25.23 | 26.32 | 28.68 | 27.33 | 33.30 | 41.72 | 23.91 | 28.90 | 153 ms | 37.7 |
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 | ALGNet (TLC) | 33.49 | 0.943 | 0.089 | 29 of 106 | table |
| REDS | ALGNet (TLC) | 28.20 | 0.856 | 0.197 | 26 of 106 | table |
| BSD | ALGNet (whole) | 29.39 | 0.895 | 0.119 | 21 of 106 | table |
| DVD | ALGNet (TLC) | 30.32 | 0.895 | 0.133 | 24 of 106 | table |
| RealBlur-J | ALGNet (TLC) | 34.25 | 0.936 | 0.099 | 3 of 81 | table |
| RealBlur-R | ALGNet (TLC) | 42.54 | 0.982 | 0.030 | 1 of 81 | table |
| GS-Blur | ALGNet (TLC) | 26.09 | 0.789 | 0.287 | 7 of 81 | table |
| MIORe | ALGNet (TLC) | 32.46 | 0.872 | 0.227 | 19 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-ALGNet")
out = net.restore(frames)
dbis-ALGNet: close to the authors' outputs, 1.1× smaller, 5.3 sdbisf-ALGNet: fast and light version, 1.8× faster, 4.3× smaller, 86.0 msdbis-ALGNet-RealBlur: close to the authors' outputs, 5.3 s
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.