DA-CLIP
ICLR 2024 · image deblurring · All-in-one
Paper: Controlling Vision-Language Models for Multi-Task Image Restoration
DA-CLIP 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 26.68 dB PSNR on GoPro, 98 of 106 methods. The fastest of its variants takes 79.6 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DA-CLIP | whole | all-in-one mix | 26.68 | 25.84 | 26.37 | 26.76 | 26.31 | 29.66 | 23.89 | 25.25 | 79.6 s | 295.2 |
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 | DA-CLIP (whole) | 26.68 | 0.830 | 0.143 | 98 of 106 | table |
| REDS | DA-CLIP (whole) | 25.84 | 0.775 | 0.231 | 87 of 106 | table |
| BSD | DA-CLIP (whole) | 26.37 | 0.817 | 0.195 | 74 of 106 | table |
| DVD | DA-CLIP (whole) | 26.76 | 0.815 | 0.201 | 100 of 106 | table |
| RealBlur-J | DA-CLIP (whole) | 26.31 | 0.804 | 0.257 | 65 of 81 | table |
| RealBlur-R | DA-CLIP (whole) | 29.66 | 0.826 | 0.469 | 75 of 81 | table |
| GS-Blur | DA-CLIP (whole) | 23.89 | 0.697 | 0.340 | 52 of 81 | table |
| MIORe | DA-CLIP (whole) | 25.25 | 0.761 | 0.292 | 65 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-DA-CLIP")
out = net.restore(frames)
dbis-DA-CLIP: gives the authors' outputs, 2.1× smaller
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.