Shift-Net
CVPR 2023 · video deblurring · Bidirectional / clip · checkpoints: Shift-Net+
Paper: A Simple Baseline for Video Restoration with Grouped Spatial-temporal Shift
Shift-Net 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.65 dB PSNR on GoPro, 3 of 106 methods. It is among the top quarter on REDS (17 of 106), DVD (12 of 106). The fastest of its variants takes 3.0 s per 1280×720 frame on one A100 with the authors' code.
PSNR on every test set, dB
| Checkpoint | Variant | Trained on | GoPro | REDS | BSD | DVD | RealBlur-J | RealBlur-R | GS-Blur | MIORe | Latency | Params, M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Shift-Net+ | clip | GoPro | 35.65 | 27.22 | 23.79 | 31.81 | – | – | – | – | 3.0 s | 13.0 |
| Shift-Net+ | clip | DVD | 31.40 | 28.61 | 24.41 | 33.07 | – | – | – | – | 3.0 s | 13.0 |
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 | Shift-Net+ (clip) | 35.65 | 0.964 | 0.059 | 3 of 106 | table |
| REDS | Shift-Net+ (clip) | 28.61 | 0.896 | 0.158 | 17 of 106 | table |
| BSD | Shift-Net+ (clip) | 24.41 | 0.785 | 0.285 | 85 of 106 | table |
| DVD | Shift-Net+ (clip) | 33.07 | 0.938 | 0.088 | 12 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-Shift-NetPlus")
out = net.restore(frames)
dbis-Shift-NetPlus: gives the authors' outputsdbisf-Shift-NetPlus: fast and light version
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.