one folder per model: weight file, cards and terms (7/15)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- dbis-MIMO-UNet/README.md +52 -0
- dbis-MIMO-UNet/dbis-MIMO-UNet.json +27 -0
- dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors +3 -0
- dbis-MIMO-UNetPlus-RealBlur/LICENSE.md +9 -0
- dbis-MIMO-UNetPlus-RealBlur/README.md +51 -0
- dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.json +27 -0
- dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors +3 -0
- dbis-MIMO-UNetPlus/LICENSE.md +9 -0
- dbis-MIMO-UNetPlus/README.md +52 -0
- dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.json +27 -0
- dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors +3 -0
- dbis-MIRAGE-S/LICENSE.md +7 -0
- dbis-MIRAGE-S/README.md +47 -0
- dbis-MIRAGE-S/dbis-MIRAGE-S.json +28 -0
- dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors +3 -0
- dbis-MIRAGE-S/licenses/MIRAGE-LICENSE.txt +3 -0
- dbis-MIRAGE-T/LICENSE.md +7 -0
- dbis-MIRAGE-T/README.md +47 -0
- dbis-MIRAGE-T/dbis-MIRAGE-T.json +28 -0
- dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors +3 -0
- dbis-MIRAGE-T/licenses/MIRAGE-LICENSE.txt +3 -0
- dbis-MISCFilter-RealBlurJ/LICENSE.md +7 -0
- dbis-MISCFilter-RealBlurJ/README.md +48 -0
- dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.json +25 -0
- dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors +3 -0
- dbis-MISCFilter-RealBlurJ/licenses/MISCFilter-LICENSE.txt +3 -0
- dbis-MISCFilter-RealBlurR/LICENSE.md +7 -0
- dbis-MISCFilter-RealBlurR/README.md +48 -0
- dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.json +25 -0
- dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors +3 -0
- dbis-MISCFilter-RealBlurR/licenses/MISCFilter-LICENSE.txt +3 -0
- dbis-MISCFilter/LICENSE.md +7 -0
- dbis-MISCFilter/README.md +48 -0
- dbis-MISCFilter/dbis-MISCFilter.json +25 -0
- dbis-MISCFilter/dbis-MISCFilter.safetensors +3 -0
- dbis-MISCFilter/licenses/MISCFilter-LICENSE.txt +3 -0
- dbis-MISCFiltertiled-RealBlurJ/LICENSE.md +7 -0
- dbis-MISCFiltertiled-RealBlurJ/README.md +48 -0
- dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.json +27 -0
- dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors +3 -0
- dbis-MISCFiltertiled-RealBlurJ/licenses/MISCFilter-LICENSE.txt +3 -0
- dbis-MISCFiltertiled-RealBlurR/LICENSE.md +7 -0
- dbis-MISCFiltertiled-RealBlurR/README.md +48 -0
- dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.json +27 -0
- dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors +3 -0
- dbis-MISCFiltertiled-RealBlurR/licenses/MISCFilter-LICENSE.txt +3 -0
- dbis-MISCFiltertiled/LICENSE.md +7 -0
- dbis-MISCFiltertiled/README.md +48 -0
- dbis-MISCFiltertiled/dbis-MISCFiltertiled.json +27 -0
- dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors +3 -0
dbis-MIMO-UNet/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-MIMO-UNet
|
| 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 |
+
MIMO-UNet (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) 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/chosj95/MIMO-UNet.
|
| 19 |
+
|
| 20 |
+
The same checkpoint in other versions: [dbisf-MIMO-UNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MIMO-UNet).
|
| 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-MIMO-UNet blurry.png sharp.png # an image, a folder of frames or a video
|
| 28 |
+
hf download Illaitar/dbis dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbis-MIMO-UNet") # 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-MIMO-UNet.safetensors` | 27 MB | 31.7249 | 20.8 ms |
|
| 42 |
+
| the authors' code and checkpoint | 27 MB | 31.7249 | 20.7 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-MIMO-UNet.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights.
|
dbis-MIMO-UNet/dbis-MIMO-UNet.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MIMO-UNet",
|
| 3 |
+
"file": "dbis-MIMO-UNet.safetensors",
|
| 4 |
+
"path": "dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors",
|
| 5 |
+
"bytes": 27254700,
|
| 6 |
+
"sha256": "26f370a1f43521f735ccc047b8825e984dd91d3151b07b0056c00cdf5cafe799",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.mimounet.MIMOUNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"num_res": 8
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MIMO-UNet",
|
| 14 |
+
"paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring",
|
| 15 |
+
"venue": "ICCV 2021",
|
| 16 |
+
"code": "https://github.com/chosj95/MIMO-UNet",
|
| 17 |
+
"commit": "5c580135ed1c03344ac9c741267324ff90b5f209",
|
| 18 |
+
"license": "none stated (no LICENSE file in the repository): all rights reserved by the authors",
|
| 19 |
+
"group": "model",
|
| 20 |
+
"url": "https://drive.google.com/file/d/1EQJoQj3YMLFfzrbgzWMD3Xj96RqLdIlx/view",
|
| 21 |
+
"file": "MIMO-UNet.pkl",
|
| 22 |
+
"md5": "ab8495a8bdbb08b0b364717660e1ef33",
|
| 23 |
+
"trained_on": "GoPro"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MIMO-UNet\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26f370a1f43521f735ccc047b8825e984dd91d3151b07b0056c00cdf5cafe799
|
| 3 |
+
size 27254700
|
dbis-MIMO-UNetPlus-RealBlur/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MIMO-UNetPlus-RealBlur.safetensors` | `RealBlur.pkl` of [chosj95/MIMO-UNet](https://github.com/chosj95/MIMO-UNet) (commit 5c58013) | **No license stated.** none stated (no LICENSE file in the repository): 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).
|
dbis-MIMO-UNetPlus-RealBlur/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-MIMO-UNetPlus-RealBlur
|
| 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 |
+
MIMO-UNet+ (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur (J or R not stated by the authors)) 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/chosj95/MIMO-UNet.
|
| 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-MIMO-UNetPlus-RealBlur blurry.png sharp.png # an image, a folder of frames or a video
|
| 27 |
+
hf download Illaitar/dbis dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors # this file alone, without the package
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
import dbis
|
| 32 |
+
net = dbis.load("dbis-MIMO-UNetPlus-RealBlur") # 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-MIMO-UNetPlus-RealBlur.safetensors` | 64 MB | 31.4619 | – |
|
| 41 |
+
| the authors' code and checkpoint | – | 31.4619 | – |
|
| 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-MIMO-UNetPlus-RealBlur.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights.
|
dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MIMO-UNetPlus-RealBlur",
|
| 3 |
+
"file": "dbis-MIMO-UNetPlus-RealBlur.safetensors",
|
| 4 |
+
"path": "dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors",
|
| 5 |
+
"bytes": 64488268,
|
| 6 |
+
"sha256": "b6b0769680690d740b7165f4cc3344e633799a61084ed47ea0ce8db1a05e0020",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.mimounet.MIMOUNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"num_res": 20
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MIMO-UNet+",
|
| 14 |
+
"paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring",
|
| 15 |
+
"venue": "ICCV 2021",
|
| 16 |
+
"code": "https://github.com/chosj95/MIMO-UNet",
|
| 17 |
+
"commit": "5c580135ed1c03344ac9c741267324ff90b5f209",
|
| 18 |
+
"license": "none stated (no LICENSE file in the repository): all rights reserved by the authors",
|
| 19 |
+
"group": "model",
|
| 20 |
+
"url": "https://drive.google.com/file/d/1N3n-ozw1twt96ohX4tjsSAIcHrlNwHZ7/view",
|
| 21 |
+
"file": "RealBlur.pkl",
|
| 22 |
+
"md5": "25d9788255971c703c1b5ad80158aa1c",
|
| 23 |
+
"trained_on": "RealBlur (J or R not stated by the authors)"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MIMO-UNetPlus-RealBlur\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6b0769680690d740b7165f4cc3344e633799a61084ed47ea0ce8db1a05e0020
|
| 3 |
+
size 64488268
|
dbis-MIMO-UNetPlus/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MIMO-UNetPlus.safetensors` | `MIMO-UNetPlus.pkl` of [chosj95/MIMO-UNet](https://github.com/chosj95/MIMO-UNet) (commit 5c58013) | **No license stated.** none stated (no LICENSE file in the repository): 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).
|
dbis-MIMO-UNetPlus/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# dbis-MIMO-UNetPlus
|
| 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 |
+
MIMO-UNet+ (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) 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/chosj95/MIMO-UNet.
|
| 19 |
+
|
| 20 |
+
The same checkpoint in other versions: [dbisf-MIMO-UNetPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MIMO-UNetPlus).
|
| 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-MIMO-UNetPlus blurry.png sharp.png # an image, a folder of frames or a video
|
| 28 |
+
hf download Illaitar/dbis dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors # this file alone, without the package
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
import dbis
|
| 33 |
+
net = dbis.load("dbis-MIMO-UNetPlus") # 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-MIMO-UNetPlus.safetensors` | 64 MB | 32.4428 | 46.5 ms |
|
| 42 |
+
| the authors' code and checkpoint | 65 MB | 32.4428 | 46.1 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-MIMO-UNetPlus.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights.
|
dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MIMO-UNetPlus",
|
| 3 |
+
"file": "dbis-MIMO-UNetPlus.safetensors",
|
| 4 |
+
"path": "dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors",
|
| 5 |
+
"bytes": 64488268,
|
| 6 |
+
"sha256": "d476a6b366a85a057f8b3947f37e5978f3951df48e79118677ceaf43186bea23",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.mimounet.MIMOUNet",
|
| 9 |
+
"args": {
|
| 10 |
+
"num_res": 20
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MIMO-UNet+",
|
| 14 |
+
"paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring",
|
| 15 |
+
"venue": "ICCV 2021",
|
| 16 |
+
"code": "https://github.com/chosj95/MIMO-UNet",
|
| 17 |
+
"commit": "5c580135ed1c03344ac9c741267324ff90b5f209",
|
| 18 |
+
"license": "none stated (no LICENSE file in the repository): all rights reserved by the authors",
|
| 19 |
+
"group": "model",
|
| 20 |
+
"url": "https://drive.google.com/file/d/166sufeHcdDTgXHNbCRzTC4T6DzuflB5m/view",
|
| 21 |
+
"file": "MIMO-UNetPlus.pkl",
|
| 22 |
+
"md5": "b8f18087a6ebf6ab677680e70f28b160",
|
| 23 |
+
"trained_on": "GoPro"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MIMO-UNetPlus\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d476a6b366a85a057f8b3947f37e5978f3951df48e79118677ceaf43186bea23
|
| 3 |
+
size 64488268
|
dbis-MIRAGE-S/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MIRAGE-S.safetensors` | `5Deg_small.ckpt` of [Amazingren/MIRAGE](https://github.com/Amazingren/MIRAGE) (commit 926dc83) | MIT, Copyright (c) 2026 BinRen (`licenses/MIRAGE-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-MIRAGE-S/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-MIRAGE-S
|
| 13 |
+
|
| 14 |
+
MIRAGE (MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization, ICLR 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on mix) 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/Amazingren/MIRAGE.
|
| 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-MIRAGE-S blurry.png sharp.png # an image, a folder of frames or a video
|
| 23 |
+
hf download Illaitar/dbis dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors # this file alone, without the package
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
import dbis
|
| 28 |
+
net = dbis.load("dbis-MIRAGE-S") # 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-MIRAGE-S.safetensors` | 39 MB | 28.1977 | – |
|
| 37 |
+
| the authors' code and checkpoint | – | 28.1977 | – |
|
| 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-MIRAGE-S.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-MIRAGE-S/dbis-MIRAGE-S.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MIRAGE-S",
|
| 3 |
+
"file": "dbis-MIRAGE-S.safetensors",
|
| 4 |
+
"path": "dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors",
|
| 5 |
+
"bytes": 38633156,
|
| 6 |
+
"sha256": "e7a1b0d61941f793a7bdb89018e7565f4f3d572f09d3d006e15a05f2c5276920",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.mirage.MIRAGE",
|
| 9 |
+
"args": {
|
| 10 |
+
"dim": 30,
|
| 11 |
+
"num_refinement_blocks": 3
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "MIRAGE",
|
| 15 |
+
"paper": "MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization",
|
| 16 |
+
"venue": "ICLR 2026",
|
| 17 |
+
"code": "https://github.com/Amazingren/MIRAGE",
|
| 18 |
+
"commit": "926dc83646272a0d99b36f4bff496985ab064795",
|
| 19 |
+
"license": "MIT, Copyright (c) 2026 BinRen",
|
| 20 |
+
"url": "Google Drive link in the authors' README (5D Small checkpoint)",
|
| 21 |
+
"file": "5Deg_small.ckpt",
|
| 22 |
+
"md5": "46c1aaf0ad1006461f677dc4df918fe0",
|
| 23 |
+
"group": null,
|
| 24 |
+
"trained_on": "mix"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbis-MIRAGE-S\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7a1b0d61941f793a7bdb89018e7565f4f3d572f09d3d006e15a05f2c5276920
|
| 3 |
+
size 38633156
|
dbis-MIRAGE-S/licenses/MIRAGE-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40e745bd8e0a681b0f919f8cb601357461dcaf5b5e6785fa7006abcc81841381
|
| 3 |
+
size 1063
|
dbis-MIRAGE-T/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MIRAGE-T.safetensors` | `5Deg_tiny.ckpt` of [Amazingren/MIRAGE](https://github.com/Amazingren/MIRAGE) (commit 926dc83) | MIT, Copyright (c) 2026 BinRen (`licenses/MIRAGE-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-MIRAGE-T/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-MIRAGE-T
|
| 13 |
+
|
| 14 |
+
MIRAGE (MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization, ICLR 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on mix) 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/Amazingren/MIRAGE.
|
| 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-MIRAGE-T blurry.png sharp.png # an image, a folder of frames or a video
|
| 23 |
+
hf download Illaitar/dbis dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors # this file alone, without the package
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
import dbis
|
| 28 |
+
net = dbis.load("dbis-MIRAGE-T") # 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-MIRAGE-T.safetensors` | 25 MB | 27.8718 | – |
|
| 37 |
+
| the authors' code and checkpoint | – | 27.8718 | – |
|
| 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-MIRAGE-T.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-MIRAGE-T/dbis-MIRAGE-T.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MIRAGE-T",
|
| 3 |
+
"file": "dbis-MIRAGE-T.safetensors",
|
| 4 |
+
"path": "dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors",
|
| 5 |
+
"bytes": 24743872,
|
| 6 |
+
"sha256": "3f6198a3d6fe5eac0a595ea3709785b75eb3387f215a6d920ab8b8dd61903176",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.mirage.MIRAGE",
|
| 9 |
+
"args": {
|
| 10 |
+
"dim": 24,
|
| 11 |
+
"num_refinement_blocks": 2
|
| 12 |
+
},
|
| 13 |
+
"source": {
|
| 14 |
+
"method": "MIRAGE",
|
| 15 |
+
"paper": "MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization",
|
| 16 |
+
"venue": "ICLR 2026",
|
| 17 |
+
"code": "https://github.com/Amazingren/MIRAGE",
|
| 18 |
+
"commit": "926dc83646272a0d99b36f4bff496985ab064795",
|
| 19 |
+
"license": "MIT, Copyright (c) 2026 BinRen",
|
| 20 |
+
"url": "Google Drive link in the authors' README (5D Tiny checkpoint)",
|
| 21 |
+
"file": "5Deg_tiny.ckpt",
|
| 22 |
+
"md5": "f0dee2c3944184c9d858eff766300b81",
|
| 23 |
+
"group": null,
|
| 24 |
+
"trained_on": "mix"
|
| 25 |
+
},
|
| 26 |
+
"load": "import dbis; net = dbis.load(\"dbis-MIRAGE-T\")",
|
| 27 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 28 |
+
}
|
dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f6198a3d6fe5eac0a595ea3709785b75eb3387f215a6d920ab8b8dd61903176
|
| 3 |
+
size 24743872
|
dbis-MIRAGE-T/licenses/MIRAGE-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40e745bd8e0a681b0f919f8cb601357461dcaf5b5e6785fa7006abcc81841381
|
| 3 |
+
size 1063
|
dbis-MISCFilter-RealBlurJ/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFilter-RealBlurJ.safetensors` | `RealBlur_J.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFilter-RealBlurJ/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFilter-RealBlurJ
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFiltertiled-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled-RealBlurJ).
|
| 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 dbis-MISCFilter-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFilter-RealBlurJ") # 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 |
+
| `dbis-MISCFilter-RealBlurJ.safetensors` | 59 MB | 25.3175 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | – | 25.3175 | 267.8 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFilter-RealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFilter-RealBlurJ",
|
| 3 |
+
"file": "dbis-MISCFilter-RealBlurJ.safetensors",
|
| 4 |
+
"path": "dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors",
|
| 5 |
+
"bytes": 59410336,
|
| 6 |
+
"sha256": "78e9a69601a2f0136878891fa36672ada8d63e27dec64a22df68a8a1f2e21657",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "MISCFilter",
|
| 12 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 13 |
+
"venue": "CVPR 2024",
|
| 14 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 15 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 16 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 17 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 18 |
+
"group": "state_dict",
|
| 19 |
+
"file": "checkpoints/RealBlur_J.pth",
|
| 20 |
+
"md5": "e40f14f74546d51c217053f68bfed292",
|
| 21 |
+
"trained_on": "RealBlur-J"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFilter-RealBlurJ\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78e9a69601a2f0136878891fa36672ada8d63e27dec64a22df68a8a1f2e21657
|
| 3 |
+
size 59410336
|
dbis-MISCFilter-RealBlurJ/licenses/MISCFilter-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a
|
| 3 |
+
size 1068
|
dbis-MISCFilter-RealBlurR/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFilter-RealBlurR.safetensors` | `RealBlur_R.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFilter-RealBlurR/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFilter-RealBlurR
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFiltertiled-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled-RealBlurR).
|
| 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 dbis-MISCFilter-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFilter-RealBlurR") # 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 |
+
| `dbis-MISCFilter-RealBlurR.safetensors` | 59 MB | 24.8530 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | – | 24.8530 | 267.8 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFilter-RealBlurR.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFilter-RealBlurR",
|
| 3 |
+
"file": "dbis-MISCFilter-RealBlurR.safetensors",
|
| 4 |
+
"path": "dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors",
|
| 5 |
+
"bytes": 59410336,
|
| 6 |
+
"sha256": "0d1f2ff25a7d63a28472755cb5ce43ec5e4c2a50e3b32be0c747bf33a8880617",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "MISCFilter",
|
| 12 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 13 |
+
"venue": "CVPR 2024",
|
| 14 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 15 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 16 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 17 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 18 |
+
"group": "state_dict",
|
| 19 |
+
"file": "checkpoints/RealBlur_R.pth",
|
| 20 |
+
"md5": "51c883c5bdcbcc1b5497984bbfc0c0c5",
|
| 21 |
+
"trained_on": "RealBlur-R"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFilter-RealBlurR\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d1f2ff25a7d63a28472755cb5ce43ec5e4c2a50e3b32be0c747bf33a8880617
|
| 3 |
+
size 59410336
|
dbis-MISCFilter-RealBlurR/licenses/MISCFilter-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a
|
| 3 |
+
size 1068
|
dbis-MISCFilter/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFilter.safetensors` | `GoPro.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFilter/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFilter
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled), [dbisf-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFilter), [dbisf-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFiltertiled).
|
| 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 dbis-MISCFilter blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFilter/dbis-MISCFilter.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFilter") # 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 |
+
| `dbis-MISCFilter.safetensors` | 59 MB | 32.0218 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | 69 MB | 32.0218 | 267.8 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFilter.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFilter/dbis-MISCFilter.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFilter",
|
| 3 |
+
"file": "dbis-MISCFilter.safetensors",
|
| 4 |
+
"path": "dbis-MISCFilter/dbis-MISCFilter.safetensors",
|
| 5 |
+
"bytes": 59410320,
|
| 6 |
+
"sha256": "e90bdd76933e21c9a177c736bcac57af36ca2de6766c3a16eb4b392e2cdd63a6",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {},
|
| 10 |
+
"source": {
|
| 11 |
+
"method": "MISCFilter",
|
| 12 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 13 |
+
"venue": "CVPR 2024",
|
| 14 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 15 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 16 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 17 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 18 |
+
"group": "state_dict",
|
| 19 |
+
"file": "checkpoints/GoPro.pth",
|
| 20 |
+
"md5": "ad6a0968f56a8c65ac38479b56df863b",
|
| 21 |
+
"trained_on": "GoPro"
|
| 22 |
+
},
|
| 23 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFilter\")",
|
| 24 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 25 |
+
}
|
dbis-MISCFilter/dbis-MISCFilter.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e90bdd76933e21c9a177c736bcac57af36ca2de6766c3a16eb4b392e2cdd63a6
|
| 3 |
+
size 59410320
|
dbis-MISCFilter/licenses/MISCFilter-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a
|
| 3 |
+
size 1068
|
dbis-MISCFiltertiled-RealBlurJ/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFiltertiled-RealBlurJ.safetensors` | `RealBlur_J.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFiltertiled-RealBlurJ/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFiltertiled-RealBlurJ
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFilter-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter-RealBlurJ).
|
| 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 dbis-MISCFiltertiled-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFiltertiled-RealBlurJ") # 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 |
+
| `dbis-MISCFiltertiled-RealBlurJ.safetensors` | 59 MB | 25.5928 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | – | 25.5928 | 267.8 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFiltertiled-RealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFiltertiled-RealBlurJ",
|
| 3 |
+
"file": "dbis-MISCFiltertiled-RealBlurJ.safetensors",
|
| 4 |
+
"path": "dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors",
|
| 5 |
+
"bytes": 59410336,
|
| 6 |
+
"sha256": "e81a40403f8969b377b6c9cc7fb187956f46175d81cd0f42f3c35f27b5e0eb60",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {
|
| 10 |
+
"window": 256
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MISCFilter",
|
| 14 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 15 |
+
"venue": "CVPR 2024",
|
| 16 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 17 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 18 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 19 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 20 |
+
"group": "state_dict",
|
| 21 |
+
"file": "checkpoints/RealBlur_J.pth",
|
| 22 |
+
"md5": "e40f14f74546d51c217053f68bfed292",
|
| 23 |
+
"trained_on": "RealBlur-J"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled-RealBlurJ\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e81a40403f8969b377b6c9cc7fb187956f46175d81cd0f42f3c35f27b5e0eb60
|
| 3 |
+
size 59410336
|
dbis-MISCFiltertiled-RealBlurJ/licenses/MISCFilter-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a
|
| 3 |
+
size 1068
|
dbis-MISCFiltertiled-RealBlurR/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFiltertiled-RealBlurR.safetensors` | `RealBlur_R.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFiltertiled-RealBlurR/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFiltertiled-RealBlurR
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFilter-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter-RealBlurR).
|
| 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 dbis-MISCFiltertiled-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFiltertiled-RealBlurR") # 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 |
+
| `dbis-MISCFiltertiled-RealBlurR.safetensors` | 59 MB | 25.1464 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | – | 25.1464 | 267.8 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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFiltertiled-RealBlurR.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFiltertiled-RealBlurR",
|
| 3 |
+
"file": "dbis-MISCFiltertiled-RealBlurR.safetensors",
|
| 4 |
+
"path": "dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors",
|
| 5 |
+
"bytes": 59410336,
|
| 6 |
+
"sha256": "822bdccfcf038160dade4a7b0271a2d9fa154047de30fe678ce342999878b4fc",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {
|
| 10 |
+
"window": 256
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MISCFilter",
|
| 14 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 15 |
+
"venue": "CVPR 2024",
|
| 16 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 17 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 18 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 19 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 20 |
+
"group": "state_dict",
|
| 21 |
+
"file": "checkpoints/RealBlur_R.pth",
|
| 22 |
+
"md5": "51c883c5bdcbcc1b5497984bbfc0c0c5",
|
| 23 |
+
"trained_on": "RealBlur-R"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled-RealBlurR\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:822bdccfcf038160dade4a7b0271a2d9fa154047de30fe678ce342999878b4fc
|
| 3 |
+
size 59410336
|
dbis-MISCFiltertiled-RealBlurR/licenses/MISCFilter-LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a
|
| 3 |
+
size 1068
|
dbis-MISCFiltertiled/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Terms of the weight file
|
| 2 |
+
|
| 3 |
+
| File | Source checkpoint | Terms |
|
| 4 |
+
|---|---|---|
|
| 5 |
+
| `dbis-MISCFiltertiled.safetensors` | `GoPro.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-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-MISCFiltertiled/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-MISCFiltertiled
|
| 13 |
+
|
| 14 |
+
MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 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/ChengxuLiu/MISCFilter.
|
| 15 |
+
|
| 16 |
+
The same checkpoint in other versions: [dbis-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter), [dbisf-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFilter), [dbisf-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFiltertiled).
|
| 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 dbis-MISCFiltertiled blurry.png sharp.png # an image, a folder of frames or a video
|
| 24 |
+
hf download Illaitar/dbis dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors # this file alone, without the package
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import dbis
|
| 29 |
+
net = dbis.load("dbis-MISCFiltertiled") # 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 |
+
| `dbis-MISCFiltertiled.safetensors` | 59 MB | 33.3445 | 291.8 ms |
|
| 38 |
+
| the authors' code and checkpoint | – | 33.3445 | 268.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 |
+
The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md).
|
| 43 |
+
|
| 44 |
+
`dbis-MISCFiltertiled.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32.
|
| 45 |
+
|
| 46 |
+
## Terms
|
| 47 |
+
|
| 48 |
+
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-MISCFiltertiled/dbis-MISCFiltertiled.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "dbis-MISCFiltertiled",
|
| 3 |
+
"file": "dbis-MISCFiltertiled.safetensors",
|
| 4 |
+
"path": "dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors",
|
| 5 |
+
"bytes": 59410320,
|
| 6 |
+
"sha256": "4f89de1d173b8cc891a38ea28b270653c57e1347634506f97307824bc964cd42",
|
| 7 |
+
"store": "float32",
|
| 8 |
+
"class": "dbis.miscfilter.MISCFilter",
|
| 9 |
+
"args": {
|
| 10 |
+
"window": 256
|
| 11 |
+
},
|
| 12 |
+
"source": {
|
| 13 |
+
"method": "MISCFilter",
|
| 14 |
+
"paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring",
|
| 15 |
+
"venue": "CVPR 2024",
|
| 16 |
+
"code": "https://github.com/ChengxuLiu/MISCFilter",
|
| 17 |
+
"commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74",
|
| 18 |
+
"license": "MIT, Copyright (c) 2024 Chengxu Liu",
|
| 19 |
+
"url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)",
|
| 20 |
+
"group": "state_dict",
|
| 21 |
+
"file": "checkpoints/GoPro.pth",
|
| 22 |
+
"md5": "ad6a0968f56a8c65ac38479b56df863b",
|
| 23 |
+
"trained_on": "GoPro"
|
| 24 |
+
},
|
| 25 |
+
"load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled\")",
|
| 26 |
+
"code": "https://github.com/illaitar/deblurring-is-solved"
|
| 27 |
+
}
|
dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f89de1d173b8cc891a38ea28b270653c57e1347634506f97307824bc964cd42
|
| 3 |
+
size 59410320
|