MAXIM
CVPR 2022 · image deblurring · Multi-stage / MIMO CNN · checkpoints: MAXIM-3S
Paper: MAXIM: Multi-Axis MLP for Image Processing
MAXIM 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 32.90 dB PSNR on GoPro, 54 of 106 methods. It is among the top quarter on REDS (12 of 106), BSD (16 of 106), RealBlur-J (10 of 81), RealBlur-R (20 of 81), GS-Blur (9 of 81), MIORe (5 of 81). The fastest of its variants takes 427 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-MAXIM-3S runs in 109 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAXIM-3S | whole | GoPro | 32.90 | 27.11 | 28.33 | 29.50 | 28.85 | 35.91 | 24.72 | 32.99 | 427 ms | 22.2 |
| MAXIM-3S | whole | REDS with JPEG (NTIRE 2021) | 25.63 | 28.93 | 29.09 | 27.13 | 28.51 | 35.00 | 25.19 | 30.42 | 427 ms | 22.2 |
| MAXIM-3S | whole | RealBlur-J | 24.54 | 26.93 | 29.57 | 25.43 | 32.88 | 38.61 | 24.84 | 28.89 | 427 ms | 22.2 |
| MAXIM-3S | whole | RealBlur-R | 23.05 | 23.60 | 27.60 | 23.40 | 30.78 | 39.71 | 22.58 | 26.17 | 427 ms | 22.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 | MAXIM-3S (whole) | 32.90 | 0.941 | 0.087 | 54 of 106 | table |
| REDS | MAXIM-3S (whole) | 28.93 | 0.839 | 0.224 | 12 of 106 | table |
| BSD | MAXIM-3S (whole) | 29.57 | 0.908 | 0.136 | 16 of 106 | table |
| DVD | MAXIM-3S (whole) | 29.50 | 0.874 | 0.158 | 62 of 106 | table |
| RealBlur-J | MAXIM-3S (whole) | 32.88 | 0.936 | 0.094 | 10 of 81 | table |
| RealBlur-R | MAXIM-3S (whole) | 39.71 | 0.973 | 0.045 | 20 of 81 | table |
| GS-Blur | MAXIM-3S (whole) | 25.19 | 0.742 | 0.350 | 9 of 81 | table |
| MIORe | MAXIM-3S (whole) | 32.99 | 0.879 | 0.185 | 5 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-MAXIM-3S")
out = net.restore(frames)
dbis-MAXIM-3S: gives the authors' outputs, 2.9× faster, 3.0× smaller, 149 msdbisf-MAXIM-3S: fast and light version, 3.9× faster, 10.5× smaller, 109 msdbis-MAXIM-3S-REDSjpeg: gives the authors' outputs, 2.9× faster, 149 msdbis-MAXIM-3S-RealBlurJ: gives the authors' outputs, 2.9× faster, 149 msdbis-MAXIM-3S-RealBlurR: gives the authors' outputs, 2.9× faster, 149 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.