deblurring is solved LeaderboardsMethodsTest sets Interactive tableDownload

Stoformer

NeurIPS 2022 · image deblurring · Transformer

Paper: Stochastic Window Transformer for Image Restoration

Stoformer 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.23 dB PSNR on GoPro, 41 of 106 methods. It is among the top quarter on MIORe (13 of 81). The fastest of its variants takes 1.2 s per 1280×720 frame on one A100 with the authors' code. Our fast version dbisf-Stoformer runs in 153 ms.

PSNR on every test set, dB

CheckpointVariantTrained onGoProREDSBSDDVDRealBlur-JRealBlur-RGS-BlurMIOReLatencyParams, M
StoformertiledGoPro33.2327.2728.0730.0228.6136.0824.5732.6814.5 s50.5
StoformerwholeGoPro33.1927.2828.0930.0328.6136.0724.5732.721.2 s50.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 setCheckpointPSNRSSIMLPIPSRank among methods
GoProStoformer (tiled)33.230.9430.08541 of 106table
REDSStoformer (whole)27.280.8410.19141 of 106table
BSDStoformer (whole)28.090.8690.14743 of 106table
DVDStoformer (whole)30.030.8890.13734 of 106table
RealBlur-JStoformer (tiled)28.610.8680.16244 of 81table
RealBlur-RStoformer (tiled)36.080.9540.06234 of 81table
GS-BlurStoformer (tiled)24.570.7430.34529 of 81table
MIOReStoformer (whole)32.720.8730.19413 of 81table

Run it in plain PyTorch

pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"

import dbis
net = dbis.load("dbisf-Stoformer")
out = net.restore(frames)

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