ID-Blau
CVPR 2024 · image deblurring · Data-centric · checkpoints: FFTformer + ID-Blau, MIMO-UNet+ + ID-Blau, Restormer + ID-Blau, Stripformer + ID-Blau
Paper: ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation
ID-Blau 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 34.29 dB PSNR on GoPro, 12 of 106 methods. It is among the top quarter on BSD (25 of 106), RealBlur-J (5 of 81), RealBlur-R (4 of 81), MIORe (7 of 81). The fastest of its variants takes 45.6 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-IDBlau-MIMO-UNetPlus runs in 38.8 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FFTformer + ID-Blau | whole | GoPro | 34.29 | 24.37 | 22.58 | 27.94 | 24.85 | 35.40 | 21.13 | 25.09 | 727 ms | 16.6 |
| Stripformer + ID-Blau | whole | GoPro | 33.66 | 27.18 | 27.75 | 30.07 | 28.95 | 36.09 | 24.28 | 32.90 | 76.0 ms | 19.7 |
| Restormer + ID-Blau | whole | GoPro | 33.51 | 26.90 | 27.38 | 29.33 | 28.11 | 35.98 | 23.82 | 32.54 | 153 ms | 26.1 |
| MIMO-UNet+ + ID-Blau | whole,large | GoPro | 32.93 | 19.64 | 19.37 | 24.53 | 21.41 | 31.96 | 18.08 | 22.13 | 45.6 ms | 16.1 |
| MIMO-UNet+ + ID-Blau | whole,large | GoPro + RealBlur-R | 32.42 | 26.80 | 27.20 | 29.12 | 29.69 | 39.38 | 22.96 | 29.44 | 45.6 ms | 16.1 |
| Restormer + ID-Blau | whole | RealBlur-R | 25.13 | 25.62 | 28.49 | 27.17 | 31.21 | 40.32 | 23.46 | 28.36 | 153 ms | 26.1 |
| Stripformer + ID-Blau | whole | RealBlur-R | 24.93 | 25.36 | 27.95 | 26.99 | 31.44 | 41.08 | 22.94 | 27.96 | 76.0 ms | 19.7 |
| Restormer + ID-Blau | whole | RealBlur-J | 24.70 | 26.09 | 29.18 | 25.89 | 33.11 | 37.96 | 24.21 | 28.62 | 153 ms | 26.1 |
| Stripformer + ID-Blau | whole | RealBlur-J | 24.60 | 26.20 | 28.93 | 26.62 | 33.80 | 38.27 | 24.05 | 28.36 | 76.0 ms | 19.7 |
| MIMO-UNet+ + ID-Blau | whole,large | RealBlur-J | 24.16 | 27.03 | 27.50 | 26.05 | 31.97 | 37.11 | 23.86 | 27.31 | 45.6 ms | 16.1 |
| FFTformer + ID-Blau | whole | RealBlur-J | 22.91 | 24.14 | 27.43 | 24.25 | 32.86 | 37.63 | 23.82 | 26.49 | 727 ms | 16.6 |
| FFTformer + ID-Blau | whole | RealBlur-R | 21.72 | 23.30 | 26.27 | 21.25 | 30.08 | 40.45 | 22.83 | 25.75 | 727 ms | 16.6 |
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 | FFTformer + ID-Blau (whole) | 34.29 | 0.953 | 0.069 | 12 of 106 | table |
| REDS | Stripformer + ID-Blau (whole) | 27.18 | 0.846 | 0.175 | 47 of 106 | table |
| BSD | Restormer + ID-Blau (whole) | 29.18 | 0.901 | 0.141 | 25 of 106 | table |
| DVD | Stripformer + ID-Blau (whole) | 30.07 | 0.892 | 0.124 | 33 of 106 | table |
| RealBlur-J | Stripformer + ID-Blau (whole) | 33.80 | 0.940 | 0.078 | 5 of 81 | table |
| RealBlur-R | Stripformer + ID-Blau (whole) | 41.08 | 0.977 | 0.029 | 4 of 81 | table |
| GS-Blur | Stripformer + ID-Blau (whole) | 24.28 | 0.729 | 0.348 | 40 of 81 | table |
| MIORe | Stripformer + ID-Blau (whole) | 32.90 | 0.875 | 0.170 | 7 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-IDBlau-FFTformer")
out = net.restore(frames)
dbis-IDBlau-FFTformer: gives the authors' outputsdbisf-IDBlau-FFTformer: fast and light version, 3.7× faster, 2.4× smaller, 197 msdbis-IDBlau-MIMO-UNetPlus: gives the authors' outputs, 46.6 msdbisf-IDBlau-MIMO-UNetPlus: fast and light version, −15 %, 4.5× smaller, 38.8 msdbis-IDBlau-Restormer: gives the authors' outputs, 154 msdbisf-IDBlau-Restormer: fast and light version, −32 %, 4.1× smaller, 103 msdbis-IDBlau-Stripformer: gives the authors' outputsdbisf-IDBlau-Stripformer: fast and light version, −27 %, 3.4× smaller, 55.2 msdbis-IDBlau-FFTformer-RealBlurJ: gives the authors' outputsdbis-IDBlau-FFTformer-RealBlurR: gives the authors' outputsdbis-IDBlau-MIMO-UNetPlus-RealBlurJ: gives the authors' outputsdbis-IDBlau-MIMO-UNetPlus-RealBlurR: gives the authors' outputsdbis-IDBlau-Restormer-RealBlurJ: gives the authors' outputs, 154 msdbis-IDBlau-Restormer-RealBlurR: gives the authors' outputs, 154 msdbis-IDBlau-Stripformer-RealBlurJ: gives the authors' outputs, 75.6 msdbis-IDBlau-Stripformer-RealBlurR: gives the authors' outputs, 75.6 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.
Links
- Paper: https://arxiv.org/abs/2312.10998
- Authors' code: https://github.com/kkkls/FFTformer
- Interactive leaderboard and Pareto front
- All models with download buttons
- Other checkpoints of this architecture: FFTformer, MIMO-UNet, Restormer, Stripformer