one folder per model: weight file, cards and terms (11/15)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- dbis-VRT-DVD/LICENSE.md +9 -0
- dbis-VRT-DVD/README.md +50 -0
- dbis-VRT-DVD/dbis-VRT-DVD.json +28 -0
- dbis-VRT-DVD/dbis-VRT-DVD.safetensors +3 -0
- dbis-VRT-DVD/licenses/VRT-LICENSE.txt +3 -0
- dbis-VRT-REDS/LICENSE.md +9 -0
- dbis-VRT-REDS/README.md +50 -0
- dbis-VRT-REDS/dbis-VRT-REDS.json +28 -0
- dbis-VRT-REDS/dbis-VRT-REDS.safetensors +3 -0
- dbis-VRT-REDS/licenses/VRT-LICENSE.txt +3 -0
- dbis-X-Restormer/LICENSE.md +7 -0
- dbis-X-Restormer/README.md +47 -0
- dbis-X-Restormer/dbis-X-Restormer.json +25 -0
- dbis-X-Restormer/dbis-X-Restormer.safetensors +3 -0
- dbis-X-Restormer/licenses/X-Restormer-LICENSE.txt +3 -0
- dbis-XYScanNet-RealBlurJ/LICENSE.md +9 -0
- dbis-XYScanNet-RealBlurJ/README.md +51 -0
- dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.json +25 -0
- dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.safetensors +3 -0
- dbis-XYScanNet-RealBlurJ/licenses/XYScanNet-LICENSE.txt +3 -0
- dbis-XYScanNet-RealBlurR/LICENSE.md +9 -0
- dbis-XYScanNet-RealBlurR/README.md +51 -0
- dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.json +25 -0
- dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.safetensors +3 -0
- dbis-XYScanNet-RealBlurR/licenses/XYScanNet-LICENSE.txt +3 -0
- dbis-XYScanNet/LICENSE.md +9 -0
- dbis-XYScanNet/README.md +52 -0
- dbis-XYScanNet/dbis-XYScanNet.json +25 -0
- dbis-XYScanNet/dbis-XYScanNet.safetensors +3 -0
- dbis-XYScanNet/licenses/XYScanNet-LICENSE.txt +3 -0
- dbis-rvrt-DVD/LICENSE.md +9 -0
- dbis-rvrt-DVD/README.md +50 -0
- dbis-rvrt-DVD/dbis-rvrt-DVD.json +25 -0
- dbis-rvrt-DVD/dbis-rvrt-DVD.safetensors +3 -0
- dbis-rvrt-DVD/licenses/RVRT-LICENSE.txt +3 -0
- dbis-rvrt/LICENSE.md +9 -0
- dbis-rvrt/README.md +51 -0
- dbis-rvrt/dbis-rvrt.json +25 -0
- dbis-rvrt/dbis-rvrt.safetensors +3 -0
- dbis-rvrt/licenses/RVRT-LICENSE.txt +3 -0
- dbisf-ALGNet/LICENSE.md +7 -0
- dbisf-ALGNet/README.md +46 -0
- dbisf-ALGNet/dbisf-ALGNet.json +28 -0
- dbisf-ALGNet/dbisf-ALGNet.wpk +3 -0
- dbisf-ALGNet/licenses/ALGNet-LICENSE.txt +3 -0
- dbisf-ALGNetTLC/LICENSE.md +7 -0
- dbisf-ALGNetTLC/README.md +46 -0
- dbisf-ALGNetTLC/dbisf-ALGNet.json +28 -0
- dbisf-ALGNetTLC/dbisf-ALGNet.wpk +3 -0
- dbisf-ALGNetTLC/licenses/ALGNet-LICENSE.txt +3 -0
dbis-VRT-DVD/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-VRT-DVD.safetensors` | `005_VRT_videodeblurring_DVD.pth` of [JingyunLiang/VRT](https://github.com/JingyunLiang/VRT) (commit 94a5f50) | **Non-commercial use only.** CC BY-NC 4.0 (repository LICENSE), non-commercial use only; network_vrt.py header: Copyright (c) Facebook, Inc. and its affiliates, BSD license (`licenses/VRT-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).
|
dbis-VRT-DVD/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-VRT-DVD
|
| 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 |
+
VRT (VRT: A Video Restoration Transformer, IEEE TIP 2024 (arXiv 2201.12288)) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) 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/VRT.
|
| 18 |
+
|
| 19 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 20 |
+
|
| 21 |
+
## Use
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
python -m dbis.run dbis-VRT-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 26 |
+
hf download Illaitar/dbis dbis-VRT-DVD/dbis-VRT-DVD.safetensors # this file alone, without the package
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
import dbis
|
| 31 |
+
net = dbis.load("dbis-VRT-DVD") # fetches only this folder's file on first use and checks its sha256
|
| 32 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## File
|
| 36 |
+
|
| 37 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 38 |
+
|---|---:|---:|---:|
|
| 39 |
+
| `dbis-VRT-DVD.safetensors` | 106 MB | 31.5948 | – |
|
| 40 |
+
| the authors' code and checkpoint | – | 31.5948 | 103.83 s |
|
| 41 |
+
|
| 42 |
+
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)).
|
| 43 |
+
|
| 44 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 45 |
+
|
| 46 |
+
`dbis-VRT-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
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.
|
dbis-VRT-DVD/dbis-VRT-DVD.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-VRT-DVD",
|
| 3 |
+
"file": "dbis-VRT-DVD.safetensors",
|
| 4 |
+
"path": "dbis-VRT-DVD/dbis-VRT-DVD.safetensors",
|
| 5 |
+
"bytes": 106207212,
|
| 6 |
+
"sha256": "547e09724ce1abbafeed34a116cf91c08379e5c056358755843cadb0b5cb1092",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.vrt.VRT",
|
| 9 |
+
"args": {
|
| 10 |
+
"window": 12,
|
| 11 |
+
"tile": 256
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "VRT",
|
| 15 |
+
"paper": "VRT: A Video Restoration Transformer",
|
| 16 |
+
"venue": "IEEE TIP 2024 (arXiv 2201.12288)",
|
| 17 |
+
"code": "https://github.com/JingyunLiang/VRT",
|
| 18 |
+
"commit": "94a5f504eb84aedf1314de5389f45f4ba1c2d022",
|
| 19 |
+
"license": "CC BY-NC 4.0 (repository LICENSE), non-commercial use only; network_vrt.py header: Copyright (c) Facebook, Inc. and its affiliates, BSD license",
|
| 20 |
+
"group": "params",
|
| 21 |
+
"url": "https://github.com/JingyunLiang/VRT/releases/download/v0.0/005_VRT_videodeblurring_DVD.pth",
|
| 22 |
+
"file": "005_VRT_videodeblurring_DVD.pth",
|
| 23 |
+
"md5": "82e06e98dd9b545a564d204bce08ea2c",
|
| 24 |
+
"trained_on": "DVD"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbis-VRT-DVD\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbis-VRT-DVD/dbis-VRT-DVD.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:547e09724ce1abbafeed34a116cf91c08379e5c056358755843cadb0b5cb1092
|
| 3 |
+
size 106207212
|
dbis-VRT-DVD/licenses/VRT-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:002f0a68d433bdd2d5c348f6cb47e8dba35fe8b898c52de59129322fcae34154
|
| 3 |
+
size 19332
|
dbis-VRT-REDS/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-VRT-REDS.safetensors` | `007_VRT_videodeblurring_REDS.pth` of [JingyunLiang/VRT](https://github.com/JingyunLiang/VRT) (commit 94a5f50) | **Non-commercial use only.** CC BY-NC 4.0 (repository LICENSE), non-commercial use only; network_vrt.py header: Copyright (c) Facebook, Inc. and its affiliates, BSD license (`licenses/VRT-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).
|
dbis-VRT-REDS/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-VRT-REDS
|
| 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 |
+
VRT (VRT: A Video Restoration Transformer, IEEE TIP 2024 (arXiv 2201.12288)) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on REDS) 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/VRT.
|
| 18 |
+
|
| 19 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 20 |
+
|
| 21 |
+
## Use
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
python -m dbis.run dbis-VRT-REDS blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 26 |
+
hf download Illaitar/dbis dbis-VRT-REDS/dbis-VRT-REDS.safetensors # this file alone, without the package
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
import dbis
|
| 31 |
+
net = dbis.load("dbis-VRT-REDS") # fetches only this folder's file on first use and checks its sha256
|
| 32 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## File
|
| 36 |
+
|
| 37 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 38 |
+
|---|---:|---:|---:|
|
| 39 |
+
| `dbis-VRT-REDS.safetensors` | 106 MB | 27.6179 | – |
|
| 40 |
+
| the authors' code and checkpoint | – | 27.6179 | 103.83 s |
|
| 41 |
+
|
| 42 |
+
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)).
|
| 43 |
+
|
| 44 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 45 |
+
|
| 46 |
+
`dbis-VRT-REDS.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
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.
|
dbis-VRT-REDS/dbis-VRT-REDS.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-VRT-REDS",
|
| 3 |
+
"file": "dbis-VRT-REDS.safetensors",
|
| 4 |
+
"path": "dbis-VRT-REDS/dbis-VRT-REDS.safetensors",
|
| 5 |
+
"bytes": 106207212,
|
| 6 |
+
"sha256": "394dcd2442ffe806082ff501069fbe9e053d4913a15c9a42f1fb4e8d6f0261ca",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.vrt.VRT",
|
| 9 |
+
"args": {
|
| 10 |
+
"window": 12,
|
| 11 |
+
"tile": 256
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "VRT",
|
| 15 |
+
"paper": "VRT: A Video Restoration Transformer",
|
| 16 |
+
"venue": "IEEE TIP 2024 (arXiv 2201.12288)",
|
| 17 |
+
"code": "https://github.com/JingyunLiang/VRT",
|
| 18 |
+
"commit": "94a5f504eb84aedf1314de5389f45f4ba1c2d022",
|
| 19 |
+
"license": "CC BY-NC 4.0 (repository LICENSE), non-commercial use only; network_vrt.py header: Copyright (c) Facebook, Inc. and its affiliates, BSD license",
|
| 20 |
+
"group": "params",
|
| 21 |
+
"url": "https://github.com/JingyunLiang/VRT/releases/download/v0.0/007_VRT_videodeblurring_REDS.pth",
|
| 22 |
+
"file": "007_VRT_videodeblurring_REDS.pth",
|
| 23 |
+
"md5": "473858e944dabda1c84e66518c717aff",
|
| 24 |
+
"trained_on": "REDS"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbis-VRT-REDS\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbis-VRT-REDS/dbis-VRT-REDS.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:394dcd2442ffe806082ff501069fbe9e053d4913a15c9a42f1fb4e8d6f0261ca
|
| 3 |
+
size 106207212
|
dbis-VRT-REDS/licenses/VRT-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:002f0a68d433bdd2d5c348f6cb47e8dba35fe8b898c52de59129322fcae34154
|
| 3 |
+
size 19332
|
dbis-X-Restormer/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-X-Restormer.safetensors` | `net_g_latest.pth` of [Andrew0613/X-Restormer](https://github.com/Andrew0613/X-Restormer) (commit e096da6) | MIT, Copyright (c) 2021 Xintao Wang and BasicSR-examples contributors (`licenses/X-Restormer-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).
|
dbis-X-Restormer/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 |
+
- image-restoration
|
| 9 |
+
- dbis
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# dbis-X-Restormer
|
| 13 |
+
|
| 14 |
+
X-Restormer (A Comparative Study of Image Restoration Networks for General Backbone Network Design, ECCV 2024) 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?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/Andrew0613/X-Restormer.
|
| 15 |
+
|
| 16 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 17 |
+
|
| 18 |
+
## Use
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 22 |
+
python -m dbis.run dbis-X-Restormer blurry.png sharp.png # an image, a folder of frames or a video
|
| 23 |
+
hf download Illaitar/dbis dbis-X-Restormer/dbis-X-Restormer.safetensors # this file alone, without the package
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
import dbis
|
| 28 |
+
net = dbis.load("dbis-X-Restormer") # fetches only this folder's file on first use and checks its sha256
|
| 29 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## File
|
| 33 |
+
|
| 34 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 35 |
+
|---|---:|---:|---:|
|
| 36 |
+
| `dbis-X-Restormer.safetensors` | 104 MB | 33.3657 | – |
|
| 37 |
+
| the authors' code and checkpoint | – | 33.3657 | – |
|
| 38 |
+
|
| 39 |
+
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)).
|
| 40 |
+
|
| 41 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 42 |
+
|
| 43 |
+
`dbis-X-Restormer.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 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.
|
dbis-X-Restormer/dbis-X-Restormer.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-X-Restormer",
|
| 3 |
+
"file": "dbis-X-Restormer.safetensors",
|
| 4 |
+
"path": "dbis-X-Restormer/dbis-X-Restormer.safetensors",
|
| 5 |
+
"bytes": 104233984,
|
| 6 |
+
"sha256": "6d8370db20b3a4df5c1dec6bc383fa02af48a63f201fd5350378daf4da24b481",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.xrestormer.XRestormer",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "X-Restormer",
|
| 12 |
+
"paper": "A Comparative Study of Image Restoration Networks for General Backbone Network Design",
|
| 13 |
+
"venue": "ECCV 2024",
|
| 14 |
+
"code": "https://github.com/Andrew0613/X-Restormer",
|
| 15 |
+
"commit": "e096da6bf5f640f8a0d1fde3eec893ded1feac6f",
|
| 16 |
+
"license": "MIT, Copyright (c) 2021 Xintao Wang and BasicSR-examples contributors",
|
| 17 |
+
"url": "https://drive.google.com/drive/folders/16WxegSAN_sescgrfW4ZMO4b6TcR_7T24 (Deblurring/net_g_latest.pth)",
|
| 18 |
+
"file": "net_g_latest.pth",
|
| 19 |
+
"md5": "f879245133f82026a5d4a4b8f58fbf96",
|
| 20 |
+
"group": "params",
|
| 21 |
+
"trained_on": "GoPro"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-X-Restormer\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-X-Restormer/dbis-X-Restormer.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d8370db20b3a4df5c1dec6bc383fa02af48a63f201fd5350378daf4da24b481
|
| 3 |
+
size 104233984
|
dbis-X-Restormer/licenses/X-Restormer-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3ca06e3d03ace0acd8d0e3c579902bf4087fdac5bd7207f7a6b476a3316d694
|
| 3 |
+
size 1102
|
dbis-XYScanNet-RealBlurJ/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-XYScanNet-RealBlurJ.safetensors` | `final_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).
|
dbis-XYScanNet-RealBlurJ/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-XYScanNet-RealBlurJ
|
| 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 code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-J) 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 |
+
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 dbis-XYScanNet-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video
|
| 27 |
+
hf download Illaitar/dbis dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.safetensors # this file alone, without the package
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import dbis
|
| 32 |
+
net = dbis.load("dbis-XYScanNet-RealBlurJ") # 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 |
+
| `dbis-XYScanNet-RealBlurJ.safetensors` | 254 MB | 24.5207 | – |
|
| 41 |
+
| the authors' code and checkpoint | – | 24.5207 | 424.6 ms |
|
| 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 46 |
+
|
| 47 |
+
`dbis-XYScanNet-RealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 48 |
+
|
| 49 |
+
## Terms
|
| 50 |
+
|
| 51 |
+
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.
|
dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-XYScanNet-RealBlurJ",
|
| 3 |
+
"file": "dbis-XYScanNet-RealBlurJ.safetensors",
|
| 4 |
+
"path": "dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.safetensors",
|
| 5 |
+
"bytes": 254128552,
|
| 6 |
+
"sha256": "3bf4eddddd214c2c2cca743cbe13e745af7d7883a0fab8f67d26a01a18b2bcc4",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.xyscannet.XYScanNet",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "XYScanNet",
|
| 12 |
+
"paper": "XYScanNet: A State Space Model for Single Image Deblurring",
|
| 13 |
+
"venue": "CVPR 2025 Workshops (NTIRE)",
|
| 14 |
+
"code": "https://github.com/HanzhouLiu/XYScanNet",
|
| 15 |
+
"commit": "787f853bc4f7cbe3363336d7aeec4aaae9df1cb3",
|
| 16 |
+
"license": "MIT-style text restricted to non-commercial use, Copyright (c) 2025 Hanzhou Liu",
|
| 17 |
+
"url": "https://drive.google.com/file/d/17vw-VMOHzyGvHqlcZzDF8vwx0-OWb2M-",
|
| 18 |
+
"file": "realblur_j/final_XYScanNet_stage2.pth",
|
| 19 |
+
"md5": "5a3935ae7fcae47727c5ca31b09c1a38",
|
| 20 |
+
"group": null,
|
| 21 |
+
"trained_on": "RealBlur-J"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-XYScanNet-RealBlurJ\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-XYScanNet-RealBlurJ/dbis-XYScanNet-RealBlurJ.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bf4eddddd214c2c2cca743cbe13e745af7d7883a0fab8f67d26a01a18b2bcc4
|
| 3 |
+
size 254128552
|
dbis-XYScanNet-RealBlurJ/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
|
dbis-XYScanNet-RealBlurR/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-XYScanNet-RealBlurR.safetensors` | `final_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).
|
dbis-XYScanNet-RealBlurR/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-XYScanNet-RealBlurR
|
| 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 code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-R) 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 |
+
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 dbis-XYScanNet-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video
|
| 27 |
+
hf download Illaitar/dbis dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.safetensors # this file alone, without the package
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import dbis
|
| 32 |
+
net = dbis.load("dbis-XYScanNet-RealBlurR") # 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 |
+
| `dbis-XYScanNet-RealBlurR.safetensors` | 254 MB | 24.1620 | – |
|
| 41 |
+
| the authors' code and checkpoint | – | 24.1620 | 424.6 ms |
|
| 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 46 |
+
|
| 47 |
+
`dbis-XYScanNet-RealBlurR.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 48 |
+
|
| 49 |
+
## Terms
|
| 50 |
+
|
| 51 |
+
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.
|
dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-XYScanNet-RealBlurR",
|
| 3 |
+
"file": "dbis-XYScanNet-RealBlurR.safetensors",
|
| 4 |
+
"path": "dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.safetensors",
|
| 5 |
+
"bytes": 254128552,
|
| 6 |
+
"sha256": "6eba1818b0e4484a9f7e3b15787e15b6fffe99961bb1c2755879fa356e6db27a",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.xyscannet.XYScanNet",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "XYScanNet",
|
| 12 |
+
"paper": "XYScanNet: A State Space Model for Single Image Deblurring",
|
| 13 |
+
"venue": "CVPR 2025 Workshops (NTIRE)",
|
| 14 |
+
"code": "https://github.com/HanzhouLiu/XYScanNet",
|
| 15 |
+
"commit": "787f853bc4f7cbe3363336d7aeec4aaae9df1cb3",
|
| 16 |
+
"license": "MIT-style text restricted to non-commercial use, Copyright (c) 2025 Hanzhou Liu",
|
| 17 |
+
"url": "https://drive.google.com/file/d/1XU4VizouaiLm3YpsMd8hNMrALY1Zbm9H",
|
| 18 |
+
"file": "realblur_r/final_XYScanNet_stage2.pth",
|
| 19 |
+
"md5": "e5d03bb0c21da22342233f82acdafea2",
|
| 20 |
+
"group": null,
|
| 21 |
+
"trained_on": "RealBlur-R"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-XYScanNet-RealBlurR\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-XYScanNet-RealBlurR/dbis-XYScanNet-RealBlurR.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eba1818b0e4484a9f7e3b15787e15b6fffe99961bb1c2755879fa356e6db27a
|
| 3 |
+
size 254128552
|
dbis-XYScanNet-RealBlurR/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
|
dbis-XYScanNet/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-XYScanNet.safetensors` | `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).
|
dbis-XYScanNet/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-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 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?](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: [dbisf-XYScanNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-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 dbis-XYScanNet blurry.png sharp.png # an image, a folder of frames or a video
|
| 28 |
+
hf download Illaitar/dbis dbis-XYScanNet/dbis-XYScanNet.safetensors # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbis-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 |
+
| `dbis-XYScanNet.safetensors` | 254 MB | 33.9071 | – |
|
| 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 47 |
+
|
| 48 |
+
`dbis-XYScanNet.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 49 |
+
|
| 50 |
+
## Terms
|
| 51 |
+
|
| 52 |
+
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.
|
dbis-XYScanNet/dbis-XYScanNet.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-XYScanNet",
|
| 3 |
+
"file": "dbis-XYScanNet.safetensors",
|
| 4 |
+
"path": "dbis-XYScanNet/dbis-XYScanNet.safetensors",
|
| 5 |
+
"bytes": 254128528,
|
| 6 |
+
"sha256": "ecacd2b85b1c24a0e000b4aa2205150be1c7cbf19945c75ad041c63bc6e61f84",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.xyscannet.XYScanNet",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "XYScanNet",
|
| 12 |
+
"paper": "XYScanNet: A State Space Model for Single Image Deblurring",
|
| 13 |
+
"venue": "CVPR 2025 Workshops (NTIRE)",
|
| 14 |
+
"code": "https://github.com/HanzhouLiu/XYScanNet",
|
| 15 |
+
"commit": "787f853bc4f7cbe3363336d7aeec4aaae9df1cb3",
|
| 16 |
+
"license": "MIT-style text restricted to non-commercial use, Copyright (c) 2025 Hanzhou Liu",
|
| 17 |
+
"url": "https://drive.google.com/drive/folders/10nu5WiA05Dv4q12A0XiISGMmXd6gyiYE",
|
| 18 |
+
"file": "best_XYScanNet_stage2.pth",
|
| 19 |
+
"md5": "25b1853756f26332b94e3fdb9c605114",
|
| 20 |
+
"group": null,
|
| 21 |
+
"trained_on": "GoPro"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-XYScanNet\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-XYScanNet/dbis-XYScanNet.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecacd2b85b1c24a0e000b4aa2205150be1c7cbf19945c75ad041c63bc6e61f84
|
| 3 |
+
size 254128528
|
dbis-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
|
dbis-rvrt-DVD/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-rvrt-DVD.safetensors` | `004_RVRT_videodeblurring_DVD_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).
|
dbis-rvrt-DVD/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-rvrt-DVD
|
| 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 code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) 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 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 20 |
+
|
| 21 |
+
## Use
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
python -m dbis.run dbis-rvrt-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 26 |
+
hf download Illaitar/dbis dbis-rvrt-DVD/dbis-rvrt-DVD.safetensors # this file alone, without the package
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
import dbis
|
| 31 |
+
net = dbis.load("dbis-rvrt-DVD") # fetches only this folder's file on first use and checks its sha256
|
| 32 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## File
|
| 36 |
+
|
| 37 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 38 |
+
|---|---:|---:|---:|
|
| 39 |
+
| `dbis-rvrt-DVD.safetensors` | 57 MB | 31.9407 | 3.87 s |
|
| 40 |
+
| the authors' code and checkpoint | – | 31.9407 | 6.94 s |
|
| 41 |
+
|
| 42 |
+
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)).
|
| 43 |
+
|
| 44 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 45 |
+
|
| 46 |
+
`dbis-rvrt-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 47 |
+
|
| 48 |
+
## Terms
|
| 49 |
+
|
| 50 |
+
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.
|
dbis-rvrt-DVD/dbis-rvrt-DVD.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-rvrt-DVD",
|
| 3 |
+
"file": "dbis-rvrt-DVD.safetensors",
|
| 4 |
+
"path": "dbis-rvrt-DVD/dbis-rvrt-DVD.safetensors",
|
| 5 |
+
"bytes": 56584132,
|
| 6 |
+
"sha256": "b4326d99b89b8f92c3d8901aaae813e17fd459764333f642514023e3b5d47d78",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.rvrt.RVRT",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "RVRT",
|
| 12 |
+
"paper": "Recurrent Video Restoration Transformer with Guided Deformable Attention",
|
| 13 |
+
"venue": "NeurIPS 2022",
|
| 14 |
+
"code": "https://github.com/JingyunLiang/RVRT",
|
| 15 |
+
"commit": "a5d406cd77c687774c5553bc57048e92b161829b",
|
| 16 |
+
"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",
|
| 17 |
+
"url": "https://github.com/JingyunLiang/RVRT/releases/download/v0.0/004_RVRT_videodeblurring_DVD_16frames.pth",
|
| 18 |
+
"file": "004_RVRT_videodeblurring_DVD_16frames.pth",
|
| 19 |
+
"md5": "9c3078010326042b4a59c0baa5a567bf",
|
| 20 |
+
"group": "params",
|
| 21 |
+
"trained_on": "DVD"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-rvrt-DVD\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-rvrt-DVD/dbis-rvrt-DVD.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4326d99b89b8f92c3d8901aaae813e17fd459764333f642514023e3b5d47d78
|
| 3 |
+
size 56584132
|
dbis-rvrt-DVD/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
|
dbis-rvrt/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-rvrt.safetensors` | `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).
|
dbis-rvrt/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-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 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?](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: [dbisf-rvrt](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-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 dbis-rvrt blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
|
| 27 |
+
hf download Illaitar/dbis dbis-rvrt/dbis-rvrt.safetensors # this file alone, without the package
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import dbis
|
| 32 |
+
net = dbis.load("dbis-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 |
+
| `dbis-rvrt.safetensors` | 57 MB | 34.9174 | 3.87 s |
|
| 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 46 |
+
|
| 47 |
+
`dbis-rvrt.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 48 |
+
|
| 49 |
+
## Terms
|
| 50 |
+
|
| 51 |
+
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.
|
dbis-rvrt/dbis-rvrt.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-rvrt",
|
| 3 |
+
"file": "dbis-rvrt.safetensors",
|
| 4 |
+
"path": "dbis-rvrt/dbis-rvrt.safetensors",
|
| 5 |
+
"bytes": 56584132,
|
| 6 |
+
"sha256": "b94af8e446b10dfb54c98ccd4f2f12321de722bb9d42b75feefd712984d9afe2",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.rvrt.RVRT",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "RVRT",
|
| 12 |
+
"paper": "Recurrent Video Restoration Transformer with Guided Deformable Attention",
|
| 13 |
+
"venue": "NeurIPS 2022",
|
| 14 |
+
"code": "https://github.com/JingyunLiang/RVRT",
|
| 15 |
+
"commit": "a5d406cd77c687774c5553bc57048e92b161829b",
|
| 16 |
+
"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",
|
| 17 |
+
"url": "https://github.com/JingyunLiang/RVRT/releases/download/v0.0/005_RVRT_videodeblurring_GoPro_16frames.pth",
|
| 18 |
+
"file": "005_RVRT_videodeblurring_GoPro_16frames.pth",
|
| 19 |
+
"md5": "90ce7255e94d39db911869880bfa486c",
|
| 20 |
+
"group": "params",
|
| 21 |
+
"trained_on": "GoPro"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-rvrt\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-rvrt/dbis-rvrt.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b94af8e446b10dfb54c98ccd4f2f12321de722bb9d42b75feefd712984d9afe2
|
| 3 |
+
size 56584132
|
dbis-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
|
dbisf-ALGNet/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-ALGNet.wpk` | `deblur_model_best.pth` of [Tombs98/ALGNet](https://github.com/Tombs98/ALGNet) (commit 81c4328) | Apache-2.0 (LICENSE file of the repository, no copyright line); Mamba part after mamba_ssm, Apache-2.0, Copyright (c) 2023 Tri Dao, Albert Gu (`licenses/ALGNet-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-ALGNet/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- deblurring
|
| 7 |
+
- motion-deblurring
|
| 8 |
+
- image-restoration
|
| 9 |
+
- dbis
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# dbisf-ALGNet
|
| 13 |
+
|
| 14 |
+
ALGNet (Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurring, ACM MM 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 (authors' GoPro file; the benchmark notes say its training data are not GoPro-only, see fix2311/default_rows.md)) 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/Tombs98/ALGNet.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-ALGNet](https://huggingface.co/Illaitar/dbis/tree/main/dbis-ALGNet), [dbis-ALGNetTLC](https://huggingface.co/Illaitar/dbis/tree/main/dbis-ALGNetTLC), [dbisf-ALGNetTLC](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-ALGNetTLC).
|
| 17 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 18 |
+
|
| 19 |
+
## Use
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 23 |
+
python -m dbis.run dbisf-ALGNet blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbisf-ALGNet/dbisf-ALGNet.wpk # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbisf-ALGNet") # fetches only this folder's file on first use and checks its sha256
|
| 30 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## File
|
| 34 |
+
|
| 35 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 36 |
+
|---|---:|---:|---:|
|
| 37 |
+
| `dbisf-ALGNet.wpk` | 35 MB | 32.8874 | 86.0 ms |
|
| 38 |
+
| the authors' code and checkpoint | 151 MB | 32.8873 | 152.2 ms |
|
| 39 |
+
|
| 40 |
+
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)).
|
| 41 |
+
|
| 42 |
+
`dbisf-ALGNet.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).
|
| 43 |
+
|
| 44 |
+
## Terms
|
| 45 |
+
|
| 46 |
+
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.
|
dbisf-ALGNet/dbisf-ALGNet.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-ALGNet",
|
| 3 |
+
"file": "dbisf-ALGNet.wpk",
|
| 4 |
+
"path": "dbisf-ALGNet/dbisf-ALGNet.wpk",
|
| 5 |
+
"bytes": 35100369,
|
| 6 |
+
"sha256": "2a8c9a5650f70f7610404584b76b518591793bd22de7acdc0bc2353c40756b2f",
|
| 7 |
+
"store": "qc64",
|
| 8 |
+
"class": "dbis.algnet.ALGNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"tlc": false,
|
| 11 |
+
"fast": true
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "ALGNet",
|
| 15 |
+
"paper": "Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurring",
|
| 16 |
+
"venue": "ACM MM 2024",
|
| 17 |
+
"code": "https://github.com/Tombs98/ALGNet",
|
| 18 |
+
"commit": "81c4328764b9a0b731ee769e26ba73e2ec620b5f",
|
| 19 |
+
"license": "Apache-2.0 (LICENSE file of the repository, no copyright line); Mamba part after mamba_ssm, Apache-2.0, Copyright (c) 2023 Tri Dao, Albert Gu",
|
| 20 |
+
"url": "https://drive.google.com/drive/folders/1WOYuuvGCDOJWo0U6PizE4780EmkxbDya",
|
| 21 |
+
"group": "state_dict",
|
| 22 |
+
"file": "deblur_model_best.pth",
|
| 23 |
+
"md5": "1d3dcccafeb536e7b05efb7c37b7a74f",
|
| 24 |
+
"trained_on": "GoPro (authors' GoPro file; the benchmark notes say its training data are not GoPro-only, see fix2311/default_rows.md)"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbisf-ALGNet\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbisf-ALGNet/dbisf-ALGNet.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a8c9a5650f70f7610404584b76b518591793bd22de7acdc0bc2353c40756b2f
|
| 3 |
+
size 35100369
|
dbisf-ALGNet/licenses/ALGNet-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
|
| 3 |
+
size 11357
|
dbisf-ALGNetTLC/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbisf-ALGNet.wpk` | `deblur_model_best.pth` of [Tombs98/ALGNet](https://github.com/Tombs98/ALGNet) (commit 81c4328) | Apache-2.0 (LICENSE file of the repository, no copyright line); Mamba part after mamba_ssm, Apache-2.0, Copyright (c) 2023 Tri Dao, Albert Gu (`licenses/ALGNet-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-ALGNetTLC/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- deblurring
|
| 7 |
+
- motion-deblurring
|
| 8 |
+
- image-restoration
|
| 9 |
+
- dbis
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# dbisf-ALGNetTLC
|
| 13 |
+
|
| 14 |
+
ALGNet (Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurring, ACM MM 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 (authors' GoPro file; the benchmark notes say its training data are not GoPro-only, see fix2311/default_rows.md)) 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/Tombs98/ALGNet.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-ALGNet](https://huggingface.co/Illaitar/dbis/tree/main/dbis-ALGNet), [dbis-ALGNetTLC](https://huggingface.co/Illaitar/dbis/tree/main/dbis-ALGNetTLC), [dbisf-ALGNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-ALGNet).
|
| 17 |
+
Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
|
| 18 |
+
|
| 19 |
+
## Use
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
|
| 23 |
+
python -m dbis.run dbisf-ALGNetTLC blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbisf-ALGNetTLC/dbisf-ALGNet.wpk # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbisf-ALGNetTLC") # fetches only this folder's file on first use and checks its sha256
|
| 30 |
+
out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## File
|
| 34 |
+
|
| 35 |
+
| File | Size | GoPro PSNR, dB | Time per 720p frame |
|
| 36 |
+
|---|---:|---:|---:|
|
| 37 |
+
| `dbisf-ALGNet.wpk` | 35 MB | 33.4933 | 90.1 ms |
|
| 38 |
+
| the authors' code and checkpoint | 151 MB | 33.4942 | 156.5 ms |
|
| 39 |
+
|
| 40 |
+
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)).
|
| 41 |
+
|
| 42 |
+
`dbisf-ALGNet.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).
|
| 43 |
+
|
| 44 |
+
## Terms
|
| 45 |
+
|
| 46 |
+
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.
|
dbisf-ALGNetTLC/dbisf-ALGNet.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbisf-ALGNetTLC",
|
| 3 |
+
"file": "dbisf-ALGNet.wpk",
|
| 4 |
+
"path": "dbisf-ALGNetTLC/dbisf-ALGNet.wpk",
|
| 5 |
+
"bytes": 35100369,
|
| 6 |
+
"sha256": "2a8c9a5650f70f7610404584b76b518591793bd22de7acdc0bc2353c40756b2f",
|
| 7 |
+
"store": "qc64",
|
| 8 |
+
"class": "dbis.algnet.ALGNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"tlc": true,
|
| 11 |
+
"fast": true
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "ALGNet",
|
| 15 |
+
"paper": "Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurring",
|
| 16 |
+
"venue": "ACM MM 2024",
|
| 17 |
+
"code": "https://github.com/Tombs98/ALGNet",
|
| 18 |
+
"commit": "81c4328764b9a0b731ee769e26ba73e2ec620b5f",
|
| 19 |
+
"license": "Apache-2.0 (LICENSE file of the repository, no copyright line); Mamba part after mamba_ssm, Apache-2.0, Copyright (c) 2023 Tri Dao, Albert Gu",
|
| 20 |
+
"url": "https://drive.google.com/drive/folders/1WOYuuvGCDOJWo0U6PizE4780EmkxbDya",
|
| 21 |
+
"group": "state_dict",
|
| 22 |
+
"file": "deblur_model_best.pth",
|
| 23 |
+
"md5": "1d3dcccafeb536e7b05efb7c37b7a74f",
|
| 24 |
+
"trained_on": "GoPro (authors' GoPro file; the benchmark notes say its training data are not GoPro-only, see fix2311/default_rows.md)"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbisf-ALGNetTLC\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbisf-ALGNetTLC/dbisf-ALGNet.wpk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a8c9a5650f70f7610404584b76b518591793bd22de7acdc0bc2353c40756b2f
|
| 3 |
+
size 35100369
|
dbisf-ALGNetTLC/licenses/ALGNet-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
|
| 3 |
+
size 11357
|