IR-SDE
ICML 2023 · image deblurring · Diffusion prior
Paper: Image Restoration with Mean-Reverting Stochastic Differential Equations
IR-SDE 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 27.98 dB PSNR on GoPro, 91 of 106 methods. The fastest of its variants takes 12.5 s per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-IR-SDE runs in 6.3 s.
PSNR on every test set, dB
| Checkpoint | Variant | Trained on | GoPro | REDS | BSD | DVD | RealBlur-J | RealBlur-R | GS-Blur | MIORe | Latency | Params, M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IR-SDE | whole | GoPro | 27.98 | 27.25 | 19.59 | 26.77 | 24.15 | 33.95 | 20.29 | 23.42 | 12.5 s | 137.1 |
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 | IR-SDE (whole) | 27.98 | 0.867 | 0.089 | 91 of 106 | table |
| REDS | IR-SDE (whole) | 27.25 | 0.817 | 0.137 | 44 of 106 | table |
| BSD | IR-SDE (whole) | 19.59 | 0.565 | 0.393 | 105 of 106 | table |
| DVD | IR-SDE (whole) | 26.77 | 0.799 | 0.190 | 99 of 106 | table |
| RealBlur-J | IR-SDE (whole) | 24.15 | 0.727 | 0.271 | 76 of 81 | table |
| RealBlur-R | IR-SDE (whole) | 33.95 | 0.918 | 0.113 | 62 of 81 | table |
| GS-Blur | IR-SDE (whole) | 20.29 | 0.564 | 0.467 | 77 of 81 | table |
| MIORe | IR-SDE (whole) | 23.42 | 0.648 | 0.313 | 75 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("dbisf-IR-SDE")
out = net.restore(frames)
dbis-IR-SDE: gives the authors' outputsdbisf-IR-SDE: fast and light version, 2.0× faster, 2.4× smaller, 6.3 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.