deblurring is solved

deblurring is solved

Nikita AlutisEgor Chistov2 stars on GitHub

Universal Deblurring Framework

Deblurring papers mostly use the old GoPro dataset, different implementations and different metrics.

We do

  • Pure PyTorch code
  • Much smaller weights, with parity in results
  • Performance tweaks: up to 35× faster, 2.0× on median
  • A unified protocol: 8 test sets, 10 metrics, one GPU

What you getTodayWith the frameworkSection
Clean, unified method codedbisevery method in its own repository, training framework and custom layersplain PyTorch with the authors' outputs, every method in the same layout (network, encoder, blocks) and called the same way; NAFNet-64 imports in 6 ms instead of 1.6 sdbis
Compact test sets≈82 GB of archives on several hosts, each in its own layout6.9 GB for GoPro, REDS and RealBlur in one lossless format, only the frames that are scored, a CRC on every frame: on Hugging FaceData
Same harness and requirementsown dependencies and versions for every method105 methods run from one harness on pinned environmentsMethods
Unified benchmarking protocolown crops, padding, metrics and hardware in every paper295 variants × 8 test sets × 10 metrics, latency on one A100Protocol
Our versions with small patchesdbisfreleased once and never updated, though simple fixes would helpfaster and lighter, never more than 0.05 dB below the authors' PSNR: NAFNet-64 24 % faster, weights 4.1× smaller, BSSTNet 5.6× faster, weights 4.9× smaller, DSTNet+ L 5.2× faster, weights 3.5× smaller, Turtle 3.8× faster, weights 3.5× smallerdbisf
01

What the test sets are like

The frames every method is scored on. GoPro, REDS and RealBlur, released under CC BY 4.0, are on Hugging Face as lossless FFV1 with a CRC on every frame: 6.9 GB instead of 28 GiB of the authors' archives (python tools/testsets.py download). The other sets state no license for copies; their cards link to the authors' release.

blurry inputbest trained on GoProbest of any checkpointPSNR, dB
Mean PSNR over every frame of the set (RealBlur: the official ECC-aligned score). The line from the input to the best GoPro-trained checkpoint is what the GoPro weights recover; the ring is the best checkpoint of any training, often one trained on that set. Hover a point for the method.
What each set is like: the median of every frame characteristic, from the lowest of the sets (centre) to the highest (edge)

Further out means stronger blur, more lost detail and more of everything else. Line style: solid for averaged video, dashed for a beam splitter, dotted for rendered 3D. A set without a motion measure skips the two motion axes. Hover a set to bring it forward, click it in the legend to hide it.

How the frames of each set spread along one characteristic

02

Methods: one harness for all of them

Every method with released weights, image and video, runs through the same harness with the same inputs, and every released checkpoint is scored.

105methods with released weights
193released checkpoints, trained on GoPro, REDS, BSD, DVD, RealBlur or mixes
295variants: whole frame, tiles, test-time local converter, temporal schemes
03

Protocol: one way to measure

every released checkpoint, whole frame, batch 1each variant scored on its own: whole frame, tiles, TLC 8-bit outputs, every frame scoredRealBlur after the official ECC alignment 10 metrics, full-reference and no-referencelatency per output frame, 1280×720, one A100
SetSequencesFramesResolutionBlurry input PSNRInput
GoPro test111,1111280×72025.64blur
REDS val303,0001280×72026.27val_blur
BSD 2ms/16ms test203,000640×48026.63Blur/RGB
DVD test101,0001280×72027.29input
RealBlur-J test50 scenes980about 670×763–blur
RealBlur-R test50 scenes980about 670×763–blur
GS-Blur mini752 scenes1,000480×270 to 1920×1080, both orientations–input_noise
MIORe, 300 of train300 images3001920×1080–blur
04

Analysis: the full picture

Pareto front

Image method Video method Pareto front dbisf dbisf front Blurry input

Leaderboard

Results as CSV
bold best in column italic run still in progress Click a method for its score on each test sequence.
05

Metrics

The ten scores of the leaderboard, how each is computed here, and what to cite when you use them. Copy one entry, or all of them as one BibTeX file.

Two methods, frame by frame

Pick two methods. Every test frame of the set is one observation: how much better method A scores than method B on it, and what that frame is like (how strong its blur is, how fast it moves, how dark or textured it is).

Which frame characteristics go with the difference

One method across frames

Where a method does well and where it does not: its score on every frame of the set against a frame characteristic, and its rank among the GoPro-trained methods within each fifth of the frames along every characteristic.

Rank within each fifth of the frames

Side by side

A few frames of each set, picked at the extremes of the frame characteristics. Compare any two outputs with a sliding divider, side by side, or side by side with a magnified window, and switch to their error maps.

05dbisdbisf

our versions of the methods

dbis gives the authors' outputs from plain PyTorch and a safetensors file, every method in the same layout with an encoder that loads on its own. dbisf is faster and lighter, and its mean PSNR is never more than 0.05 dB below the authors' code on any test set. What changed in each method: DBIS.md.

Recommended

Install the package

One call for every one of the 374 models. The weight file comes from Hugging Face on first use, its sha256 is checked, and the network runs in plain PyTorch with the settings of the leaderboard (tiles, windows, precision).

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

import dbis
net = dbis.load("dbisf-NAFNet-64")   # any model below
out = net.restore(frames)            # an image, a clip or a video
Or by hand

Raw weights

Each model is a folder on Hugging Face: its weight file (.safetensors for dbis, .wpk for dbisf, which the package unpacks), a JSON card and the terms of its source. The Download button of a row below lists its files.

