DBGAN
CVPR 2020 · image deblurring · GAN
Paper: Deblurring by Realistic Blurring
DBGAN 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 31.18 dB PSNR on GoPro, 61 of 106 methods. The fastest of its variants takes 224 ms 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DBGAN | whole | GoPro | 31.18 | 22.95 | 21.54 | 27.78 | 24.93 | 33.78 | 21.39 | 23.81 | 224 ms | 11.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 | DBGAN (whole) | 31.18 | 0.916 | 0.110 | 61 of 106 | table |
| REDS | DBGAN (whole) | 22.95 | 0.718 | 0.320 | 104 of 106 | table |
| BSD | DBGAN (whole) | 21.54 | 0.697 | 0.310 | 100 of 106 | table |
| DVD | DBGAN (whole) | 27.78 | 0.833 | 0.204 | 95 of 106 | table |
| RealBlur-J | DBGAN (whole) | 24.93 | 0.745 | 0.299 | 72 of 81 | table |
| RealBlur-R | DBGAN (whole) | 33.78 | 0.909 | 0.137 | 63 of 81 | table |
| GS-Blur | DBGAN (whole) | 21.39 | 0.654 | 0.464 | 71 of 81 | table |
| MIORe | DBGAN (whole) | 23.81 | 0.713 | 0.382 | 74 of 81 | table |
Run it in plain PyTorch
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
import dbis
net = dbis.load("dbis-DBGAN")
out = net.restore(frames)
dbis-DBGAN: gives the authors' outputs
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.