DSTNet
CVPR 2023 · video deblurring · Bidirectional / clip · checkpoints: DSTNet, DSTNet+ L, DSTNet+ base
Paper: Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring
DSTNet 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.71 dB PSNR on GoPro, 2 of 106 methods. It is among the top quarter on REDS (13 of 106), BSD (2 of 106), DVD (3 of 106). The fastest of its variants takes 903 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-DSTNetPlus-L runs in 585 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DSTNet+ L | clip,large | GoPro | 35.71 | 27.07 | 23.25 | 32.03 | – | – | – | – | 3.0 s | 14.1 |
| DSTNet+ base | clip | GoPro | 34.49 | 27.38 | 23.41 | 31.62 | – | – | – | – | 2.0 s | 3.9 |
| DSTNet | clip | GoPro | 34.16 | 27.29 | 23.24 | 31.38 | – | – | – | – | 903 ms | 7.5 |
| DSTNet+ L | clip,large | DVD | 31.55 | 28.73 | 24.30 | 34.58 | – | – | – | – | 3.0 s | 14.1 |
| DSTNet+ base | clip | DVD | 30.72 | 28.56 | 24.71 | 33.92 | – | – | – | – | 2.0 s | 3.9 |
| DSTNet | clip | DVD | 30.42 | 28.56 | 24.37 | 33.79 | – | – | – | – | 903 ms | 7.5 |
| DSTNet+ L | clip,large | BSD 2ms/16ms | 25.31 | 27.23 | 33.75 | 27.79 | – | – | – | – | 3.0 s | 14.1 |
| DSTNet+ base | clip | BSD 2ms/16ms | 23.93 | 25.56 | 32.92 | 25.20 | – | – | – | – | 2.0 s | 3.9 |
| DSTNet | clip | BSD 1ms/8ms | 23.35 | 26.00 | 32.28 | 27.18 | – | – | – | – | 903 ms | 7.5 |
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 | DSTNet+ L (clip,large) | 35.71 | 0.964 | 0.059 | 2 of 106 | table |
| REDS | DSTNet+ L (clip,large) | 28.73 | 0.898 | 0.153 | 13 of 106 | table |
| BSD | DSTNet+ L (clip,large) | 33.75 | 0.947 | 0.079 | 2 of 106 | table |
| DVD | DSTNet+ L (clip,large) | 34.58 | 0.953 | 0.065 | 3 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-DSTNet")
out = net.restore(frames)
dbis-DSTNet: gives the authors' outputsdbisf-DSTNet: fast and light versiondbis-DSTNetPlus-base: gives the authors' outputsdbisf-DSTNetPlus-base: fast and light versiondbis-DSTNetPlus-L: gives the authors' outputs, 3.4 sdbisf-DSTNetPlus-L: fast and light version, 5.2× faster, 3.5× smaller, 585 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.