Illaitar's picture
Name without the question mark: deblurring is solved
5916661 verified
|
Raw History Blame Contribute Delete
1.96 kB
metadata
license: apache-2.0
library_name: pytorch
pipeline_tag: image-to-image
tags:
  - deblurring
  - motion-deblurring
  - video-deblurring
  - image-restoration
  - dbis

dbis-DSTNetPlus-base

DSTNet+ base (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of deblurring is solved (benchmark site); the authors' code: https://github.com/sunny2109/DSTNet-plus.

The same checkpoint in other versions: dbisf-DSTNetPlus-base. Every model: the index of Illaitar/dbis.

Use

pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbis-DSTNetPlus-base blurry_frames/ sharp_frames/   # a folder of frames (one clip) or a video file
hf download Illaitar/dbis dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors   # this file alone, without the package
import dbis
net = dbis.load("dbis-DSTNetPlus-base")   # fetches only this folder's file on first use and checks its sha256
out = net.restore(frames)   # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]

File

File Size
dbis-DSTNetPlus-base.safetensors 16 MB

The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).

dbis-DSTNetPlus-base.json here has the file's sha256, the source checkpoint and its md5, and the network's arguments. .safetensors, float32.

Terms

The file keeps the terms of the checkpoint it is made from: Apache-2.0. See LICENSE.md and licenses/. Cite the method's paper when you use its weights.