RAM
arXiv 2025 · image deblurring · All-in-one · checkpoints: RAM++
Paper: RAM++: Robust Representation Learning via Adaptive Mask for All-in-One Image Restoration
RAM 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 28.34 dB PSNR on GoPro, 86 of 106 methods. The fastest of its variants takes 975 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RAM++ | whole | all-in-one mix | 28.34 | 26.02 | 20.58 | 28.74 | 23.99 | 29.36 | 21.05 | 24.68 | 975 ms | 1218.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 | RAM++ (whole) | 28.34 | 0.867 | 0.169 | 86 of 106 | table |
| REDS | RAM++ (whole) | 26.02 | 0.790 | 0.260 | 82 of 106 | table |
| BSD | RAM++ (whole) | 20.58 | 0.722 | 0.280 | 102 of 106 | table |
| DVD | RAM++ (whole) | 28.74 | 0.859 | 0.161 | 76 of 106 | table |
| RealBlur-J | RAM++ (whole) | 23.99 | 0.767 | 0.339 | 77 of 81 | table |
| RealBlur-R | RAM++ (whole) | 29.36 | 0.832 | 0.463 | 77 of 81 | table |
| GS-Blur | RAM++ (whole) | 21.05 | 0.694 | 0.411 | 74 of 81 | table |
| MIORe | RAM++ (whole) | 24.68 | 0.788 | 0.293 | 68 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-RAMPlusPlus")
out = net.restore(frames)
dbis-RAMPlusPlus: gives the authors' outputs, 1.9× 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.