DCPT
ICLR 2025 · image deblurring · All-in-one · checkpoints: NAFNet + DCPT, PromptIR + DCPT, Restormer + DCPT, SwinIR + DCPT
Paper: Universal Image Restoration Pre-training via Degradation Classification
DCPT 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 29.22 dB PSNR on GoPro, 77 of 106 methods. The fastest of its variants takes 25.9 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NAFNet + DCPT | whole | all-in-one mix | 29.22 | 25.44 | 23.03 | 28.67 | 24.16 | 30.04 | 20.88 | 24.61 | 25.9 ms | 67.9 |
| Restormer + DCPT | whole | all-in-one mix | 28.95 | 16.39 | 23.67 | 28.66 | 24.30 | 29.50 | 15.74 | 18.44 | 152 ms | 26.1 |
| PromptIR + DCPT | whole | all-in-one mix | 28.84 | 17.57 | 19.20 | 28.51 | 23.37 | 29.61 | 17.82 | 17.23 | 163 ms | 35.4 |
| SwinIR + DCPT | whole | all-in-one mix | 26.42 | 20.72 | 22.63 | 27.18 | 21.63 | 27.82 | 16.08 | 20.30 | 1.6 s | 11.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 | NAFNet + DCPT (whole) | 29.22 | 0.884 | 0.153 | 77 of 106 | table |
| REDS | NAFNet + DCPT (whole) | 25.44 | 0.767 | 0.279 | 97 of 106 | table |
| BSD | Restormer + DCPT (whole) | 23.67 | 0.776 | 0.243 | 89 of 106 | table |
| DVD | NAFNet + DCPT (whole) | 28.67 | 0.852 | 0.175 | 77 of 106 | table |
| RealBlur-J | Restormer + DCPT (whole) | 24.30 | 0.772 | 0.277 | 75 of 81 | table |
| RealBlur-R | NAFNet + DCPT (whole) | 30.04 | 0.821 | 0.419 | 73 of 81 | table |
| GS-Blur | NAFNet + DCPT (whole) | 20.88 | 0.673 | 0.434 | 76 of 81 | table |
| MIORe | NAFNet + DCPT (whole) | 24.61 | 0.787 | 0.278 | 69 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-DCPT-NAFNet")
out = net.restore(frames)
dbis-DCPT-NAFNet: gives the authors' outputsdbis-DCPT-PromptIR: gives the authors' outputsdbis-DCPT-Restormer: gives the authors' outputs, 154 msdbis-DCPT-SwinIR: 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.
Links
- Paper: https://arxiv.org/abs/2501.15510
- Authors' code: https://github.com/megvii-research/NAFNet
- Interactive leaderboard and Pareto front
- All models with download buttons
- Other checkpoints of this architecture: NAFNet, ORNet, Restormer, UniDeblur