dbisf-DSTNetPlus-L / README.md
Illaitar's picture
dbisf-DSTNetPlus-L: weight file, cards and terms (1/1)
78e358c verified
|
Raw History Blame Contribute Delete
2.21 kB
---
license: apache-2.0
library_name: pytorch
pipeline_tag: image-to-image
tags:
- deblurring
- motion-deblurring
- video-deblurring
- image-restoration
- dbis
---
# dbisf-DSTNetPlus-L
DSTNet+ L (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' GoPro checkpoint by `python -m dbis.convert` of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/sunny2109/DSTNet-plus.
The same method with the authors' outputs: [Illaitar/dbis-DSTNetPlus-L](https://huggingface.co/Illaitar/dbis-DSTNetPlus-L).
Every model: the [dbis collection](https://huggingface.co/collections/Illaitar/dbis-6b09930cbf629d8d89c027ba).
## Use
```bash
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbisf-DSTNetPlus-L blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
```
```python
import dbis
net = dbis.load("dbisf-DSTNetPlus-L") # 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 |
|---|---:|---:|---:|
| `dbisf-DSTNetPlus-L.wpk` | 16 MB | 35.6999 | 584.9 ms |
| the authors' code and checkpoint | 56 MB | 35.7078 | 3.01 s |
PSNR: the 1,111 GoPro test frames, 8-bit outputs. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md) has every number and option).
`dbisf-DSTNetPlus-L.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
## 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.