FGST
ICML 2022 · video deblurring · Window + alignment
Paper: Flow-Guided Sparse Transformer for Video Deblurring
FGST 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.03 dB PSNR on GoPro, 49 of 106 methods. It is among the top quarter on REDS (19 of 106), DVD (8 of 106). The fastest of its variants takes 2.1 s per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-FGST runs in 216 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FGST | window | GoPro | 33.03 | 25.33 | 21.65 | 27.91 | – | – | – | – | 2.1 s | 9.7 |
| FGST | window | DVD | 31.06 | 28.57 | 28.17 | 33.50 | – | – | – | – | 2.1 s | 9.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 | FGST (window) | 33.03 | 0.947 | 0.081 | 49 of 106 | table |
| REDS | FGST (window) | 28.57 | 0.890 | 0.153 | 19 of 106 | table |
| BSD | FGST (window) | 28.17 | 0.873 | 0.145 | 40 of 106 | table |
| DVD | FGST (window) | 33.50 | 0.945 | 0.075 | 8 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-FGST")
out = net.restore(frames)
dbis-FGST: gives the authors' outputs, −6 %, 3.0× smaller, 1.9 sdbisf-FGST: fast and light version, 9.5× faster, 7.0× smaller, 216 msdbis-FGST-DVD: gives the authors' outputs, −6 %, 1.9 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.