one folder per model: weight file, cards and terms (15/15)
Browse files- dbisf-Stoformertiled/README.md +50 -0
- dbisf-Stoformertiled/dbisf-Stoformer.json +28 -0
- dbisf-Stoformertiled/dbisf-Stoformer.wpk +3 -0
- dbisf-TSRN-RTVD/LICENSE.md +9 -0
- dbisf-TSRN-RTVD/README.md +47 -0
- dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.json +48 -0
- dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.wpk +3 -0
- dbisf-TSRN-RTVD/licenses/tsrn-rtvd-LICENSE.txt +3 -0
- dbisf-Turtle/README.md +4 -4
- dbisf-VDTR/LICENSE.md +7 -0
- dbisf-VDTR/README.md +47 -0
- dbisf-VDTR/dbisf-VDTR.json +30 -0
- dbisf-VDTR/dbisf-VDTR.wpk +3 -0
- dbisf-VDTR/licenses/VDTR-LICENSE.txt +3 -0
- dbisf-VRNN/LICENSE.md +9 -0
- dbisf-VRNN/README.md +50 -0
- dbisf-VRNN/dbisf-VRNN.json +33 -0
- dbisf-VRNN/dbisf-VRNN.wpk +3 -0
- dbisf-XYScanNet/LICENSE.md +9 -0
- dbisf-XYScanNet/README.md +50 -0
- dbisf-XYScanNet/dbisf-XYScanNet.json +27 -0
- dbisf-XYScanNet/dbisf-XYScanNet.wpk +3 -0
- dbisf-XYScanNet/licenses/XYScanNet-LICENSE.txt +3 -0
- dbisf-rvrt/LICENSE.md +9 -0
- dbisf-rvrt/README.md +49 -0
- dbisf-rvrt/dbisf-rvrt.json +27 -0
- dbisf-rvrt/dbisf-rvrt.wpk +3 -0
- dbisf-rvrt/licenses/RVRT-LICENSE.txt +3 -0
dbisf-Stoformertiled/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: no-license-stated
|
| 4 |
+
license_link: LICENSE.md
|
| 5 |
+
library_name: pytorch
|
| 6 |
+
pipeline_tag: image-to-image
|
| 7 |
+
tags:
|
| 8 |
+
- deblurring
|
| 9 |
+
- motion-deblurring
|
| 10 |
+
- image-restoration
|
| 11 |
+
- dbis
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# dbisf-Stoformertiled
|
| 15 |
+
|
| 16 |
+
> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights.
|
| 17 |
+
|
| 18 |
+
Stoformer (Stochastic Window Transformer for Image Restoration, NeurIPS 2022) 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' checkpoint (trained on GoPro) by the conversion 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/jiexiaou/Stoformer.
|
| 19 |
+
|
| 20 |
+
The same checkpoint in other versions: [dbis-Stoformer](https://huggingface.co/Illaitar/dbis/tree/main/dbis-Stoformer), [dbis-Stoformertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-Stoformertiled), [dbisf-Stoformer](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-Stoformer).
|
| 21 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 22 |
+
|
| 23 |
+
## Use
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
python -m dbis.run dbisf-Stoformertiled blurry.png sharp.png # an image, a folder of frames or a video
|
| 28 |
+
hf download Illaitar/dbis dbisf-Stoformertiled/dbisf-Stoformer.wpk # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbisf-Stoformertiled") # fetches only this folder's file on first use and checks its sha256
|
| 34 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## File
|
| 38 |
+
|
| 39 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 40 |
+
|---|---:|---:|---:|
|
| 41 |
+
| `dbisf-Stoformer.wpk` | 46 MB | 33.2240 | 180.2 ms |
|
| 42 |
+
| the authors' code and checkpoint | 608 MB | 33.2303 | 14.54 s |
|
| 43 |
+
|
| 44 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 45 |
+
|
| 46 |
+
`dbisf-Stoformer.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).
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
The file keeps the terms of the checkpoint it is made from: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights.
|
dbisf-Stoformertiled/dbisf-Stoformer.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-Stoformertiled",
|
| 3 |
+
"file": "dbisf-Stoformer.wpk",
|
| 4 |
+
"path": "dbisf-Stoformertiled/dbisf-Stoformer.wpk",
|
| 5 |
+
"bytes": 45930917,
|
| 6 |
+
"sha256": "344cfe337cefc6f011637ef7455044ee70e7ecfbfb5c50943a9e751273bac7a1",
|
| 7 |
+
"store": "qc32",
|
| 8 |
+
"class": "dbis.stoformer.Stoformer",
|
| 9 |
+
"args": {
|
| 10 |
+
"tiled": true,
|
| 11 |
+
"fast": true
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "Stoformer",
|
| 15 |
+
"paper": "Stochastic Window Transformer for Image Restoration",
|
| 16 |
+
"venue": "NeurIPS 2022",
|
| 17 |
+
"code": "https://github.com/jiexiaou/Stoformer",
|
| 18 |
+
"commit": "466391c159bb06a32e2c8d7c094a8e89aad91fac",
|
| 19 |
+
"license": "none stated (the repository has no LICENSE file); all rights with the authors",
|
| 20 |
+
"url": "https://drive.google.com/file/d/1pURNZs24nXQqEzOJvFtC1wrNMasOQ0lQ/view",
|
| 21 |
+
"file": "sto_gopro.pth",
|
| 22 |
+
"md5": "b48880fd98bd3cfc310f0c3d91a9496a",
|
| 23 |
+
"group": "state_dict",
|
| 24 |
+
"trained_on": "GoPro"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbisf-Stoformertiled\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbisf-Stoformertiled/dbisf-Stoformer.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:344cfe337cefc6f011637ef7455044ee70e7ecfbfb5c50943a9e751273bac7a1
|
| 3 |
+
size 45930917
|
dbisf-TSRN-RTVD/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-TSRN-RTVD.wpk` | `tsrnn_bt1_exact_ft.pth` of [msu-video-group/tsrn-rtvd](https://github.com/msu-video-group/tsrn-rtvd) (commit 144587a) | BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab (`licenses/tsrn-rtvd-LICENSE.txt`) |
|
| 6 |
+
| the same file | `tinydelta3d_k3_108x192.pt` of [msu-video-group/tsrn-rtvd](https://github.com/msu-video-group/tsrn-rtvd) | BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab (`licenses/tsrn-rtvd-LICENSE.txt`) |
|
| 7 |
+
| the same file | `tinydelta3d_k3_108x192_stats.pt` of [msu-video-group/tsrn-rtvd](https://github.com/msu-video-group/tsrn-rtvd) | BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab (`licenses/tsrn-rtvd-LICENSE.txt`) |
|
| 8 |
+
|
| 9 |
+
Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
|
dbisf-TSRN-RTVD/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: bsd-3-clause
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- deblurring
|
| 7 |
+
- motion-deblurring
|
| 8 |
+
- video-deblurring
|
| 9 |
+
- image-restoration
|
| 10 |
+
- dbis
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# dbisf-TSRN-RTVD
|
| 14 |
+
|
| 15 |
+
TSRN-RTVD (TSRN-RTVD: Real-Time Video Deblurring System, arXiv 2026) 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' checkpoint (trained on GoPro) by the conversion 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/msu-video-group/tsrn-rtvd.
|
| 16 |
+
|
| 17 |
+
The same checkpoint in other versions: [dbis-TSRN-RTVD](https://huggingface.co/Illaitar/dbis/tree/main/dbis-TSRN-RTVD).
|
| 18 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 19 |
+
|
| 20 |
+
## Use
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 24 |
+
python -m dbis.run dbisf-TSRN-RTVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 25 |
+
hf download Illaitar/dbis dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.wpk # this file alone, without the package
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
import dbis
|
| 30 |
+
net = dbis.load("dbisf-TSRN-RTVD") # fetches only this folder's file on first use and checks its sha256
|
| 31 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## File
|
| 35 |
+
|
| 36 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 37 |
+
|---|---:|---:|---:|
|
| 38 |
+
| `dbisf-TSRN-RTVD.wpk` | 5 MB | 30.0678 | 6.8 ms |
|
| 39 |
+
| the authors' code and checkpoint | 59 MB | 30.0702 | 13.4 ms |
|
| 40 |
+
|
| 41 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 42 |
+
|
| 43 |
+
`dbisf-TSRN-RTVD.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).
|
| 44 |
+
|
| 45 |
+
## Terms
|
| 46 |
+
|
| 47 |
+
The file keeps the terms of the checkpoint it is made from: BSD-3-Clause. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
|
dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-TSRN-RTVD",
|
| 3 |
+
"file": "dbisf-TSRN-RTVD.wpk",
|
| 4 |
+
"path": "dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.wpk",
|
| 5 |
+
"bytes": 4531616,
|
| 6 |
+
"sha256": "b6f4b944add7a3359054fc5d93347c79b23700a5735485eb602dbba4d6c6f98a",
|
| 7 |
+
"store": "qc32",
|
| 8 |
+
"class": "dbis.tsrnrtvd.TSRNRTVD",
|
| 9 |
+
"args": {
|
| 10 |
+
"fast": true,
|
| 11 |
+
"precision": "fp16",
|
| 12 |
+
"channels_last": true,
|
| 13 |
+
"fold_pose": true
|
| 14 |
+
},
|
| 15 |
+
"source": {
|
| 16 |
+
"method": "TSRN-RTVD",
|
| 17 |
+
"paper": "TSRN-RTVD: Real-Time Video Deblurring System",
|
| 18 |
+
"venue": "arXiv 2026",
|
| 19 |
+
"code": "https://github.com/msu-video-group/tsrn-rtvd",
|
| 20 |
+
"commit": "144587a25b692f00c830c0e899c27e7cf7754b59",
|
| 21 |
+
"license": "BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab",
|
| 22 |
+
"url": "https://huggingface.co/egorchistov/deblurring-tsrn-rtvd (checkpoints/tsrnn_bt1_exact_ft.pth)",
|
| 23 |
+
"file": "tsrnn_bt1_exact_ft.pth",
|
| 24 |
+
"md5": "e28b8152deb1e67819792f6da9b0f1ca",
|
| 25 |
+
"group": "model",
|
| 26 |
+
"trained_on": "GoPro",
|
| 27 |
+
"extra": [
|
| 28 |
+
{
|
| 29 |
+
"file": "tinydelta3d_k3_108x192.pt",
|
| 30 |
+
"md5": "d80490acf3ef981c3412a30e36cf88d1",
|
| 31 |
+
"group": "model",
|
| 32 |
+
"url": "https://huggingface.co/egorchistov/deblurring-tsrn-rtvd (checkpoints/tinydelta3d_k3_108x192.pt)",
|
| 33 |
+
"code": "https://github.com/msu-video-group/tsrn-rtvd",
|
| 34 |
+
"license": "BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"file": "tinydelta3d_k3_108x192_stats.pt",
|
| 38 |
+
"md5": "7645e352407f2d308c5b542c1de80c12",
|
| 39 |
+
"group": null,
|
| 40 |
+
"url": "https://huggingface.co/egorchistov/deblurring-tsrn-rtvd (checkpoints/tinydelta3d_k3_108x192_stats.pt)",
|
| 41 |
+
"code": "https://github.com/msu-video-group/tsrn-rtvd",
|
| 42 |
+
"license": "BSD 3-Clause, Copyright (c) 2026, MSU Graphics & Media Lab"
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
"load": "import dbis; net = dbis.load(\"dbisf-TSRN-RTVD\")",
|
| 47 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 48 |
+
}
|
dbisf-TSRN-RTVD/dbisf-TSRN-RTVD.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6f4b944add7a3359054fc5d93347c79b23700a5735485eb602dbba4d6c6f98a
|
| 3 |
+
size 4531616
|
dbisf-TSRN-RTVD/licenses/tsrn-rtvd-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48fa82b8d1c930e3d97e2714127fbd65b502ceeab649e1455befb3af445e7bc2
|
| 3 |
+
size 1510
|
dbisf-Turtle/README.md
CHANGED
|
@@ -12,9 +12,9 @@ tags:
|
|
| 12 |
|
| 13 |
# dbisf-Turtle
|
| 14 |
|
| 15 |
-
Turtle (Learning Truncated Causal History Model for Video Restoration, NeurIPS 2024) 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'
|
| 16 |
|
| 17 |
-
The same
|
| 18 |
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 19 |
|
| 20 |
## Use
|
|
@@ -38,10 +38,10 @@ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
|
| 38 |
| `dbisf-Turtle.wpk` | 68 MB | 34.5316 | 198.7 ms |
|
| 39 |
| the authors' code and checkpoint | 237 MB | 34.5598 | 760.9 ms |
|
| 40 |
|
| 41 |
-
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)
|
| 42 |
|
| 43 |
`dbisf-Turtle.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).
|
| 44 |
|
| 45 |
## Terms
|
| 46 |
|
| 47 |
-
The file keeps the terms of the checkpoint it is made from:
|
|
|
|
| 12 |
|
| 13 |
# dbisf-Turtle
|
| 14 |
|
| 15 |
+
Turtle (Learning Truncated Causal History Model for Video Restoration, NeurIPS 2024) 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' checkpoint (trained on GoPro) by the conversion 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/Ascend-Research/Turtle.
|
| 16 |
|
| 17 |
+
The same checkpoint in other versions: [dbis-Turtle](https://huggingface.co/Illaitar/dbis/tree/main/dbis-Turtle).
|
| 18 |
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 19 |
|
| 20 |
## Use
|
|
|
|
| 38 |
| `dbisf-Turtle.wpk` | 68 MB | 34.5316 | 198.7 ms |
|
| 39 |
| the authors' code and checkpoint | 237 MB | 34.5598 | 760.9 ms |
|
| 40 |
|
| 41 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 42 |
|
| 43 |
`dbisf-Turtle.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).
|
| 44 |
|
| 45 |
## Terms
|
| 46 |
|
| 47 |
+
The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
|
dbisf-VDTR/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-VDTR.wpk` | `001_VDTR_GOPRO.pth` of [ljzycmd/VDTR](https://github.com/ljzycmd/VDTR) (commit d37d41e) | MIT, Copyright (c) 2024 Mingdeng (`licenses/VDTR-LICENSE.txt`) |
|
| 6 |
+
|
| 7 |
+
Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
|
dbisf-VDTR/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- deblurring
|
| 7 |
+
- motion-deblurring
|
| 8 |
+
- video-deblurring
|
| 9 |
+
- image-restoration
|
| 10 |
+
- dbis
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# dbisf-VDTR
|
| 14 |
+
|
| 15 |
+
VDTR (VDTR: Video Deblurring with Transformer, IEEE TCSVT 2022) 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' checkpoint (trained on GoPro) by the conversion 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/ljzycmd/VDTR.
|
| 16 |
+
|
| 17 |
+
The same checkpoint in other versions: [dbis-VDTR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-VDTR).
|
| 18 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 19 |
+
|
| 20 |
+
## Use
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 24 |
+
python -m dbis.run dbisf-VDTR blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 25 |
+
hf download Illaitar/dbis dbisf-VDTR/dbisf-VDTR.wpk # this file alone, without the package
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
import dbis
|
| 30 |
+
net = dbis.load("dbisf-VDTR") # fetches only this folder's file on first use and checks its sha256
|
| 31 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## File
|
| 35 |
+
|
| 36 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 37 |
+
|---|---:|---:|---:|
|
| 38 |
+
| `dbisf-VDTR.wpk` | 24 MB | 33.1862 | 29.9 ms |
|
| 39 |
+
| the authors' code and checkpoint | 278 MB | 33.1869 | 118.3 ms |
|
| 40 |
+
|
| 41 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 42 |
+
|
| 43 |
+
`dbisf-VDTR.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).
|
| 44 |
+
|
| 45 |
+
## Terms
|
| 46 |
+
|
| 47 |
+
The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
|
dbisf-VDTR/dbisf-VDTR.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-VDTR",
|
| 3 |
+
"file": "dbisf-VDTR.wpk",
|
| 4 |
+
"path": "dbisf-VDTR/dbisf-VDTR.wpk",
|
| 5 |
+
"bytes": 24065690,
|
| 6 |
+
"sha256": "22d0a7232de01a984ac82c63f014163f24ba7a6bf4a4357e5d4feb4c13e9a360",
|
| 7 |
+
"store": "qc64",
|
| 8 |
+
"class": "dbis.vdtr.VDTR",
|
| 9 |
+
"args": {
|
| 10 |
+
"fast": true,
|
| 11 |
+
"precision": "fp16",
|
| 12 |
+
"window": 48,
|
| 13 |
+
"stream": "fp16"
|
| 14 |
+
},
|
| 15 |
+
"source": {
|
| 16 |
+
"method": "VDTR",
|
| 17 |
+
"paper": "VDTR: Video Deblurring with Transformer",
|
| 18 |
+
"venue": "IEEE TCSVT 2022",
|
| 19 |
+
"code": "https://github.com/ljzycmd/VDTR",
|
| 20 |
+
"commit": "d37d41ee83f7ef7b7783454a5f56908e95c47636",
|
| 21 |
+
"license": "MIT, Copyright (c) 2024 Mingdeng",
|
| 22 |
+
"url": "https://drive.google.com/uc?id=1zmAmjOa0sdXl0rNWxB6tF7QlDYuQpqDg",
|
| 23 |
+
"file": "001_VDTR_GOPRO.pth",
|
| 24 |
+
"md5": "341b21ce32008c2d2771972475d84966",
|
| 25 |
+
"group": "model",
|
| 26 |
+
"trained_on": "GoPro"
|
| 27 |
+
},
|
| 28 |
+
"load": "import dbis; net = dbis.load(\"dbisf-VDTR\")",
|
| 29 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 30 |
+
}
|
dbisf-VDTR/dbisf-VDTR.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22d0a7232de01a984ac82c63f014163f24ba7a6bf4a4357e5d4feb4c13e9a360
|
| 3 |
+
size 24065690
|
dbisf-VDTR/licenses/VDTR-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20fccf6a1c2b7f570b3bfe11bfeb2b8da97a329332efe7d2cb06c6fbd5c408cb
|
| 3 |
+
size 1065
|
dbisf-VRNN/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-VRNN.wpk` | `VRNN_GOPRO.pth` of [Ydo-W/Versatile-recurrent-neural-network](https://github.com/Ydo-W/Versatile-recurrent-neural-network) (commit 5f35e2b) | **No license stated.** none stated by the repository (no LICENSE file): all rights reserved by the authors (no license file in the repository) |
|
| 6 |
+
|
| 7 |
+
No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use.
|
| 8 |
+
|
| 9 |
+
Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
|
dbisf-VRNN/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: no-license-stated
|
| 4 |
+
license_link: LICENSE.md
|
| 5 |
+
library_name: pytorch
|
| 6 |
+
pipeline_tag: image-to-image
|
| 7 |
+
tags:
|
| 8 |
+
- deblurring
|
| 9 |
+
- motion-deblurring
|
| 10 |
+
- video-deblurring
|
| 11 |
+
- image-restoration
|
| 12 |
+
- dbis
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# dbisf-VRNN
|
| 16 |
+
|
| 17 |
+
> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights.
|
| 18 |
+
|
| 19 |
+
VRNN (Versatile recurrent neural network for wide types of video restoration, Pattern Recognition 2023) 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' checkpoint (trained on GoPro (released demo checkpoint; full train set or the 2-sequence demo subset not stated)) by the conversion 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/Ydo-W/Versatile-recurrent-neural-network.
|
| 20 |
+
|
| 21 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 22 |
+
|
| 23 |
+
## Use
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
python -m dbis.run dbisf-VRNN blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 28 |
+
hf download Illaitar/dbis dbisf-VRNN/dbisf-VRNN.wpk # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbisf-VRNN") # fetches only this folder's file on first use and checks its sha256
|
| 34 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## File
|
| 38 |
+
|
| 39 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 40 |
+
|---|---:|---:|---:|
|
| 41 |
+
| `dbisf-VRNN.wpk` | 5 MB | 31.8017 | 62.2 ms |
|
| 42 |
+
| the authors' code and checkpoint | 20 MB | 31.8120 | 178.9 ms |
|
| 43 |
+
|
| 44 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 45 |
+
|
| 46 |
+
`dbisf-VRNN.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).
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
The file keeps the terms of the checkpoint it is made from: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights.
|
dbisf-VRNN/dbisf-VRNN.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-VRNN",
|
| 3 |
+
"file": "dbisf-VRNN.wpk",
|
| 4 |
+
"path": "dbisf-VRNN/dbisf-VRNN.wpk",
|
| 5 |
+
"bytes": 4603686,
|
| 6 |
+
"sha256": "99d4a34750f525253b84e4530a475ded0341a9a7abe794049c8e94f547dc411b",
|
| 7 |
+
"store": "qc32",
|
| 8 |
+
"class": "dbis.vrnn.VRNN",
|
| 9 |
+
"args": {
|
| 10 |
+
"ff": 2,
|
| 11 |
+
"fb": 2,
|
| 12 |
+
"n_blocks": 18,
|
| 13 |
+
"n_feats": 16,
|
| 14 |
+
"window": 10,
|
| 15 |
+
"fast": true,
|
| 16 |
+
"fast_rdb": true
|
| 17 |
+
},
|
| 18 |
+
"source": {
|
| 19 |
+
"method": "VRNN",
|
| 20 |
+
"paper": "Versatile recurrent neural network for wide types of video restoration",
|
| 21 |
+
"venue": "Pattern Recognition 2023",
|
| 22 |
+
"code": "https://github.com/Ydo-W/Versatile-recurrent-neural-network",
|
| 23 |
+
"commit": "5f35e2bbb1952764f59e1804f4d1c2a8aa822863",
|
| 24 |
+
"license": "none stated by the repository (no LICENSE file): all rights reserved by the authors",
|
| 25 |
+
"url": "https://github.com/Ydo-W/Versatile-recurrent-neural-network/raw/5f35e2bbb1952764f59e1804f4d1c2a8aa822863/checkpoints/VRNN_GOPRO.pth",
|
| 26 |
+
"file": "VRNN_GOPRO.pth",
|
| 27 |
+
"md5": "cb4173348199f0dcc4bc6727918fc737",
|
| 28 |
+
"group": "model",
|
| 29 |
+
"trained_on": "GoPro (released demo checkpoint; full train set or the 2-sequence demo subset not stated)"
|
| 30 |
+
},
|
| 31 |
+
"load": "import dbis; net = dbis.load(\"dbisf-VRNN\")",
|
| 32 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 33 |
+
}
|
dbisf-VRNN/dbisf-VRNN.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99d4a34750f525253b84e4530a475ded0341a9a7abe794049c8e94f547dc411b
|
| 3 |
+
size 4603686
|
dbisf-XYScanNet/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-XYScanNet.wpk` | `best_XYScanNet_stage2.pth` of [HanzhouLiu/XYScanNet](https://github.com/HanzhouLiu/XYScanNet) (commit 787f853) | **Non-commercial use only.** MIT-style text restricted to non-commercial use, Copyright (c) 2025 Hanzhou Liu (`licenses/XYScanNet-LICENSE.txt`) |
|
| 6 |
+
|
| 7 |
+
Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file.
|
| 8 |
+
|
| 9 |
+
Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
|
dbisf-XYScanNet/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: non-commercial-terms-of-the-authors
|
| 4 |
+
license_link: LICENSE.md
|
| 5 |
+
library_name: pytorch
|
| 6 |
+
pipeline_tag: image-to-image
|
| 7 |
+
tags:
|
| 8 |
+
- deblurring
|
| 9 |
+
- motion-deblurring
|
| 10 |
+
- image-restoration
|
| 11 |
+
- dbis
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# dbisf-XYScanNet
|
| 15 |
+
|
| 16 |
+
> **Non-commercial use only**: this file keeps the terms of its source checkpoint, MIT-style, non-commercial (see `LICENSE.md`).
|
| 17 |
+
|
| 18 |
+
XYScanNet (XYScanNet: A State Space Model for Single Image Deblurring, CVPR 2025 Workshops (NTIRE)) 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' checkpoint (trained on GoPro) by the conversion 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/HanzhouLiu/XYScanNet.
|
| 19 |
+
|
| 20 |
+
The same checkpoint in other versions: [dbis-XYScanNet](https://huggingface.co/Illaitar/dbis/tree/main/dbis-XYScanNet).
|
| 21 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 22 |
+
|
| 23 |
+
## Use
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
python -m dbis.run dbisf-XYScanNet blurry.png sharp.png # an image, a folder of frames or a video
|
| 28 |
+
hf download Illaitar/dbis dbisf-XYScanNet/dbisf-XYScanNet.wpk # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbisf-XYScanNet") # fetches only this folder's file on first use and checks its sha256
|
| 34 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## File
|
| 38 |
+
|
| 39 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 40 |
+
|---|---:|---:|---:|
|
| 41 |
+
| `dbisf-XYScanNet.wpk` | 73 MB | 33.9068 | 281.8 ms |
|
| 42 |
+
| the authors' code and checkpoint | 254 MB | 33.9071 | 424.6 ms |
|
| 43 |
+
|
| 44 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 45 |
+
|
| 46 |
+
`dbisf-XYScanNet.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).
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
The file keeps the terms of the checkpoint it is made from: MIT-style, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
|
dbisf-XYScanNet/dbisf-XYScanNet.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-XYScanNet",
|
| 3 |
+
"file": "dbisf-XYScanNet.wpk",
|
| 4 |
+
"path": "dbisf-XYScanNet/dbisf-XYScanNet.wpk",
|
| 5 |
+
"bytes": 73453796,
|
| 6 |
+
"sha256": "711690e10150911726b3b51bbf141c01ad23313843df8a83a2bbc25b76ecc573",
|
| 7 |
+
"store": "qc128",
|
| 8 |
+
"class": "dbis.xyscannet.XYScanNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"fast": true
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "XYScanNet",
|
| 14 |
+
"paper": "XYScanNet: A State Space Model for Single Image Deblurring",
|
| 15 |
+
"venue": "CVPR 2025 Workshops (NTIRE)",
|
| 16 |
+
"code": "https://github.com/HanzhouLiu/XYScanNet",
|
| 17 |
+
"commit": "787f853bc4f7cbe3363336d7aeec4aaae9df1cb3",
|
| 18 |
+
"license": "MIT-style text restricted to non-commercial use, Copyright (c) 2025 Hanzhou Liu",
|
| 19 |
+
"url": "https://drive.google.com/drive/folders/10nu5WiA05Dv4q12A0XiISGMmXd6gyiYE",
|
| 20 |
+
"file": "best_XYScanNet_stage2.pth",
|
| 21 |
+
"md5": "25b1853756f26332b94e3fdb9c605114",
|
| 22 |
+
"group": null,
|
| 23 |
+
"trained_on": "GoPro"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbisf-XYScanNet\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbisf-XYScanNet/dbisf-XYScanNet.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:711690e10150911726b3b51bbf141c01ad23313843df8a83a2bbc25b76ecc573
|
| 3 |
+
size 73453796
|
dbisf-XYScanNet/licenses/XYScanNet-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5baffd3566ed53e06ef1a44dbdf6c76b8172a924ad3b5a395f51c6b2ab81185
|
| 3 |
+
size 1762
|
dbisf-rvrt/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-rvrt.wpk` | `005_RVRT_videodeblurring_GoPro_16frames.pth` of [JingyunLiang/RVRT](https://github.com/JingyunLiang/RVRT) (commit a5d406c) | **Non-commercial use only.** CC BY-NC 4.0 (Attribution-NonCommercial 4.0 International), non-commercial use only; source headers say Copyright (c) Facebook, Inc. and its affiliates, BSD (`licenses/RVRT-LICENSE.txt`) |
|
| 6 |
+
|
| 7 |
+
Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file.
|
| 8 |
+
|
| 9 |
+
Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
|
dbisf-rvrt/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- deblurring
|
| 7 |
+
- motion-deblurring
|
| 8 |
+
- video-deblurring
|
| 9 |
+
- image-restoration
|
| 10 |
+
- dbis
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# dbisf-rvrt
|
| 14 |
+
|
| 15 |
+
> **Non-commercial use only**: this file keeps the terms of its source checkpoint, CC BY-NC 4.0, non-commercial (see `LICENSE.md`).
|
| 16 |
+
|
| 17 |
+
RVRT (Recurrent Video Restoration Transformer with Guided Deformable Attention, NeurIPS 2022) 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' checkpoint (trained on GoPro) by the conversion 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/JingyunLiang/RVRT.
|
| 18 |
+
|
| 19 |
+
The same checkpoint in other versions: [dbis-rvrt](https://huggingface.co/Illaitar/dbis/tree/main/dbis-rvrt).
|
| 20 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 21 |
+
|
| 22 |
+
## Use
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 26 |
+
python -m dbis.run dbisf-rvrt blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 27 |
+
hf download Illaitar/dbis dbisf-rvrt/dbisf-rvrt.wpk # this file alone, without the package
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import dbis
|
| 32 |
+
net = dbis.load("dbisf-rvrt") # fetches only this folder's file on first use and checks its sha256
|
| 33 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## File
|
| 37 |
+
|
| 38 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 39 |
+
|---|---:|---:|---:|
|
| 40 |
+
| `dbisf-rvrt.wpk` | 16 MB | 34.9159 | 423.1 ms |
|
| 41 |
+
| the authors' code and checkpoint | 57 MB | 34.9174 | 6.94 s |
|
| 42 |
+
|
| 43 |
+
PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
|
| 44 |
+
|
| 45 |
+
`dbisf-rvrt.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).
|
| 46 |
+
|
| 47 |
+
## Terms
|
| 48 |
+
|
| 49 |
+
The file keeps the terms of the checkpoint it is made from: CC BY-NC 4.0, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
|
dbisf-rvrt/dbisf-rvrt.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-rvrt",
|
| 3 |
+
"file": "dbisf-rvrt.wpk",
|
| 4 |
+
"path": "dbisf-rvrt/dbisf-rvrt.wpk",
|
| 5 |
+
"bytes": 15875198,
|
| 6 |
+
"sha256": "bdfee606b1f6cf1ada3d0a5df55f2a50f2afeead3b899a29b6250c241ac9d185",
|
| 7 |
+
"store": "qc128",
|
| 8 |
+
"class": "dbis.rvrt.RVRT",
|
| 9 |
+
"args": {
|
| 10 |
+
"fast": true
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "RVRT",
|
| 14 |
+
"paper": "Recurrent Video Restoration Transformer with Guided Deformable Attention",
|
| 15 |
+
"venue": "NeurIPS 2022",
|
| 16 |
+
"code": "https://github.com/JingyunLiang/RVRT",
|
| 17 |
+
"commit": "a5d406cd77c687774c5553bc57048e92b161829b",
|
| 18 |
+
"license": "CC BY-NC 4.0 (Attribution-NonCommercial 4.0 International), non-commercial use only; source headers say Copyright (c) Facebook, Inc. and its affiliates, BSD",
|
| 19 |
+
"url": "https://github.com/JingyunLiang/RVRT/releases/download/v0.0/005_RVRT_videodeblurring_GoPro_16frames.pth",
|
| 20 |
+
"file": "005_RVRT_videodeblurring_GoPro_16frames.pth",
|
| 21 |
+
"md5": "90ce7255e94d39db911869880bfa486c",
|
| 22 |
+
"group": "params",
|
| 23 |
+
"trained_on": "GoPro"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbisf-rvrt\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbisf-rvrt/dbisf-rvrt.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bdfee606b1f6cf1ada3d0a5df55f2a50f2afeead3b899a29b6250c241ac9d185
|
| 3 |
+
size 15875198
|
dbisf-rvrt/licenses/RVRT-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:002f0a68d433bdd2d5c348f6cb47e8dba35fe8b898c52de59129322fcae34154
|
| 3 |
+
size 19332
|