LaKDNet
arXiv 2023 · image deblurring · NAFNet family · checkpoints: LaKDNet-L, LaKDNet-S
Paper: Revisiting Image Deblurring with an Efficient ConvNet
LaKDNet 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.72 dB PSNR on GoPro, 22 of 106 methods. It is among the top quarter on RealBlur-J (14 of 81), RealBlur-R (11 of 81), GS-Blur (12 of 81), MIORe (20 of 81). The fastest of its variants takes 167 ms per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-LaKDNet-S runs in 128 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LaKDNet-L | whole | GoPro | 33.72 | 27.03 | 26.63 | 29.48 | 28.59 | 36.08 | 23.69 | 32.11 | 259 ms | 37.5 |
| LaKDNet-S | whole,small | GoPro | 33.35 | 27.05 | 27.81 | 29.44 | 28.77 | 35.90 | 24.66 | 32.36 | 167 ms | 17.1 |
| LaKDNet-S | whole,small | RealBlur-R | 26.02 | 26.39 | 27.94 | 26.96 | 30.32 | 39.91 | 23.50 | 28.45 | 167 ms | 17.1 |
| LaKDNet-L | whole | RealBlur-R | 25.63 | 26.71 | 28.34 | 27.06 | 30.67 | 40.25 | 23.75 | 28.52 | 259 ms | 37.5 |
| LaKDNet-S | whole,small | RealBlur-J | 25.19 | 28.16 | 28.73 | 26.56 | 32.32 | 37.43 | 25.01 | 28.60 | 167 ms | 17.1 |
| LaKDNet-L | whole | RealBlur-J | 24.73 | 27.96 | 28.50 | 26.29 | 32.68 | 37.60 | 24.63 | 28.49 | 259 ms | 37.5 |
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 | LaKDNet-L (whole) | 33.72 | 0.947 | 0.076 | 22 of 106 | table |
| REDS | LaKDNet-S (whole,small) | 28.16 | 0.854 | 0.171 | 28 of 106 | table |
| BSD | LaKDNet-S (whole,small) | 28.73 | 0.895 | 0.158 | 30 of 106 | table |
| DVD | LaKDNet-L (whole) | 29.48 | 0.879 | 0.159 | 64 of 106 | table |
| RealBlur-J | LaKDNet-L (whole) | 32.68 | 0.932 | 0.098 | 14 of 81 | table |
| RealBlur-R | LaKDNet-L (whole) | 40.25 | 0.975 | 0.035 | 11 of 81 | table |
| GS-Blur | LaKDNet-S (whole,small) | 25.01 | 0.767 | 0.279 | 12 of 81 | table |
| MIORe | LaKDNet-S (whole,small) | 32.36 | 0.867 | 0.199 | 20 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-LaKDNet-S")
out = net.restore(frames)
dbis-LaKDNet-S: gives the authors' outputsdbisf-LaKDNet-S: fast and light version, −23 %, 3.4× smaller, 128 msdbis-LaKDNet-L: gives the authors' outputsdbisf-LaKDNet-L: fast and light version, −25 %, 3.4× smaller, 194 msdbis-LaKDNet-L-RealBlurJ: gives the authors' outputsdbis-LaKDNet-L-RealBlurR: gives the authors' outputsdbis-LaKDNet-S-RealBlurJ: gives the authors' outputsdbis-LaKDNet-S-RealBlurR: gives the authors' outputs
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.