RVRT
NeurIPS 2022 · video deblurring · Bidirectional / clip
Paper: Recurrent Video Restoration Transformer with Guided Deformable Attention
RVRT 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 34.92 dB PSNR on GoPro, 6 of 106 methods. It is among the top quarter on REDS (16 of 106), DVD (4 of 106). The fastest of its variants takes 6.0 s per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-rvrt runs in 423 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RVRT | clip | GoPro | 34.92 | 27.69 | 24.98 | 32.60 | – | – | – | – | 6.0 s | 13.6 |
| RVRT | clip | DVD | 31.94 | 28.62 | 25.38 | 34.35 | – | – | – | – | 6.0 s | 13.6 |
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 | RVRT (clip) | 34.92 | 0.959 | 0.067 | 6 of 106 | table |
| REDS | RVRT (clip) | 28.62 | 0.899 | 0.142 | 16 of 106 | table |
| BSD | RVRT (clip) | 25.38 | 0.810 | 0.213 | 80 of 106 | table |
| DVD | RVRT (clip) | 34.35 | 0.952 | 0.066 | 4 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-rvrt")
out = net.restore(frames)
dbis-rvrt: gives the authors' outputs, 1.8× faster, 3.9 sdbisf-rvrt: fast and light version, 16.4× faster, 3.6× smaller, 423 msdbis-rvrt-DVD: gives the authors' outputs, 1.8× faster, 3.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.