dbis-BSSTNet / README.md
Illaitar's picture
dbis-BSSTNet: weight file, cards and terms (1/1)
dc56d68 verified
|
Raw History Blame Contribute Delete
2.07 kB
metadata
license: other
license_name: mit-and-bsd-3-clause
license_link: LICENSE.md
library_name: pytorch
pipeline_tag: image-to-image
tags:
  - deblurring
  - motion-deblurring
  - video-deblurring
  - image-restoration
  - dbis

dbis-BSSTNet

BSSTNet (Blur-aware Spatio-temporal Sparse Transformer for Video Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' GoPro checkpoint by python -m dbis.convert of deblurring is solved? (benchmark site); the authors' code: https://github.com/huicongzhang/BSSTNet.

The same method faster and lighter: Illaitar/dbisf-BSSTNet. Every model: the dbis collection.

Use

pip install "deblurring-is-solved[bsst] @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbis-BSSTNet blurry_frames/ sharp_frames/   # a folder of frames (one clip) or a video file
import dbis
net = dbis.load("dbis-BSSTNet")   # fetches the file from this repository 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 GoPro PSNR, dB Time per 720p frame
dbis-BSSTNet.safetensors 175 MB 35.9662 30.58 s
the authors' code and checkpoint 209 MB 35.9662 25.56 s

PSNR: the 1,111 GoPro test frames, 8-bit outputs. Time: the benchmark's latency harness, one A100, batch 1 (DBIS.md has every number and option).

dbis-BSSTNet.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: see LICENSE.md and licenses/. Cite the method's paper when you use its weights.