374 models of 211 released checkpoints: 258 dbis (182 give the authors' outputs exactly, 26 within a small difference) and 116 dbisf, 2.0× faster than the authors' code on median and up to 35×, weights 4.1× smaller on median. Every file keeps the terms of its source: 105 permissive, 11 GPL or AGPL, 37 non-commercial, 58 with no license stated.

MethodTrained onthe authors' outputsfaster and lighterTerms
AdaIRall-in-one mix
dbis-AdaIR115 MB · the authors' outputs
Download
–MIT
AdaRevD-BGoPro
dbis-AdaRevD-B610 MB · the authors' outputsalso AdaRevD-Btiled
Download
dbisf-AdaRevD-B2.9× faster · 8.0× smaller148 MB · GoPro −0.008 dBalso AdaRevD-Btiled
Download
non-commercial
ALGNetGoPro + RealBlur (inferred, not stated by the authors)
dbis-ALGNet133 MB · close to the authorsalso ALGNetTLC
Download
dbisf-ALGNet1.8× faster · 4.3× smaller35 MB · GoPro +0.000 dBalso ALGNetTLC
Download
Apache-2.0
RealBlur (subset not stated)
dbis-ALGNet-RealBlur133 MB · close to the authorsalso ALGNetTLC-RealBlur
Download
–Apache-2.0
BaryIRall-in-one mix
dbis-BaryIR214 MB · the authors' outputs
Download
–MIT
BasicVSR++GoPro
dbis-BasicVSRPlusPlus39 MB · the authors' outputs
Download
dbisf-BasicVSRPlusPlus4.0× faster · 4.5× smaller8.8 MB · GoPro −0.009 dB
Download
Apache-2.0
DVD
dbis-BasicVSRPlusPlus-DVD39 MB · the authors' outputs
Download
–Apache-2.0
BioIRall-in-one mix
dbis-BioIR63 MB · the authors' outputs
Download
–MIT
BSSTNetGoPro
dbis-BSSTNet175 MB · the authors' outputs
Download
dbisf-BSSTNet5.6× faster · 4.9× smaller42 MB · GoPro −0.024 dB
Download
MIT
CATF (DVD weights)BSD 1ms/8ms
dbis-CATF-BSD190 MB · the authors' outputs
Download
–no license stated
BSD 3ms/24ms
dbis-CATF-BSD390 MB · the authors' outputs
Download
–no license stated
DVD
dbis-CATF-DVD90 MB · the authors' outputs
Download
–no license stated
CDVD-TSPGoPro
dbis-CDVD-TSP65 MB · close to the authors
Download
dbisf-CDVD-TSP2.7× faster · 3.6× smaller18 MB · GoPro −0.009 dB
Download
MIT
DVD
dbis-CDVD-TSP-DVD65 MB · close to the authors
Download
–MIT
CDVD-TSPNLGoPro
dbis-CDVD-TSPNL22 MB · close to the authors
Download
dbisf-CDVD-TSPNL2.0× faster · 4.0× smaller5.6 MB · GoPro −0.002 dB
Download
MIT
BSD 1ms/8ms
dbis-CDVD-TSPNL-BSD122 MB · close to the authors
Download
–MIT
DVD
dbis-CDVD-TSPNL-DVD22 MB · close to the authors
Download
–MIT
ChaIRGoPro
dbis-ChaIR60 MB · the authors' outputs
Download
dbisf-ChaIR1.2× faster · 3.9× smaller16 MB · GoPro −0.005 dB
Download
MIT
Concertormer–
dbis-Concertormer202 MB · the authors' outputs
Download
dbisf-Concertormer59 MBalso Concertormer-TLC
Download
MIT
Concertormer-lite–
dbis-Concertormer-lite116 MB · the authors' outputs
Download
dbisf-Concertormer-lite34 MBalso Concertormer-lite-TLC
Download
MIT
ConvIR-LGoPro
dbis-ConvIR-L59 MB · the authors' outputs
Download
dbisf-ConvIR-L1.2× faster · 3.5× smaller17 MB · GoPro −0.000 dB
Download
MIT
RSBlur
dbis-ConvIR-L-RSBlur59 MB · the authors' outputs
Download
–MIT
DA-CLIPall-in-one mix
dbis-DA-CLIP927 MB · the authors' outputs
Download
–MIT
DA-RCOTall-in-one mix
dbis-DA-RCOT209 MB · the authors' outputs
Download
–MIT
DATPRL-IRall-in-one mix
dbis-DATPRL-IR170 MB · the authors' outputs
Download
–MIT
DBGANGoPro
dbis-DBGAN46 MB · the authors' outputs
Download
–no license stated
DBN (DVD weights)DVD
dbis-DBN-DVD61 MB · the authors' outputs
Download
–MIT
DeblurDiNAT-LGoPro
dbis-DeblurDiNAT-L65 MB · the authors' outputs
Download
dbisf-DeblurDiNAT-L1.6× faster · 3.8× smaller17 MB · GoPro −0.006 dB
Download
MIT
DeblurGAN-v2 InceptionGoPro + DVD + NFS
dbis-DeblurGANv2-Inception144 MB · the authors' outputs
Download
dbisf-DeblurGANv2-Inception1.2× faster · 6.6× smaller37 MB · GoPro +0.006 dB
Download
BSD
DeblurGAN-v2 MobileNet (BN in train mode)GoPro + DVD + NFS
dbis-DeblurGANv2-MobileNet8.5 MB · the authors' outputsalso DeblurGANv2-MobileNet_bnfix
Download
dbisf-DeblurGANv2-MobileNet1.2× faster · 3.7× smaller3.7 MB · GoPro +0.016 dBalso DeblurGANv2-MobileNet_bnfix
Download
BSD
DeepDeblurGoPro
dbis-DeepDeblur47 MB · the authors' outputs
Download
dbisf-DeepDeblur1.1× faster · 3.5× smaller13 MB · GoPro +0.002 dB
Download
MIT
GoPro + REDS
dbis-DeepDeblur-GoProREDS47 MB · the authors' outputs
Download
dbisf-DeepDeblur-GoProREDS1.1× faster · 3.5× smaller13 MB · GoPro +0.000 dB
Download
MIT
REDS
dbis-DeepDeblur-REDS47 MB · the authors' outputs
Download
–MIT
DeepRFTGoPro
dbis-DeepRFT38 MB · the authors' outputsalso DeepRFTwin
Download
dbisf-DeepRFT1.8× faster · 4.4× smaller9.8 MB · GoPro +0.001 dBalso DeepRFTwin
Download
non-commercial
DeepRFT+GoPro
dbis-DeepRFTPlus92 MB · the authors' outputsalso DeepRFTPluswin
Download
dbisf-DeepRFTPlus1.8× faster · 4.4× smaller24 MB · GoPro −0.002 dBalso DeepRFTPluswin
Download
non-commercial
GoPro + RealBlur-J
dbis-DeepRFTPlus-GoProRealBlurJ92 MB · the authors' outputsalso DeepRFTPluswin-GoProRealBlurJ
Download
dbisf-DeepRFTPlus-GoProRealBlurJ1.8× faster · 4.4× smaller24 MB · GoPro −0.003 dBalso DeepRFTPluswin-GoProRealBlurJ
Download
non-commercial
RealBlur-J
dbis-DeepRFTPlus-RealBlurJ92 MB · the authors' outputsalso DeepRFTPluswin-RealBlurJ
Download
–non-commercial
RealBlur-R
dbis-DeepRFTPlus-RealBlurR92 MB · the authors' outputsalso DeepRFTPluswin-RealBlurR
Download
–non-commercial
DeepRFT-SGoPro
dbis-DeepRFT-S20 MB · the authors' outputsalso DeepRFT-Swin
Download
dbisf-DeepRFT-S1.9× faster · 4.5× smaller5.2 MB · GoPro −0.005 dBalso DeepRFT-Swin
Download
non-commercial
DFPIRall-in-one mix
dbis-DFPIR124 MB · the authors' outputs
Download
–no license stated
DGUNetGoPro
dbis-DGUNet69 MB · the authors' outputs
Download
dbisf-DGUNet2.3× faster · 4.2× smaller17 MB · GoPro −0.002 dB
Download
no license stated
DGUNet+GoPro
dbis-DGUNet-plus278 MB · the authors' outputs
Download
dbisf-DGUNet-plus2.4× faster · 3.9× smaller71 MB · GoPro −0.002 dB
Download
no license stated
DiffIRGoPro
dbis-DiffIR108 MB · the authors' outputs
Download
dbisf-DiffIR1.4× faster · 8.5× smaller27 MB · GoPro −0.005 dB
Download
Apache-2.0
DiffUIR-Lall-in-one mix
dbis-DiffUIR-L145 MB · the authors' outputs
Download
–MIT
DMPHN-1-2-4GoPro
dbis-DMPHN-1-2-422 MB · the authors' outputs
Download
dbisf-DMPHN-1-2-41.3× faster · 3.5× smaller6.3 MB · GoPro −0.003 dB
Download
no license stated
DSTNet–
dbis-DSTNet30 MB · the authors' outputs
Download
dbisf-DSTNet6.8 MB
Download
MIT
DSTNet+ LGoPro
dbis-DSTNetPlus-L56 MB · the authors' outputs
Download
dbisf-DSTNetPlus-L5.2× faster · 3.5× smaller16 MB · GoPro −0.008 dB
Download
Apache-2.0
DSTNet-BSD1–
dbis-DSTNet-BSD130 MB · the authors' outputs
Download
–MIT
DSTNet-DVD–
dbis-DSTNet-DVD30 MB · the authors' outputs
Download
–MIT
DSTNetPlus-base–
dbis-DSTNetPlus-base16 MB · the authors' outputs
Download
dbisf-DSTNetPlus-base4.0 MB
Download
Apache-2.0
DSTNetPlus-base-BSD2–
dbis-DSTNetPlus-base-BSD216 MB · the authors' outputs
Download
–Apache-2.0
DSTNetPlus-base-DVD–
dbis-DSTNetPlus-base-DVD16 MB · the authors' outputs
Download
–Apache-2.0
DSTNetPlus-L-BSD2–
dbis-DSTNetPlus-L-BSD256 MB · the authors' outputs
Download
–Apache-2.0
DSTNetPlus-L-DVD–
dbis-DSTNetPlus-L-DVD56 MB · the authors' outputs
Download
–Apache-2.0
EAMambaGoPro
dbis-EAMamba101 MB · the authors' outputs
Download
dbisf-EAMamba4.6× faster · 13.8× smaller29 MB · GoPro −0.002 dB
Download
no license stated
EDVR-L (REDS weights)REDS
dbis-EDVR-REDS94 MB · the authors' outputs
Download
–Apache-2.0
ESTRNNGoPro
dbis-ESTRNN-GoPro9.9 MB · the authors' outputs
Download
dbisf-ESTRNN-GoPro1.5× faster · 13.3× smaller2.2 MB · GoPro −0.013 dB
Download
MIT
BSD 2ms/16ms
dbis-ESTRNN-BSD29.9 MB · the authors' outputs
Download
–MIT
ESTRNN-REDS-ours–
dbis-ESTRNN-REDS-ours9.9 MB · the authors' outputs
Download
–MIT
EVSSMGoPro
dbis-EVSSM69 MB · close to the authors
Download
dbisf-EVSSM8.8× faster · 2.4× smaller29 MB · GoPro −0.000 dB
Download
MIT
RealBlur-J
dbis-EVSSM-RealBlurJ69 MB · close to the authors
Download
–MIT
RealBlur-R
dbis-EVSSM-RealBlurR69 MB · close to the authors
Download
–MIT
F-MIMOGoPro
dbis-F-MIMO33 MB · the authors' outputsalso F-MIMOtiled
Download
dbisf-F-MIMO2.3× faster · 3.9× smaller8.5 MB · GoPro −0.003 dBalso F-MIMOtiled
Download
non-commercial
RealBlur-J
dbis-F-MIMO-RealBlurJ33 MB · the authors' outputsalso F-MIMOtiled-RealBlurJ
Download
–non-commercial
RealBlur-R
dbis-F-MIMO-RealBlurR33 MB · the authors' outputsalso F-MIMOtiled-RealBlurR
Download
–non-commercial
F-MIMO+GoPro
dbis-F-MIMOPlus78 MB · the authors' outputsalso F-MIMOPlustiled
Download
dbisf-F-MIMOPlus2.2× faster · 3.9× smaller20 MB · GoPro +0.000 dBalso F-MIMOPlustiled
Download
non-commercial
RealBlur-J
dbis-F-MIMOPlus-RealBlurJ78 MB · the authors' outputsalso F-MIMOPlustiled-RealBlurJ
Download
–non-commercial
RealBlur-R
dbis-F-MIMOPlus-RealBlurR78 MB · the authors' outputsalso F-MIMOPlustiled-RealBlurR
Download
–non-commercial
F-MIMO-SGoPro
dbis-F-MIMO-S18 MB · the authors' outputsalso F-MIMO-Stiled
Download
dbisf-F-MIMO-S2.3× faster · 3.9× smaller4.5 MB · GoPro −0.003 dBalso F-MIMO-Stiled
Download
non-commercial
F-NAFNet-32GoPro
dbis-FNAFNet-3271 MB · the authors' outputs
Download
–non-commercial
F-NAFNet-64GoPro
dbis-FNAFNet-64272 MB · the authors' outputs
Download
–non-commercial
FFTformerGoPro
dbis-FFTformer66 MB · the authors' outputs
Download
dbisf-FFTformer3.8× faster · 2.4× smaller28 MB · GoPro −0.001 dB
Download
MIT
RealBlur-J
dbis-FFTformer-RealBlurJ66 MB · the authors' outputs
Download
–MIT
RealBlur-R
dbis-FFTformer-RealBlurR66 MB · the authors' outputs
Download
–MIT
FFTformer + ID-BlauGoPro
dbis-IDBlau-FFTformer66 MB · the authors' outputs
Download
dbisf-IDBlau-FFTformer3.7× faster · 2.4× smaller28 MB · GoPro −0.000 dB
Download
no license stated
RealBlur-J
dbis-IDBlau-FFTformer-RealBlurJ66 MB · the authors' outputs
Download
–no license stated
RealBlur-R
dbis-IDBlau-FFTformer-RealBlurR66 MB · the authors' outputs
Download
–no license stated
FGSTGoPro
dbis-FGST39 MB · the authors' outputs
Download
dbisf-FGST9.5× faster · 7.0× smaller17 MB · GoPro +0.000 dB
Download
Apache-2.0
DVD
dbis-FGST-DVD39 MB · the authors' outputs
Download
–Apache-2.0
FSNetGoPro
dbis-FSNet53 MB · the authors' outputs
Download
dbisf-FSNet3.8× faster · 4.1× smaller13 MB · GoPro +0.002 dB
Download
MIT
Ghost-DeblurGANGoPro
dbis-Ghost-DeblurGAN6.1 MB · the authors' outputs
Download
dbisf-Ghost-DeblurGAN1.1× faster · 4.2× smaller1.5 MB · GoPro −0.002 dB
Download
MIT
GRL-BGoPro
dbis-GRL-B79 MB · the authors' outputsalso GRL-Btiled
Download
dbisf-GRL-B3.2× faster · 3.4× smaller24 MB · GoPro −0.001 dBalso GRL-Btiled
Download
MIT
RealBlur-J
dbis-GRL-B-RealBlurJ79 MB · the authors' outputsalso GRL-Btiled-RealBlurJ
Download
–MIT
RealBlur-R
dbis-GRL-B-RealBlurR79 MB · the authors' outputsalso GRL-Btiled-RealBlurR
Download
–MIT
HI-DiffGoPro
dbis-HI-Diff114 MB · the authors' outputs
Download
dbisf-HI-Diff1.5× faster · 4.1× smaller28 MB · GoPro −0.003 dB
Download
Apache-2.0
RealBlur-J
dbis-HI-Diff-RealBlurJ97 MB · the authors' outputs
Download
–Apache-2.0
RealBlur-R
dbis-HI-Diff-RealBlurR97 MB · the authors' outputs
Download
–Apache-2.0
HINetGoPro
dbis-HINet355 MB · the authors' outputs
Download
dbisf-HINet1.1× faster · 4.5× smaller79 MB · GoPro −0.008 dB
Download
MIT
REDS with JPEG (NTIRE 2021)
dbis-HINet-REDSjpeg355 MB · the authors' outputs
Download
–MIT
HOGformerall-in-one mix
dbis-HOGformer67 MB · the authors' outputs
Download
–MIT
InstructIR-7Dall-in-one mix
dbis-InstructIR-7D63 MB · the authors' outputs
Download
–MIT
IR-SDEGoPro
dbis-IR-SDE549 MB · the authors' outputs
Download
dbisf-IR-SDE2.0× faster · 2.4× smaller232 MB · GoPro −0.020 dB
Download
MIT
IRNeXtGoPro
dbis-IRNeXt53 MB · the authors' outputs
Download
dbisf-IRNeXt1.2× faster · 4.4× smaller12 MB · GoPro −0.002 dB
Download
MIT
IRNeXt (16 blocks)GoPro
dbis-IRNeXt-N1659 MB · the authors' outputs
Download
dbisf-IRNeXt-N162.7× faster · 4.4× smaller13 MB · GoPro −0.006 dB
Download
MIT
LaKDNet-LGoPro
dbis-LaKDNet-L150 MB · the authors' outputs
Download
dbisf-LaKDNet-L1.3× faster · 3.4× smaller44 MB · GoPro −0.004 dB
Download
AGPL
RealBlur-J
dbis-LaKDNet-L-RealBlurJ150 MB · the authors' outputs
Download
–AGPL
RealBlur-R
dbis-LaKDNet-L-RealBlurR150 MB · the authors' outputs
Download
–AGPL
LaKDNet-SGoPro
dbis-LaKDNet-S69 MB · the authors' outputs
Download
dbisf-LaKDNet-S1.3× faster · 3.4× smaller20 MB · GoPro −0.006 dB
Download
AGPL
RealBlur-J
dbis-LaKDNet-S-RealBlurJ69 MB · the authors' outputs
Download
–AGPL
RealBlur-R
dbis-LaKDNet-S-RealBlurR69 MB · the authors' outputs
Download
–AGPL
LoFormer-LGoPro
dbis-LoFormer-L196 MB · the authors' outputs
Download
dbisf-LoFormer-L4.6× faster · 4.3× smaller45 MB · GoPro −0.023 dB
Download
non-commercial
RealBlur-J
dbis-LoFormer-L-RealBlurJ196 MB · the authors' outputs
Download
–non-commercial
RealBlur-R
dbis-LoFormer-L-RealBlurR196 MB · the authors' outputs
Download
–non-commercial
M3SNet-32GoPro
dbis-M3SNet-3267 MB · the authors' outputsalso M3SNet-32-TLC
Download
dbisf-M3SNet-323.8× faster · 2.3× smaller29 MB · GoPro −0.000 dBalso M3SNet-32-TLC
Download
non-commercial
M3SNet-64GoPro
dbis-M3SNet-64265 MB · the authors' outputsalso M3SNet-64-TLC
Download
dbisf-M3SNet-641.1× faster · 2.3× smaller114 MB · GoPro −0.000 dBalso M3SNet-64-TLC
Download
non-commercial
MaIRGoPro
dbis-MaIR105 MB · close to the authors
Download
dbisf-MaIR23.4× faster · 3.4× smaller31 MB · GoPro +0.001 dB
Download
no license stated
MAXIM-3SGoPro
dbis-MAXIM-3S89 MB · the authors' outputs
Download
dbisf-MAXIM-3S3.9× faster · 10.5× smaller26 MB · GoPro −0.005 dB
Download
Apache-2.0
REDS with JPEG (NTIRE 2021)
dbis-MAXIM-3S-REDSjpeg89 MB · the authors' outputs
Download
–Apache-2.0
RealBlur-J
dbis-MAXIM-3S-RealBlurJ89 MB · the authors' outputs
Download
–Apache-2.0
RealBlur-R
dbis-MAXIM-3S-RealBlurR89 MB · the authors' outputs
Download
–Apache-2.0
MemDeblurGoPro
dbis-MemDeblur28 MB · the authors' outputs
Download
dbisf-MemDeblur34.8× faster · 4.4× smaller6.4 MB · GoPro −0.007 dB
Download
MIT
MIMO-UNetGoPro
dbis-MIMO-UNet27 MB · the authors' outputs
Download
dbisf-MIMO-UNet1.2× faster · 4.4× smaller6.2 MB · GoPro −0.006 dB
Download
no license stated
MIMO-UNet+GoPro
dbis-MIMO-UNetPlus64 MB · the authors' outputs
Download
dbisf-MIMO-UNetPlus1.2× faster · 4.4× smaller15 MB · GoPro −0.005 dB
Download
no license stated
GoPro + RealBlur (inferred, not stated by the authors)
dbis-MIMO-UNetPlus-RealBlur64 MB · the authors' outputs
Download
–no license stated
MIMO-UNet+ + ID-BlauGoPro
dbis-IDBlau-MIMO-UNetPlus64 MB · the authors' outputs
Download
dbisf-IDBlau-MIMO-UNetPlus1.2× faster · 4.5× smaller15 MB · GoPro −0.010 dB
Download
no license stated
GoPro + RealBlur-R
dbis-IDBlau-MIMO-UNetPlus-RealBlurR64 MB · the authors' outputs
Download
–no license stated
RealBlur-J
dbis-IDBlau-MIMO-UNetPlus-RealBlurJ64 MB · the authors' outputs
Download
–no license stated
MIRAGE-Sall-in-one mix
dbis-MIRAGE-S39 MB · the authors' outputs
Download
–MIT
MIRAGE-Tall-in-one mix
dbis-MIRAGE-T25 MB · the authors' outputs
Download
–MIT
MISCFilterGoPro + RealBlur (inferred, not stated by the authors)
dbis-MISCFilter59 MB · close to the authorsalso MISCFiltertiled
Download
dbisf-MISCFilter2.0× faster · 4.1× smaller17 MB · GoPro −0.005 dBalso MISCFiltertiled
Download
MIT
RealBlur-J
dbis-MISCFilter-RealBlurJ59 MB · close to the authorsalso MISCFiltertiled-RealBlurJ
Download
–MIT
RealBlur-R
dbis-MISCFilter-RealBlurR59 MB · close to the authorsalso MISCFiltertiled-RealBlurR
Download
–MIT
MLWNet-BGoPro
dbis-MLWNet-B380 MB · the authors' outputsalso MLWNet-BTLC
Download
dbisf-MLWNet-B1.8× faster · 2.3× smaller163 MB · GoPro −0.000 dBalso MLWNet-BTLC
Download
MIT
RealBlur-J
dbis-MLWNet-B-RealBlurJ380 MB · the authors' outputsalso MLWNet-BTLC-RealBlurJ
Download
–MIT
RealBlur-R
dbis-MLWNet-B-RealBlurR380 MB · the authors' outputsalso MLWNet-BTLC-RealBlurR
Download
–MIT
MMP-RNNGoPro
dbis-MMP-RNN-GoPro16 MB · the authors' outputs
Download
dbisf-MMP-RNN-GoPro1.6× faster · 10.0× smaller4.2 MB · GoPro +0.004 dB
Download
MIT
BSD 2ms/16ms
dbis-MMP-RNN-BSD216 MB · the authors' outputs
Download
–MIT
REDS (retrained by us)
dbis-MMP-RNN-REDSours16 MB · the authors' outputs
Download
–MIT
MoCE-IRall-in-one mix
dbis-MoCE-IR102 MB · the authors' outputs
Download
–non-commercial
MoCE-IR-Sall-in-one mix
dbis-MoCE-IR-S46 MB · the authors' outputs
Download
–non-commercial
Motion-ETRGoPro
dbis-Motion-ETR27 MB · the authors' outputs
Download
dbisf-Motion-ETR7.5× faster · 4.3× smaller6.1 MB · GoPro −0.021 dB
Download
no license stated
MPRNetGoPro
dbis-MPRNet81 MB · the authors' outputs
Download
dbisf-MPRNet3.9× smaller21 MB · GoPro −0.002 dB
Download
non-commercial
MSDI-NetGoPro
dbis-MSDI-Net988 MB · the authors' outputsalso MSDI-Nettiled
Download
dbisf-MSDI-Net2.7× faster · 5.5× smaller201 MB · GoPro −0.003 dBalso MSDI-Nettiled
Download
no license stated
MSFS-NetGoPro
dbis-MSFS-Net86 MB · close to the authorsalso MSFS-NetTLC
Download
dbisf-MSFS-Net1.1× faster · 10.4× smaller25 MB · GoPro −0.002 dBalso MSFS-NetTLC
Download
Apache-2.0
RealBlur-J
dbis-MSFS-Net-RealBlurJ86 MB · close to the authorsalso MSFS-NetTLC-RealBlurJ
Download
–Apache-2.0
RealBlur-R
dbis-MSFS-Net-RealBlurR86 MB · close to the authorsalso MSFS-NetTLC-RealBlurR
Download
–Apache-2.0
MSSNetGoPro
dbis-MSSNet62 MB · the authors' outputs
Download
dbisf-MSSNet1.4× faster · 13.4× smaller14 MB · GoPro −0.020 dB
Download
no license stated
GoPro + BSD-B + RealBlur-J
dbis-MSSNet-RealBlurJ62 MB · the authors' outputs
Download
–no license stated
GoPro + BSD-B + RealBlur-R
dbis-MSSNet-RealBlurR62 MB · the authors' outputs
Download
–no license stated
MSSNet-smallGoPro
dbis-MSSNet-small27 MB · the authors' outputs
Download
dbisf-MSSNet-small1.3× faster · 11.7× smaller7.0 MB · GoPro −0.001 dB
Download
no license stated
MT-RNNGoPro
dbis-MT-RNN11 MB · the authors' outputs
Download
dbisf-MT-RNN2.4× faster · 2.4× smaller4.5 MB · GoPro +0.001 dB
Download
no license stated
MVSSMGoPro
dbis-MVSSM51 MB · the authors' outputs
Download
dbisf-MVSSM9.9× faster · 4.4× smaller12 MB · GoPro −0.011 dB
Download
no license stated
BSD (exposure not stated)
dbis-MVSSM-BSD51 MB · the authors' outputs
Download
–no license stated
DVD
dbis-MVSSM-DVD51 MB · the authors' outputs
Download
–no license stated
MVSSM-LGoPro
dbis-MVSSM-L121 MB · the authors' outputs
Download
dbisf-MVSSM-L9.7× faster · 4.4× smaller27 MB · GoPro −0.011 dB
Download
no license stated
BSD (exposure not stated)
dbis-MVSSM-L-BSD121 MB · the authors' outputs
Download
–no license stated
DVD
dbis-MVSSM-L-DVD121 MB · the authors' outputs
Download
–no license stated
NAFNet + DCPTall-in-one mix
dbis-DCPT-NAFNet271 MB · the authors' outputs
Download
–no license stated
NAFNet-32GoPro
dbis-NAFNet3268 MB · the authors' outputsalso NAFNet32plain
Download
–MIT
NAFNet-64GoPro
dbis-NAFNet-64271 MB · the authors' outputsalso NAFNet NAFNet64plain
Download
dbisf-NAFNet-641.3× faster · 4.1× smaller66 MB · GoPro −0.006 dB
Download
MIT
REDS with JPEG (NTIRE 2021)
dbis-NAFNet64plain-REDSjpeg271 MB · the authors' outputsalso NAFNet-REDSjpeg
Download
–MIT
PromptIR + DCPTall-in-one mix
dbis-DCPT-PromptIR142 MB · the authors' outputs
Download
–no license stated
ProResall-in-one mix
dbis-ProRes1485 MB · the authors' outputs
Download
–Apache-2.0
PSS-NSCGoPro
dbis-PSS-NSC15 MB · the authors' outputs
Download
dbisf-PSS-NSC1.4× faster · 4.4× smaller3.5 MB · GoPro +0.003 dB
Download
no license stated
PVDNetGoPro
dbis-PVDNet42 MB · close to the authors
Download
dbisf-PVDNet2.5× faster · 3.9× smaller11 MB · GoPro +0.004 dB
Download
AGPL
DVD
dbis-PVDNet-DVD42 MB · close to the authors
Download
–AGPL
R2Rall-in-one mix
dbis-R2R118 MB · the authors' outputsalso R2R-TLC
Download
–no license stated
RAM++all-in-one mix
dbis-RAMPlusPlus2600 MB · the authors' outputs
Download
–non-commercial
RestoreVARall-in-one mix
dbis-RestoreVAR1625 MB · the authors' outputs
Download
–no license stated
RestormerGoPro
dbis-Restormer105 MB · the authors' outputs
Download
dbisf-Restormer1.5× faster · 4.1× smaller26 MB · GoPro −0.000 dB
Download
MIT
Restormer + DCPTall-in-one mix
dbis-DCPT-Restormer104 MB · the authors' outputs
Download
–no license stated
Restormer + ID-BlauGoPro
dbis-IDBlau-Restormer105 MB · the authors' outputs
Download
dbisf-IDBlau-Restormer1.5× faster · 4.1× smaller26 MB · GoPro −0.007 dB
Download
no license stated
RealBlur-J
dbis-IDBlau-Restormer-RealBlurJ105 MB · the authors' outputs
Download
–no license stated
RealBlur-R
dbis-IDBlau-Restormer-RealBlurR105 MB · the authors' outputs
Download
–no license stated
RevD-SGoPro
dbis-RevD-S433 MB · the authors' outputs
Download
dbisf-RevD-S3.0× faster · 8.2× smaller105 MB · GoPro −0.002 dB
Download
non-commercial
RNN-MBPGoPro
dbis-RNN-MBP65 MB · the authors' outputs
Download
dbisf-RNN-MBP6.4× faster · 13.4× smaller15 MB · GoPro −0.026 dB
Download
no license stated
RT-FocuserGoPro
dbis-RT-Focuser24 MB · the authors' outputs
Download
dbisf-RT-Focuser1.6× faster · 3.9× smaller6.2 MB · GoPro +0.013 dB
Download
MIT
RT-VDBLRGoPro
dbis-RealTimeVDBLR4.2 MB · the authors' outputs
Download
dbisf-RealTimeVDBLR1.9× faster · 3.9× smaller1.1 MB · GoPro −0.005 dB
Download
AGPL
DVD
dbis-RealTimeVDBLR-DVD4.2 MB · the authors' outputs
Download
–AGPL
REDS
dbis-RealTimeVDBLR-REDS4.2 MB · the authors' outputs
Download
–AGPL
RVRTGoPro
dbis-rvrt57 MB · the authors' outputs
Download
dbisf-rvrt16.4× faster · 3.6× smaller16 MB · GoPro −0.002 dB
Download
non-commercial
DVD
dbis-rvrt-DVD57 MB · the authors' outputs
Download
–non-commercial
SFNetGoPro
dbis-SFNet53 MB · the authors' outputsalso SFNetTLC
Download
dbisf-SFNet1.7× faster · 11.6× smaller14 MB · GoPro +0.019 dB
Download
MIT
Shift-NetPlus–
dbis-Shift-NetPlus52 MB · the authors' outputs
Download
dbisf-Shift-NetPlus2.6× faster · 4.1× smaller13 MB
Download
no license stated
Shift-NetPlus-DVD–
dbis-Shift-NetPlus-DVD52 MB · the authors' outputs
Download
–no license stated
ShuffleFormerGoPro
dbis-ShuffleFormer203 MB · the authors' outputsalso ShuffleFormerr1 ShuffleFormertiled
Download
dbisf-ShuffleFormer8.9× faster · 15.3× smaller40 MB · GoPro −0.007 dBalso ShuffleFormerr1 ShuffleFormertiled
Download
no license stated
SIUNGoPro
dbis-SIUN25 MB · the authors' outputs
Download
dbisf-SIUN1.2× faster · 4.2× smaller6.1 MB · GoPro −0.009 dB
Download
no license stated
SLAIRall-in-one mix
dbis-SLAIR3119 MB · close to the authors
Download
–no license stated
StarIRGoPro
dbis-StarIR75 MB · the authors' outputsalso StarIR-TLC
Download
dbisf-StarIR1.9× faster · 2.4× smaller32 MB · GoPro −0.000 dBalso StarIR-TLC
Download
MIT
STDANGoPro
dbis-STDAN55 MB · close to the authors
Download
dbisf-STDAN5.7× faster · 3.5× smaller16 MB · GoPro +0.004 dB
Download
Apache-2.0
BSD 2ms/16ms
dbis-STDAN-BSD255 MB · close to the authors
Download
–Apache-2.0
DVD
dbis-STDAN-DVD55 MB · close to the authors
Download
–Apache-2.0
STDANet++GoPro
dbis-STDANetPP46 MB · close to the authorsalso STDANetPPtiled
Download
dbisf-STDANetPP6.2× faster · 3.5× smaller13 MB · GoPro +0.039 dBalso STDANetPPtiled
Download
MIT
BSD 2ms/16ms
dbis-STDANetPP-BSD246 MB · close to the authorsalso STDANetPPtiled-BSD2
Download
–MIT
DVD
dbis-STDANetPP-DVD46 MB · close to the authorsalso STDANetPPtiled-DVD
Download
–MIT
StoformerGoPro
dbis-Stoformer203 MB · the authors' outputsalso Stoformertiled
Download
dbisf-Stoformer7.6× faster · 13.2× smaller46 MB · GoPro −0.005 dBalso Stoformertiled
Download
no license stated
StripformerGoPro
dbis-Stripformer79 MB · the authors' outputs
Download
dbisf-Stripformer1.4× faster · 4.1× smaller19 MB · GoPro −0.004 dB
Download
non-commercial
RealBlur-J
dbis-Stripformer-RealBlurJ79 MB · the authors' outputs
Download
–non-commercial
RealBlur-R
dbis-Stripformer-RealBlurR79 MB · the authors' outputs
Download
–non-commercial
Stripformer + ID-BlauGoPro
dbis-IDBlau-Stripformer79 MB · the authors' outputs
Download
dbisf-IDBlau-Stripformer1.4× faster · 3.4× smaller23 MB · GoPro −0.001 dB
Download
no license stated
RealBlur-J
dbis-IDBlau-Stripformer-RealBlurJ79 MB · the authors' outputs
Download
–no license stated
RealBlur-R
dbis-IDBlau-Stripformer-RealBlurR79 MB · the authors' outputs
Download
–no license stated
SwinIR + DCPTall-in-one mix
dbis-DCPT-SwinIR46 MB · the authors' outputs
Download
–no license stated
TSRN-RTVDGoPro
dbis-TSRN-RTVD20 MB · the authors' outputs
Download
dbisf-TSRN-RTVD2.0× faster · 13.0× smaller4.5 MB · GoPro −0.002 dB
Download
BSD
TUR (TransWeather)all-in-one mix
dbis-TUR-TransWeather151 MB · the authors' outputs
Download
–no license stated
TurtleGoPro
dbis-Turtle236 MB · the authors' outputs
Download
dbisf-Turtle3.8× faster · 3.5× smaller68 MB · GoPro −0.028 dB
Download
MIT
UFPNetGoPro
dbis-UFPNet321 MB · the authors' outputsalso UFPNetTLC
Download
–no license stated
RealBlur-J
dbis-UFPNet-RealBlurJ321 MB · the authors' outputsalso UFPNetTLC-RealBlurJ
Download
–no license stated
RealBlur-R
dbis-UFPNet-RealBlurR321 MB · the authors' outputsalso UFPNetTLC-RealBlurR
Download
–no license stated
VDTRGoPro
dbis-VDTR93 MB · the authors' outputs
Download
dbisf-VDTR4.0× faster · 11.6× smaller24 MB · GoPro −0.001 dB
Download
MIT
BSD 2ms/16ms
dbis-VDTR-BSD293 MB · the authors' outputs
Download
–MIT
DVD
dbis-VDTR-DVD93 MB · the authors' outputs
Download
–MIT
VLU-Netall-in-one mix
dbis-VLU-Net496 MB · the authors' outputs
Download
–no license stated
VRNNGoPro–
dbisf-VRNN2.9× faster · 4.4× smaller4.6 MB · GoPro −0.010 dB
Download
no license stated
VRTGoPro
dbis-VRT106 MB · the authors' outputs
Download
–non-commercial
DVD
dbis-VRT-DVD106 MB · the authors' outputs
Download
–non-commercial
REDS
dbis-VRT-REDS106 MB · the authors' outputs
Download
–non-commercial
X-RestormerGoPro
dbis-X-Restormer104 MB · the authors' outputs
Download
dbisf-X-Restormer1.3× faster · 4.3× smaller24 MB · GoPro −0.000 dB
Download
MIT
XYScanNetGoPro
dbis-XYScanNet254 MB · the authors' outputs
Download
dbisf-XYScanNet1.5× faster · 3.5× smaller73 MB · GoPro −0.000 dB
Download
non-commercial
RealBlur-J
dbis-XYScanNet-RealBlurJ254 MB · the authors' outputs
Download
–non-commercial
RealBlur-R
dbis-XYScanNet-RealBlurR254 MB · the authors' outputs
Download
–non-commercial

Four methods in detail: load time and speed on one A100

ModelWeightsLoadTime per 720p frameGoPro PSNR
NAFNet-64, GoPro weights
authors' code272 MB3.06 s34.9 ms33.7103
dbis271 MB0.70 s33.5 ms33.7103
dbisf66 MB0.77 s26.6 ms33.7041
BSSTNet, GoPro weights
authors' code209 MB3.50 s25.6 s35.9662
dbis175 MB1.66 s30.6 s35.9662
dbisf42 MB1.71 s4.6 s35.9425
DSTNet+ L, GoPro weights
authors' code56 MB2.78 s3.0 s35.7078
dbis56 MB0.54 s3.4 s35.7078
dbisf16 MB0.60 s584.9 ms35.6999
Turtle, GoPro weights
authors' code237 MB0.69 s760.9 ms34.5598
dbis236 MB0.74 s723.9 ms34.5598
dbisf68 MB0.83 s198.7 ms34.5316

Load: a fresh process, from CUDA ready to the network with its weights on the GPU. Time: the benchmark's latency harness on one A100, 1280×720, batch 1, the three versions of a method on the same node. NAFNet-64: fp16 with torch.compile and CUDA graphs. BSSTNet: one window per output frame as in the leaderboard (48 frames for the authors' code and dbis, 24 for dbisf), each version in its fastest mode that runs (the authors' code fp16 with torch.compile, dbis fp16 eager, dbisf fp16 with its heavy blocks compiled). DSTNet+ L: a 27-frame window for every output frame as in the leaderboard; the authors' code and dbis in float32 (the authors' CuPy kernel has no float16), dbisf in float16 with its propagation blocks compiled. Turtle: one frame per step with the history carried, as the authors' tiled inference; each version in its fastest valid mode. PSNR: all 1,111 GoPro test frames. Every number: results/dbis/NAFNet-64.json, results/dbis/BSSTNet.json, results/dbis/DSTNetPlus-L.json, results/dbis/Turtle.json.

pip install "deblurring-is-solved[bsst] @ git+https://github.com/illaitar/deblurring-is-solved"   # the package, from GitHub

python -m dbis.run dbisf-Turtle blurry.mp4 sharp.mp4   # a video, a folder of frames or an image
python -m dbis.train dbisf-NAFNet-64 --data DIR        # training: the authors' recipe, the batch fitted to the GPU's memory

import dbis
net = dbis.load("dbisf-BSSTNet")       # every model the same way; the weight file comes from Hugging Face on first use
out = net.restore(frames)              # options: tile, tile_overlap, window, batch, precision, compile, out

# the files: https://huggingface.co/Illaitar/dbis (a folder per model), or made from the authors' checkpoints
python -m dbis.convert NAFNet-64 NAFNet-GoPro-width64.pth          # -> weights/dbis/
python -m dbis.convert BSSTNet BSST_gopro.pth raft-things.pth      # BSST and its RAFT
python -m dbis.convert DSTNetPlus-L DSTNetPlus_L_gopro.pth

Anatomy of the networks

Where each network keeps its parameters and where its compute goes, block by block, on one 1280×720 frame. Pick the networks to compare; tap a block or a scale for its numbers.

NETWORKS
COLOUR
WIDTH
Share of the parameters at each scale

Scale: the resolution a block works at, relative to the frame the network takes in. Tap a scale to light up its blocks below.

Every block, in the order the frame goes through them
Tap a block for its name, size and cost.

A block is one unit of a network's design (NAFNet's NAF block, Concertormer's CSA block, Turtle's attention block, DSTNet+'s residual blocks, BSSTNet's alignment, sparse transformer and shift blocks); the narrow columns between blocks are the other layers (scale changes, first and last convolutions), and BSSTNet's RAFT, which it keeps fixed, is one cell.

Counted on our dbis code with PyTorch's FLOP counter on one 1280×720 frame (FLOPs = 2 × multiply-adds), the frame padded as each network pads it: python tools/anatomy.py. Video networks per frame: DSTNet+ and BSSTNet on an 8-frame clip (BSSTNet on real GoPro frames, since its sparse attention picks tokens by the blur), Turtle on its second frame, with its history. The dbisf versions have the same blocks.

06

Get started

1 · Get the code
git clone https://github.com/illaitar/deblurring-is-solved
2 · Run a model
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbisf-NAFNet-64 blurry.png sharp.png
3 · Take the numbers

Every score: leaderboard.csv; per sequence and per frame: results/ in the repository.