BSSTNet
CVPR 2024 · video deblurring · Bidirectional / clip
Paper: Blur-aware Spatio-temporal Sparse Transformer for Video Deblurring
BSSTNet 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 35.97 dB PSNR on GoPro, 1 of 106 methods. It is among the top quarter on DVD (1 of 106). The fastest of its variants takes 25.5 s per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-BSSTNet runs in 4.6 s.
PSNR on every test set, dB
| Checkpoint | Variant | Trained on | GoPro | REDS | BSD | DVD | RealBlur-J | RealBlur-R | GS-Blur | MIORe | Latency | Params, M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BSSTNet | clip | GoPro | 35.97 | 24.39 | 23.76 | 32.68 | – | – | – | – | 25.5 s | 46.7 |
| BSSTNet | clip | DVD | 30.70 | 24.24 | 21.91 | 34.84 | – | – | – | – | 25.5 s | 46.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 | BSSTNet (clip) | 35.97 | 0.966 | 0.057 | 1 of 106 | table |
| REDS | BSSTNet (clip) | 24.39 | 0.821 | 0.203 | 101 of 106 | table |
| BSD | BSSTNet (clip) | 23.76 | 0.761 | 0.261 | 87 of 106 | table |
| DVD | BSSTNet (clip) | 34.84 | 0.956 | 0.060 | 1 of 106 | 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-BSSTNet")
out = net.restore(frames)
dbis-BSSTNet: gives the authors' outputs, 1.2× smaller, 30.6 sdbisf-BSSTNet: fast and light version, 5.6× faster, 4.9× smaller, 4.6 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.