X-Restormer
ECCV 2024 · image deblurring · Transformer
Paper: A Comparative Study of Image Restoration Networks for General Backbone Network Design
X-Restormer 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 33.37 dB PSNR on GoPro, 32 of 106 methods. It is among the top quarter on MIORe (10 of 81). The fastest of its variants takes 215 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-X-Restormer runs in 163 ms.
PSNR on every test set, dB
| Checkpoint | Variant | Trained on | GoPro | REDS | BSD | DVD | RealBlur-J | RealBlur-R | GS-Blur | MIORe | Latency | Params, M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| X-Restormer | whole | GoPro | 33.37 | 27.09 | 26.75 | 29.83 | 28.88 | 36.27 | 24.23 | 32.80 | 215 ms | 26.0 |
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 | X-Restormer (whole) | 33.37 | 0.946 | 0.076 | 32 of 106 | table |
| REDS | X-Restormer (whole) | 27.09 | 0.836 | 0.192 | 50 of 106 | table |
| BSD | X-Restormer (whole) | 26.75 | 0.841 | 0.187 | 68 of 106 | table |
| DVD | X-Restormer (whole) | 29.83 | 0.883 | 0.148 | 41 of 106 | table |
| RealBlur-J | X-Restormer (whole) | 28.88 | 0.878 | 0.156 | 33 of 81 | table |
| RealBlur-R | X-Restormer (whole) | 36.27 | 0.958 | 0.057 | 27 of 81 | table |
| GS-Blur | X-Restormer (whole) | 24.23 | 0.741 | 0.334 | 44 of 81 | table |
| MIORe | X-Restormer (whole) | 32.80 | 0.872 | 0.203 | 10 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-X-Restormer")
out = net.restore(frames)
dbis-X-Restormer: gives the authors' outputs, 215 msdbisf-X-Restormer: fast and light version, −24 %, 4.3× smaller, 163 ms
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.