diff --git a/dbis-DSTNet-DVD/README.md b/dbis-DSTNet-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..cb4c1e350fb993f2ad4a9c749b0df2acef1b1980 --- /dev/null +++ b/dbis-DSTNet-DVD/README.md @@ -0,0 +1,45 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNet-DVD + +DSTNet (Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring, CVPR 2023) 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/xuboming8/DSTNet. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNet-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNet-DVD/dbis-DSTNet-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNet-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNet-DVD.safetensors` | 30 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNet-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNet-DVD/dbis-DSTNet-DVD.json b/dbis-DSTNet-DVD/dbis-DSTNet-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..b2d76da5ed5f91b61d800028cfbe794aabe805f9 --- /dev/null +++ b/dbis-DSTNet-DVD/dbis-DSTNet-DVD.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-DSTNet-DVD", + "file": "dbis-DSTNet-DVD.safetensors", + "path": "dbis-DSTNet-DVD/dbis-DSTNet-DVD.safetensors", + "bytes": 29836044, + "sha256": "6fe15682b3fdc3a9aaaaa1bf9c43d416d633aee98d4769f03b25ef96ebbc967c", + "store": "float32", + "class": "dbis.dstnet.DSTNet", + "args": { + "window": 25 + }, + "source": { + "method": "DSTNet", + "paper": "Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring", + "venue": "CVPR 2023", + "code": "https://github.com/xuboming8/DSTNet", + "commit": "d42c1e377619750d228e769e987479562f7000a9", + "license": "MIT, Copyright (c) 2023 hippopmonkey", + "group": "params", + "url": "https://github.com/xuboming8/DSTNet (experiments/ folder of the repository, README 'Pretrained models') DVD.pth", + "file": "DVD.pth", + "md5": "53ab2bb6863b2d3547e359402dc7b393", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNet-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNet-DVD/dbis-DSTNet-DVD.safetensors b/dbis-DSTNet-DVD/dbis-DSTNet-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..9eecc23e8db96180d2c8a96da839e4093a784c54 --- /dev/null +++ b/dbis-DSTNet-DVD/dbis-DSTNet-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fe15682b3fdc3a9aaaaa1bf9c43d416d633aee98d4769f03b25ef96ebbc967c +size 29836044 diff --git a/dbis-DSTNet-DVD/licenses/DSTNet-LICENSE.txt b/dbis-DSTNet-DVD/licenses/DSTNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..c6f315bf350dc36abaf47928e4f288c07949b7c4 --- /dev/null +++ b/dbis-DSTNet-DVD/licenses/DSTNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b1597cdb87c4ea095b94a569fcf1152a57817dee292deba9e32ee9e61f8d5c3 +size 1069 diff --git a/dbis-DSTNetPlus-L-BSD2/LICENSE.md b/dbis-DSTNetPlus-L-BSD2/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..af887b6a03935406d7fca76f0cd727dc73e689a6 --- /dev/null +++ b/dbis-DSTNetPlus-L-BSD2/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNetPlus-L-BSD2.safetensors` | `DSTNetPlus_L_bsd2ms.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | + +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). diff --git a/dbis-DSTNetPlus-L-BSD2/README.md b/dbis-DSTNetPlus-L-BSD2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3f96a51538620d044cce4d8006a1d811d803c935 --- /dev/null +++ b/dbis-DSTNetPlus-L-BSD2/README.md @@ -0,0 +1,45 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNetPlus-L-BSD2 + +DSTNet+ L (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD 2ms16ms) 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/sunny2109/DSTNet-plus. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNetPlus-L-BSD2 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNetPlus-L-BSD2") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNetPlus-L-BSD2.safetensors` | 56 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNetPlus-L-BSD2.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.json b/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.json new file mode 100644 index 0000000000000000000000000000000000000000..129cfefb86f461a491687761c9715a09e003cf82 --- /dev/null +++ b/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-DSTNetPlus-L-BSD2", + "file": "dbis-DSTNetPlus-L-BSD2.safetensors", + "path": "dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.safetensors", + "bytes": 56392588, + "sha256": "44ae3520dd7f44f5f75b7ab863024e0c06100409676fad8adcbff52c95dd59a1", + "store": "float32", + "class": "dbis.dstnetplus.DSTNetPlus", + "args": { + "window": 30 + }, + "source": { + "method": "DSTNet+ L", + "paper": "Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring", + "venue": "TPAMI 2025", + "code": "https://github.com/sunny2109/DSTNet-plus", + "commit": "54363c15d8b924aa1ae56b8f835c1f0289954e95", + "license": "Apache License 2.0 (LICENSE.txt of the repository)", + "url": "https://github.com/sunny2109/DSTNet-plus/releases/tag/v0.1.0 (also https://huggingface.co/Meloo/DSTNetPlus)", + "group": "params", + "file": "DSTNetPlus_L_bsd2ms.pth", + "md5": "1a4e086fdeac77a709e3cfa782d7677b", + "trained_on": "BSD 2ms16ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNetPlus-L-BSD2\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.safetensors b/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..eb1099287bcc0491df5b195225840571e39ca175 --- /dev/null +++ b/dbis-DSTNetPlus-L-BSD2/dbis-DSTNetPlus-L-BSD2.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44ae3520dd7f44f5f75b7ab863024e0c06100409676fad8adcbff52c95dd59a1 +size 56392588 diff --git a/dbis-DSTNetPlus-L-BSD2/licenses/DSTNet-plus-LICENSE.txt b/dbis-DSTNetPlus-L-BSD2/licenses/DSTNet-plus-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..dad560ee115822193bcc9351a9676de5db9691ec --- /dev/null +++ b/dbis-DSTNetPlus-L-BSD2/licenses/DSTNet-plus-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5447872f21ddc29dc0dc060d5c885513c01c904e9da9931bba69898a6fb4d415 +size 11350 diff --git a/dbis-DSTNetPlus-L-DVD/LICENSE.md b/dbis-DSTNetPlus-L-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..4f155c3b28ba9923eb9a0a07221f5b9db9efc637 --- /dev/null +++ b/dbis-DSTNetPlus-L-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNetPlus-L-DVD.safetensors` | `DSTNetPlus_L_dvd.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | + +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). diff --git a/dbis-DSTNetPlus-L-DVD/README.md b/dbis-DSTNetPlus-L-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..81efd6a97a52e9abe551045afc8fcd256d97f324 --- /dev/null +++ b/dbis-DSTNetPlus-L-DVD/README.md @@ -0,0 +1,45 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNetPlus-L-DVD + +DSTNet+ L (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) 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/sunny2109/DSTNet-plus. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNetPlus-L-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNetPlus-L-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNetPlus-L-DVD.safetensors` | 56 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNetPlus-L-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.json b/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..0ec6472d1501f3ed1e8970483e8511814c1dfae6 --- /dev/null +++ b/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-DSTNetPlus-L-DVD", + "file": "dbis-DSTNetPlus-L-DVD.safetensors", + "path": "dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.safetensors", + "bytes": 56392588, + "sha256": "ec3d0e5b622ba77e89363e90f1afbee70b42c1fd67d4e2bd1002d995ecda41c7", + "store": "float32", + "class": "dbis.dstnetplus.DSTNetPlus", + "args": { + "window": 25 + }, + "source": { + "method": "DSTNet+ L", + "paper": "Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring", + "venue": "TPAMI 2025", + "code": "https://github.com/sunny2109/DSTNet-plus", + "commit": "54363c15d8b924aa1ae56b8f835c1f0289954e95", + "license": "Apache License 2.0 (LICENSE.txt of the repository)", + "url": "https://github.com/sunny2109/DSTNet-plus/releases/tag/v0.1.0 (also https://huggingface.co/Meloo/DSTNetPlus)", + "group": "params", + "file": "DSTNetPlus_L_dvd.pth", + "md5": "1807a48be53eb7a9ce4dfe18bbaad222", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNetPlus-L-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.safetensors b/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..721c95dd1fa01ce41fa93a611546e16fcddf4389 --- /dev/null +++ b/dbis-DSTNetPlus-L-DVD/dbis-DSTNetPlus-L-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec3d0e5b622ba77e89363e90f1afbee70b42c1fd67d4e2bd1002d995ecda41c7 +size 56392588 diff --git a/dbis-DSTNetPlus-L-DVD/licenses/DSTNet-plus-LICENSE.txt b/dbis-DSTNetPlus-L-DVD/licenses/DSTNet-plus-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..dad560ee115822193bcc9351a9676de5db9691ec --- /dev/null +++ b/dbis-DSTNetPlus-L-DVD/licenses/DSTNet-plus-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5447872f21ddc29dc0dc060d5c885513c01c904e9da9931bba69898a6fb4d415 +size 11350 diff --git a/dbis-DSTNetPlus-L/LICENSE.md b/dbis-DSTNetPlus-L/LICENSE.md index c2873e0d8f8c04b74a8479465d3ed7c80f5b78fe..6a991f721a1cab6319dff88af7a4cdfd6767bd5d 100644 --- a/dbis-DSTNetPlus-L/LICENSE.md +++ b/dbis-DSTNetPlus-L/LICENSE.md @@ -2,6 +2,6 @@ | File | Source checkpoint | Terms | |---|---|---| -| `dbis-DSTNetPlus-L.safetensors` | `DSTNetPlus_L_gopro.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (release v0.1.0) | Apache License 2.0 (`licenses/DSTNet-plus-LICENSE.txt`) | +| `dbis-DSTNetPlus-L.safetensors` | `DSTNetPlus_L_gopro.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | 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). diff --git a/dbis-DSTNetPlus-L/README.md b/dbis-DSTNetPlus-L/README.md index 553645a17d0e3a084ed27af8c0ca0bd7e8eac545..7e3a615c1d272a76ead25dd87150a5dcdef135d3 100644 --- a/dbis-DSTNetPlus-L/README.md +++ b/dbis-DSTNetPlus-L/README.md @@ -12,9 +12,9 @@ tags: # dbis-DSTNetPlus-L -DSTNet+ L (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' GoPro checkpoint by `python -m dbis.convert` of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/sunny2109/DSTNet-plus. +DSTNet+ L (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) 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/sunny2109/DSTNet-plus. -The same method faster and lighter: [dbisf-DSTNetPlus-L](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DSTNetPlus-L). +The same checkpoint in other versions: [dbisf-DSTNetPlus-L](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DSTNetPlus-L). Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). ## Use @@ -38,10 +38,12 @@ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] | `dbis-DSTNetPlus-L.safetensors` | 56 MB | 35.7078 | 3.45 s | | the authors' code and checkpoint | 56 MB | 35.7078 | 3.01 s | -PSNR: the 1,111 GoPro test frames, 8-bit outputs. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md) has every number and option). +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). `dbis-DSTNetPlus-L.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. ## Terms -The file keeps the terms of the checkpoint it is made from: see `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. +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. diff --git a/dbis-DSTNetPlus-base-BSD2/LICENSE.md b/dbis-DSTNetPlus-base-BSD2/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..0923ad9c6ff9a943f577073e7015dcfa2e7a880a --- /dev/null +++ b/dbis-DSTNetPlus-base-BSD2/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNetPlus-base-BSD2.safetensors` | `DSTNetPlus_base_bsd2ms.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | + +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). diff --git a/dbis-DSTNetPlus-base-BSD2/README.md b/dbis-DSTNetPlus-base-BSD2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..55758df15f73a67b328072905dba2b7d06f8b34e --- /dev/null +++ b/dbis-DSTNetPlus-base-BSD2/README.md @@ -0,0 +1,45 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNetPlus-base-BSD2 + +DSTNet+ base (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD 2ms16ms) 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/sunny2109/DSTNet-plus. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNetPlus-base-BSD2 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNetPlus-base-BSD2") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNetPlus-base-BSD2.safetensors` | 16 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNetPlus-base-BSD2.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.json b/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.json new file mode 100644 index 0000000000000000000000000000000000000000..e557f95460a908e520cfd328dd783367f3fedd78 --- /dev/null +++ b/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.json @@ -0,0 +1,30 @@ +{ + "model": "dbis-DSTNetPlus-base-BSD2", + "file": "dbis-DSTNetPlus-base-BSD2.safetensors", + "path": "dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.safetensors", + "bytes": 15638268, + "sha256": "f27d32ea5a0007e4c6fd2f8f246f840a668c3c425cbbb92bf90f66cb5e998ee7", + "store": "float32", + "class": "dbis.dstnetplus.DSTNetPlus", + "args": { + "num_feat": 64, + "num_kernel_block": 3, + "num_block": 15, + "window": 30 + }, + "source": { + "method": "DSTNet+ base", + "paper": "Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring", + "venue": "TPAMI 2025", + "code": "https://github.com/sunny2109/DSTNet-plus", + "commit": "54363c15d8b924aa1ae56b8f835c1f0289954e95", + "license": "Apache License 2.0 (LICENSE.txt of the repository)", + "url": "https://github.com/sunny2109/DSTNet-plus/releases/tag/v0.1.0 (also https://huggingface.co/Meloo/DSTNetPlus)", + "group": "params", + "file": "DSTNetPlus_base_bsd2ms.pth", + "md5": "89c7e970db6093227555f2e0c36e8989", + "trained_on": "BSD 2ms16ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNetPlus-base-BSD2\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.safetensors b/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..66cf3129feeec8ccd47eb446f176c11366222d6b --- /dev/null +++ b/dbis-DSTNetPlus-base-BSD2/dbis-DSTNetPlus-base-BSD2.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f27d32ea5a0007e4c6fd2f8f246f840a668c3c425cbbb92bf90f66cb5e998ee7 +size 15638268 diff --git a/dbis-DSTNetPlus-base-BSD2/licenses/DSTNet-plus-LICENSE.txt b/dbis-DSTNetPlus-base-BSD2/licenses/DSTNet-plus-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..dad560ee115822193bcc9351a9676de5db9691ec --- /dev/null +++ b/dbis-DSTNetPlus-base-BSD2/licenses/DSTNet-plus-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5447872f21ddc29dc0dc060d5c885513c01c904e9da9931bba69898a6fb4d415 +size 11350 diff --git a/dbis-DSTNetPlus-base-DVD/LICENSE.md b/dbis-DSTNetPlus-base-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..e4e123e7d1b05983d12e3b5fdd1ca748b5f3723f --- /dev/null +++ b/dbis-DSTNetPlus-base-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNetPlus-base-DVD.safetensors` | `DSTNetPlus_base_dvd.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | + +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). diff --git a/dbis-DSTNetPlus-base-DVD/README.md b/dbis-DSTNetPlus-base-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e5f232a80d342bfcb3776d58045f356fde0a7e30 --- /dev/null +++ b/dbis-DSTNetPlus-base-DVD/README.md @@ -0,0 +1,45 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNetPlus-base-DVD + +DSTNet+ base (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) 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/sunny2109/DSTNet-plus. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNetPlus-base-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNetPlus-base-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNetPlus-base-DVD.safetensors` | 16 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNetPlus-base-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.json b/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..5fed9c6df9dfae95106734769d19e9cfad0300da --- /dev/null +++ b/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.json @@ -0,0 +1,30 @@ +{ + "model": "dbis-DSTNetPlus-base-DVD", + "file": "dbis-DSTNetPlus-base-DVD.safetensors", + "path": "dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.safetensors", + "bytes": 15638268, + "sha256": "e3bc96e226dfd3b9469dcaa27778b2d09dbae153a1e1d2f3446cc3b197768835", + "store": "float32", + "class": "dbis.dstnetplus.DSTNetPlus", + "args": { + "num_feat": 64, + "num_kernel_block": 3, + "num_block": 15, + "window": 25 + }, + "source": { + "method": "DSTNet+ base", + "paper": "Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring", + "venue": "TPAMI 2025", + "code": "https://github.com/sunny2109/DSTNet-plus", + "commit": "54363c15d8b924aa1ae56b8f835c1f0289954e95", + "license": "Apache License 2.0 (LICENSE.txt of the repository)", + "url": "https://github.com/sunny2109/DSTNet-plus/releases/tag/v0.1.0 (also https://huggingface.co/Meloo/DSTNetPlus)", + "group": "params", + "file": "DSTNetPlus_base_dvd.pth", + "md5": "8e38a457248ab0c98894f5d9ce59bd05", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNetPlus-base-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.safetensors b/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..49ab04ae3a01c0d8965365fbe7c2345d2fd5907b --- /dev/null +++ b/dbis-DSTNetPlus-base-DVD/dbis-DSTNetPlus-base-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3bc96e226dfd3b9469dcaa27778b2d09dbae153a1e1d2f3446cc3b197768835 +size 15638268 diff --git a/dbis-DSTNetPlus-base-DVD/licenses/DSTNet-plus-LICENSE.txt b/dbis-DSTNetPlus-base-DVD/licenses/DSTNet-plus-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..dad560ee115822193bcc9351a9676de5db9691ec --- /dev/null +++ b/dbis-DSTNetPlus-base-DVD/licenses/DSTNet-plus-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5447872f21ddc29dc0dc060d5c885513c01c904e9da9931bba69898a6fb4d415 +size 11350 diff --git a/dbis-DSTNetPlus-base/LICENSE.md b/dbis-DSTNetPlus-base/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..b1bbcd4e31be5b8023d614610387a50b0e760e08 --- /dev/null +++ b/dbis-DSTNetPlus-base/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNetPlus-base.safetensors` | `DSTNetPlus_base_gopro.pth` of [sunny2109/DSTNet-plus](https://github.com/sunny2109/DSTNet-plus) (commit 54363c1) | Apache License 2.0 (LICENSE.txt of the repository) (`licenses/DSTNet-plus-LICENSE.txt`) | + +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). diff --git a/dbis-DSTNetPlus-base/README.md b/dbis-DSTNetPlus-base/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1a3388f3ad7837f9d3a24987376610a2bbd8bcde --- /dev/null +++ b/dbis-DSTNetPlus-base/README.md @@ -0,0 +1,46 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNetPlus-base + +DSTNet+ base (Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring, TPAMI 2025) 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/sunny2109/DSTNet-plus. + +The same checkpoint in other versions: [dbisf-DSTNetPlus-base](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DSTNetPlus-base). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNetPlus-base blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNetPlus-base") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNetPlus-base.safetensors` | 16 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNetPlus-base.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.json b/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.json new file mode 100644 index 0000000000000000000000000000000000000000..e29ea1488400c082e97ee2a398497e6c33564150 --- /dev/null +++ b/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.json @@ -0,0 +1,29 @@ +{ + "model": "dbis-DSTNetPlus-base", + "file": "dbis-DSTNetPlus-base.safetensors", + "path": "dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors", + "bytes": 15638260, + "sha256": "04731a4338e62d88c15885487460a0f8d850b8ece67c6282f886c33e4e63c642", + "store": "float32", + "class": "dbis.dstnetplus.DSTNetPlus", + "args": { + "num_feat": 64, + "num_kernel_block": 3, + "num_block": 15 + }, + "source": { + "method": "DSTNet+ base", + "paper": "Learning Efficient Deep Discriminative Spatial and Temporal Networks for Video Deblurring", + "venue": "TPAMI 2025", + "code": "https://github.com/sunny2109/DSTNet-plus", + "commit": "54363c15d8b924aa1ae56b8f835c1f0289954e95", + "license": "Apache License 2.0 (LICENSE.txt of the repository)", + "url": "https://github.com/sunny2109/DSTNet-plus/releases/tag/v0.1.0 (also https://huggingface.co/Meloo/DSTNetPlus)", + "group": "params", + "file": "DSTNetPlus_base_gopro.pth", + "md5": "8996a441abd1dbbdead7ffde6c87397e", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNetPlus-base\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors b/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..5a7a90b3154ff70d88ac508fc1ea7e12be823ed0 --- /dev/null +++ b/dbis-DSTNetPlus-base/dbis-DSTNetPlus-base.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04731a4338e62d88c15885487460a0f8d850b8ece67c6282f886c33e4e63c642 +size 15638260 diff --git a/dbis-DSTNetPlus-base/licenses/DSTNet-plus-LICENSE.txt b/dbis-DSTNetPlus-base/licenses/DSTNet-plus-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..dad560ee115822193bcc9351a9676de5db9691ec --- /dev/null +++ b/dbis-DSTNetPlus-base/licenses/DSTNet-plus-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5447872f21ddc29dc0dc060d5c885513c01c904e9da9931bba69898a6fb4d415 +size 11350 diff --git a/dbis-DeblurDiNAT-L/LICENSE.md b/dbis-DeblurDiNAT-L/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..557402c5926574746ee5110daf5c09bdf09b2559 --- /dev/null +++ b/dbis-DeblurDiNAT-L/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeblurDiNAT-L.safetensors` | `DeblurDiNATL.pth` of [HanzhouLiu/DeblurDiNAT](https://github.com/HanzhouLiu/DeblurDiNAT) (commit 134afc1) | MIT, Copyright (c) 2024 Hanzhou Liu (`licenses/DeblurDiNAT-LICENSE.txt`) | + +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). diff --git a/dbis-DeblurDiNAT-L/README.md b/dbis-DeblurDiNAT-L/README.md new file mode 100644 index 0000000000000000000000000000000000000000..8f9af79e221dc9882adf5d99aa6aa8310c67b2a8 --- /dev/null +++ b/dbis-DeblurDiNAT-L/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeblurDiNAT-L + +DeblurDiNAT (DeblurDiNAT: A Compact Model with Exceptional Generalization and Visual Fidelity on Unseen Domains, arXiv 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/HanzhouLiu/DeblurDiNAT. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeblurDiNAT-L blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeblurDiNAT-L") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeblurDiNAT-L.safetensors` | 65 MB | 33.6259 | – | +| the authors' code and checkpoint | – | 33.6259 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeblurDiNAT-L.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.json b/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.json new file mode 100644 index 0000000000000000000000000000000000000000..25aced521a69257988e12f10eac4c0be22c4d6a7 --- /dev/null +++ b/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DeblurDiNAT-L", + "file": "dbis-DeblurDiNAT-L.safetensors", + "path": "dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.safetensors", + "bytes": 64630472, + "sha256": "82ce15ca35a9a9e7cfe087e5a1acdbf357ee34b502be62a8eb336b060a67b597", + "store": "float32", + "class": "dbis.deblurdinat.DeblurDiNAT", + "args": {}, + "source": { + "method": "DeblurDiNAT", + "paper": "DeblurDiNAT: A Compact Model with Exceptional Generalization and Visual Fidelity on Unseen Domains", + "venue": "arXiv 2024", + "code": "https://github.com/HanzhouLiu/DeblurDiNAT", + "commit": "134afc16837c5b14fc540bf0eef937b98e4f22d1", + "license": "MIT, Copyright (c) 2024 Hanzhou Liu", + "url": "https://drive.google.com/file/d/1VT7dpP550b83YZ0LjfmGA5t0nEA32EEs", + "file": "DeblurDiNATL.pth", + "md5": "2c873cfa06cdfec6d64ad6bdef90fc4a", + "group": null, + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeblurDiNAT-L\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.safetensors b/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..0a963eff060aa1c4900ec77036bba09290bf2a98 --- /dev/null +++ b/dbis-DeblurDiNAT-L/dbis-DeblurDiNAT-L.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82ce15ca35a9a9e7cfe087e5a1acdbf357ee34b502be62a8eb336b060a67b597 +size 64630472 diff --git a/dbis-DeblurDiNAT-L/licenses/DeblurDiNAT-LICENSE.txt b/dbis-DeblurDiNAT-L/licenses/DeblurDiNAT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..44421b798210cf28e116734d4ede1ce7e3da0ba5 --- /dev/null +++ b/dbis-DeblurDiNAT-L/licenses/DeblurDiNAT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:534884506faecdbb46b1bc5b2c186ec46857d248023262706f28c5c0e7862993 +size 1053 diff --git a/dbis-DeblurGANv2-Inception/LICENSE.md b/dbis-DeblurGANv2-Inception/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..a548a0e0b3e0219997081f09ccc7cd1d5909045b --- /dev/null +++ b/dbis-DeblurGANv2-Inception/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeblurGANv2-Inception.safetensors` | `fpn_inception.h5` of [VITA-Group/DeblurGANv2](https://github.com/VITA-Group/DeblurGANv2) (commit c16bd9f) | BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang (`licenses/DeblurGANv2-LICENSE.txt`) | + +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). diff --git a/dbis-DeblurGANv2-Inception/README.md b/dbis-DeblurGANv2-Inception/README.md new file mode 100644 index 0000000000000000000000000000000000000000..55d9db4d49cdc6a88cea66e324a57afb97a267c8 --- /dev/null +++ b/dbis-DeblurGANv2-Inception/README.md @@ -0,0 +1,48 @@ +--- +license: bsd-3-clause +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeblurGANv2-Inception + +DeblurGAN-v2 (DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better, ICCV 2019) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+DVD+NFS (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/VITA-Group/DeblurGANv2. + +The same checkpoint in other versions: [dbisf-DeblurGANv2-Inception](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeblurGANv2-Inception). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeblurGANv2-Inception blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeblurGANv2-Inception") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeblurGANv2-Inception.safetensors` | 144 MB | 29.2134 | 7.9 ms | +| the authors' code and checkpoint | 244 MB | 29.2134 | 7.9 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeblurGANv2-Inception.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: BSD-3-Clause. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.json b/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.json new file mode 100644 index 0000000000000000000000000000000000000000..6e15f78da033c23afd8b22902a4ca1d80f225758 --- /dev/null +++ b/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeblurGANv2-Inception", + "file": "dbis-DeblurGANv2-Inception.safetensors", + "path": "dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.safetensors", + "bytes": 143630092, + "sha256": "cb333cb4b293120570fe6ed61c187daa1679548f34840b4290b5756794f9e2af", + "store": "float32", + "class": "dbis.deblurganv2.DeblurGANv2", + "args": { + "backbone": "inception", + "bn_batch_stats": true + }, + "source": { + "method": "DeblurGAN-v2", + "paper": "DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better", + "venue": "ICCV 2019", + "code": "https://github.com/VITA-Group/DeblurGANv2", + "commit": "c16bd9f5be63885389a57202c74023531d9ca086", + "license": "BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang", + "group": "model", + "trained_on": "GoPro+DVD+NFS (mix)", + "url": "https://drive.google.com/uc?id=1UXcsRVW-6KF23_TNzxw-xC0SzaMfXOaR", + "file": "fpn_inception.h5", + "md5": "96f747f38a0119669265cbb5fc7b3c5c" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeblurGANv2-Inception\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.safetensors b/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..bb3b60f461f7ad603475616fe047fd723c2a4c77 --- /dev/null +++ b/dbis-DeblurGANv2-Inception/dbis-DeblurGANv2-Inception.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb333cb4b293120570fe6ed61c187daa1679548f34840b4290b5756794f9e2af +size 143630092 diff --git a/dbis-DeblurGANv2-Inception/licenses/DeblurGANv2-LICENSE.txt b/dbis-DeblurGANv2-Inception/licenses/DeblurGANv2-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..97f594496eb654b965e4c9651e4b0c5ea1f7d642 --- /dev/null +++ b/dbis-DeblurGANv2-Inception/licenses/DeblurGANv2-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd75c49c72941d7d708328023d1b35224ece3fe79fe3011f3a96832b7fa15a97 +size 3634 diff --git a/dbis-DeblurGANv2-MobileNet/LICENSE.md b/dbis-DeblurGANv2-MobileNet/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..27083e4682ee09214956d7e3fd86e2b912bcc06b --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeblurGANv2-MobileNet.safetensors` | `fpn_mobilenet.h5` of [VITA-Group/DeblurGANv2](https://github.com/VITA-Group/DeblurGANv2) (commit c16bd9f) | BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang (`licenses/DeblurGANv2-LICENSE.txt`) | + +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). diff --git a/dbis-DeblurGANv2-MobileNet/README.md b/dbis-DeblurGANv2-MobileNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..74b37945578785529c9ac46e5a7ff5ff64f7454e --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet/README.md @@ -0,0 +1,48 @@ +--- +license: bsd-3-clause +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeblurGANv2-MobileNet + +DeblurGAN-v2 (DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better, ICCV 2019) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+DVD+NFS (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/VITA-Group/DeblurGANv2. + +The same checkpoint in other versions: [dbis-DeblurGANv2-MobileNet_bnfix](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeblurGANv2-MobileNet_bnfix), [dbisf-DeblurGANv2-MobileNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeblurGANv2-MobileNet), [dbisf-DeblurGANv2-MobileNet_bnfix](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeblurGANv2-MobileNet_bnfix). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeblurGANv2-MobileNet blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeblurGANv2-MobileNet") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeblurGANv2-MobileNet.safetensors` | 9 MB | 23.6314 | 2.1 ms | +| the authors' code and checkpoint | 14 MB | 23.6314 | 2.1 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeblurGANv2-MobileNet.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: BSD-3-Clause. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.json b/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.json new file mode 100644 index 0000000000000000000000000000000000000000..9810093ad604833a95864355907db5db78b6722a --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeblurGANv2-MobileNet", + "file": "dbis-DeblurGANv2-MobileNet.safetensors", + "path": "dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.safetensors", + "bytes": 8545564, + "sha256": "688811277aff67b99cf6f0fb3d41fe2eba5579aef5b85eea79a485241fbf5698", + "store": "float32", + "class": "dbis.deblurganv2.DeblurGANv2", + "args": { + "backbone": "mobilenet", + "bn_batch_stats": false + }, + "source": { + "method": "DeblurGAN-v2", + "paper": "DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better", + "venue": "ICCV 2019", + "code": "https://github.com/VITA-Group/DeblurGANv2", + "commit": "c16bd9f5be63885389a57202c74023531d9ca086", + "license": "BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang", + "group": "model", + "trained_on": "GoPro+DVD+NFS (mix)", + "url": "Google Drive link of the authors' README (fpn_mobilenet.h5)", + "file": "fpn_mobilenet.h5", + "md5": "7b8d2a02e16a37516173b2ec788a9e21" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeblurGANv2-MobileNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.safetensors b/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e947bec3e1aa74baf2c6dc3c9dc7e028cc44b4a2 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet/dbis-DeblurGANv2-MobileNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:688811277aff67b99cf6f0fb3d41fe2eba5579aef5b85eea79a485241fbf5698 +size 8545564 diff --git a/dbis-DeblurGANv2-MobileNet/licenses/DeblurGANv2-LICENSE.txt b/dbis-DeblurGANv2-MobileNet/licenses/DeblurGANv2-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..97f594496eb654b965e4c9651e4b0c5ea1f7d642 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet/licenses/DeblurGANv2-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd75c49c72941d7d708328023d1b35224ece3fe79fe3011f3a96832b7fa15a97 +size 3634 diff --git a/dbis-DeblurGANv2-MobileNet_bnfix/LICENSE.md b/dbis-DeblurGANv2-MobileNet_bnfix/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..2e5df53b94ac0669ac4c2aef63b11e5ff407f350 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet_bnfix/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeblurGANv2-MobileNet_bnfix.safetensors` | `fpn_mobilenet.h5` of [VITA-Group/DeblurGANv2](https://github.com/VITA-Group/DeblurGANv2) (commit c16bd9f) | BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang (`licenses/DeblurGANv2-LICENSE.txt`) | + +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). diff --git a/dbis-DeblurGANv2-MobileNet_bnfix/README.md b/dbis-DeblurGANv2-MobileNet_bnfix/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c2a6ba1195499450b2b3b0335cc38cc2b2a45a2d --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet_bnfix/README.md @@ -0,0 +1,48 @@ +--- +license: bsd-3-clause +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeblurGANv2-MobileNet_bnfix + +DeblurGAN-v2 (DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better, ICCV 2019) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+DVD+NFS (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/VITA-Group/DeblurGANv2. + +The same checkpoint in other versions: [dbis-DeblurGANv2-MobileNet](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeblurGANv2-MobileNet), [dbisf-DeblurGANv2-MobileNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeblurGANv2-MobileNet), [dbisf-DeblurGANv2-MobileNet_bnfix](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeblurGANv2-MobileNet_bnfix). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeblurGANv2-MobileNet_bnfix blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeblurGANv2-MobileNet_bnfix") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeblurGANv2-MobileNet_bnfix.safetensors` | 9 MB | – | 2.4 ms | +| the authors' code and checkpoint | 14 MB | – | 2.4 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeblurGANv2-MobileNet_bnfix.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: BSD-3-Clause. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.json b/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.json new file mode 100644 index 0000000000000000000000000000000000000000..4980be83e27ddd23582273fef1003a9df29d5554 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeblurGANv2-MobileNet_bnfix", + "file": "dbis-DeblurGANv2-MobileNet_bnfix.safetensors", + "path": "dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.safetensors", + "bytes": 8545572, + "sha256": "4cab2b15022f3e05fdf5105e3bab1bc3ab9c087ee5333b3d7830b2763aab460f", + "store": "float32", + "class": "dbis.deblurganv2.DeblurGANv2", + "args": { + "backbone": "mobilenet", + "bn_batch_stats": true + }, + "source": { + "method": "DeblurGAN-v2", + "paper": "DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better", + "venue": "ICCV 2019", + "code": "https://github.com/VITA-Group/DeblurGANv2", + "commit": "c16bd9f5be63885389a57202c74023531d9ca086", + "license": "BSD 3-Clause, Copyright (c) 2019, Orest Kupyn, Tetiana Martyniuk, Junru Wu and Zhangyang Wang", + "group": "model", + "trained_on": "GoPro+DVD+NFS (mix)", + "url": "Google Drive link of the authors' README (fpn_mobilenet.h5)", + "file": "fpn_mobilenet.h5", + "md5": "7b8d2a02e16a37516173b2ec788a9e21" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeblurGANv2-MobileNet_bnfix\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.safetensors b/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..cb2c3bd81225141fdfab3c4ed9406cbf7097b727 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet_bnfix/dbis-DeblurGANv2-MobileNet_bnfix.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cab2b15022f3e05fdf5105e3bab1bc3ab9c087ee5333b3d7830b2763aab460f +size 8545572 diff --git a/dbis-DeblurGANv2-MobileNet_bnfix/licenses/DeblurGANv2-LICENSE.txt b/dbis-DeblurGANv2-MobileNet_bnfix/licenses/DeblurGANv2-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..97f594496eb654b965e4c9651e4b0c5ea1f7d642 --- /dev/null +++ b/dbis-DeblurGANv2-MobileNet_bnfix/licenses/DeblurGANv2-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd75c49c72941d7d708328023d1b35224ece3fe79fe3011f3a96832b7fa15a97 +size 3634 diff --git a/dbis-DeepDeblur-GoProREDS/LICENSE.md b/dbis-DeepDeblur-GoProREDS/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..068696236ab53fad354a4ef35e609b9ec6c57bde --- /dev/null +++ b/dbis-DeepDeblur-GoProREDS/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepDeblur-GoProREDS.safetensors` | `model-200.pt` of [SeungjunNah/DeepDeblur-PyTorch](https://github.com/SeungjunNah/DeepDeblur-PyTorch) (commit e92dc7c) | MIT, Copyright (c) 2018 Seungjun Nah (`licenses/DeepDeblur-PyTorch-LICENSE.txt`) | + +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). diff --git a/dbis-DeepDeblur-GoProREDS/README.md b/dbis-DeepDeblur-GoProREDS/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1c0bdb48595c5b98a521dc4cb00a878de9ebb7cc --- /dev/null +++ b/dbis-DeepDeblur-GoProREDS/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepDeblur-GoProREDS + +DeepDeblur (Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring, CVPR 2017) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+REDS (REDS, GoPro-pretrained)) 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/SeungjunNah/DeepDeblur-PyTorch. + +The same checkpoint in other versions: [dbisf-DeepDeblur-GoProREDS](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepDeblur-GoProREDS). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepDeblur-GoProREDS blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepDeblur-GoProREDS") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepDeblur-GoProREDS.safetensors` | 47 MB | 25.9790 | – | +| the authors' code and checkpoint | 47 MB | 25.9790 | 54.6 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepDeblur-GoProREDS.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.json b/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.json new file mode 100644 index 0000000000000000000000000000000000000000..e3e0e2dcbc64dfa60aa892ef54d03d5091df3954 --- /dev/null +++ b/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DeepDeblur-GoProREDS", + "file": "dbis-DeepDeblur-GoProREDS.safetensors", + "path": "dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.safetensors", + "bytes": 46910716, + "sha256": "bb2ddc35d3fc23006f238af90c211684e45b16e15d1f51dd1e4dd126aba65f23", + "store": "float32", + "class": "dbis.deepdeblur.DeepDeblur", + "args": {}, + "source": { + "method": "DeepDeblur", + "paper": "Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring", + "venue": "CVPR 2017", + "code": "https://github.com/SeungjunNah/DeepDeblur-PyTorch", + "commit": "e92dc7c3337127887da617ffe819b49cb022fd81", + "license": "MIT, Copyright (c) 2018 Seungjun Nah", + "group": "G", + "url": "https://drive.google.com/file/d/1BkEgUrFtOSymVnaADfptOvqfNOYiD3J1 (REDS_L1_amp_pretrained.zip, member REDS_L1_amp_pretrained/models/model-200.pt)", + "file": "model-200.pt", + "md5": "0b188ec545fa4b77a8a555cff1c566c4", + "trained_on": "GoPro+REDS (REDS, GoPro-pretrained)" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepDeblur-GoProREDS\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.safetensors b/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..8ab83539e376a548e664ae98a5e8897fd3acb6f3 --- /dev/null +++ b/dbis-DeepDeblur-GoProREDS/dbis-DeepDeblur-GoProREDS.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb2ddc35d3fc23006f238af90c211684e45b16e15d1f51dd1e4dd126aba65f23 +size 46910716 diff --git a/dbis-DeepDeblur-GoProREDS/licenses/DeepDeblur-PyTorch-LICENSE.txt b/dbis-DeepDeblur-GoProREDS/licenses/DeepDeblur-PyTorch-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..fe3977fd03511523c2be5a518370e91e515f736d --- /dev/null +++ b/dbis-DeepDeblur-GoProREDS/licenses/DeepDeblur-PyTorch-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3c99ce1f9547dabd23bec2a074f30d3736d2e1f91145f2cf08f9b023aaa7881 +size 1069 diff --git a/dbis-DeepDeblur-REDS/LICENSE.md b/dbis-DeepDeblur-REDS/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..2976ff9fa0c2a0e4d1be2d6de8f03cf62187d26c --- /dev/null +++ b/dbis-DeepDeblur-REDS/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepDeblur-REDS.safetensors` | `model-200.pt` of [SeungjunNah/DeepDeblur-PyTorch](https://github.com/SeungjunNah/DeepDeblur-PyTorch) (commit e92dc7c) | MIT, Copyright (c) 2018 Seungjun Nah (`licenses/DeepDeblur-PyTorch-LICENSE.txt`) | + +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). diff --git a/dbis-DeepDeblur-REDS/README.md b/dbis-DeepDeblur-REDS/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c36a50d46fecb6e60aaf209c00bdb37e7d6ff81a --- /dev/null +++ b/dbis-DeepDeblur-REDS/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepDeblur-REDS + +DeepDeblur (Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring, CVPR 2017) 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/SeungjunNah/DeepDeblur-PyTorch. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepDeblur-REDS blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepDeblur-REDS") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepDeblur-REDS.safetensors` | 47 MB | 25.9503 | – | +| the authors' code and checkpoint | – | 25.9503 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepDeblur-REDS.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.json b/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.json new file mode 100644 index 0000000000000000000000000000000000000000..b71cae928fc0cf7ef6d527cbc5a4055cfe83e60e --- /dev/null +++ b/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DeepDeblur-REDS", + "file": "dbis-DeepDeblur-REDS.safetensors", + "path": "dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.safetensors", + "bytes": 46910708, + "sha256": "fbde762728ab2d1ce69a092e1ba8dee7d0e8f44cde8aa1cd5bbadf668ed5eb20", + "store": "float32", + "class": "dbis.deepdeblur.DeepDeblur", + "args": {}, + "source": { + "method": "DeepDeblur", + "paper": "Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring", + "venue": "CVPR 2017", + "code": "https://github.com/SeungjunNah/DeepDeblur-PyTorch", + "commit": "e92dc7c3337127887da617ffe819b49cb022fd81", + "license": "MIT, Copyright (c) 2018 Seungjun Nah", + "group": "G", + "url": "https://drive.google.com/file/d/1UwFNXnGBz2rCBxhvq2gKt9Uhj5FeEsa4 (REDS_L1.zip, member REDS_L1/models/model-200.pt)", + "file": "model-200.pt", + "md5": "c48b8c5cefcee286bcb2c1afb42cb70d", + "trained_on": "REDS" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepDeblur-REDS\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.safetensors b/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a2479b9af27f22744ddb03688351ebf1f242f41d --- /dev/null +++ b/dbis-DeepDeblur-REDS/dbis-DeepDeblur-REDS.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbde762728ab2d1ce69a092e1ba8dee7d0e8f44cde8aa1cd5bbadf668ed5eb20 +size 46910708 diff --git a/dbis-DeepDeblur-REDS/licenses/DeepDeblur-PyTorch-LICENSE.txt b/dbis-DeepDeblur-REDS/licenses/DeepDeblur-PyTorch-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..fe3977fd03511523c2be5a518370e91e515f736d --- /dev/null +++ b/dbis-DeepDeblur-REDS/licenses/DeepDeblur-PyTorch-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3c99ce1f9547dabd23bec2a074f30d3736d2e1f91145f2cf08f9b023aaa7881 +size 1069 diff --git a/dbis-DeepDeblur/LICENSE.md b/dbis-DeepDeblur/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..65443bc036271fddd4551017f87ae507bac445ed --- /dev/null +++ b/dbis-DeepDeblur/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepDeblur.safetensors` | `model-1000.pt` of [SeungjunNah/DeepDeblur-PyTorch](https://github.com/SeungjunNah/DeepDeblur-PyTorch) (commit e92dc7c) | MIT, Copyright (c) 2018 Seungjun Nah (`licenses/DeepDeblur-PyTorch-LICENSE.txt`) | + +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). diff --git a/dbis-DeepDeblur/README.md b/dbis-DeepDeblur/README.md new file mode 100644 index 0000000000000000000000000000000000000000..23f36a9a1074651c75b7500e0c3f6bdeb183b01b --- /dev/null +++ b/dbis-DeepDeblur/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepDeblur + +DeepDeblur (Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring, CVPR 2017) 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/SeungjunNah/DeepDeblur-PyTorch. + +The same checkpoint in other versions: [dbisf-DeepDeblur](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepDeblur). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepDeblur blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepDeblur/dbis-DeepDeblur.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepDeblur") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepDeblur.safetensors` | 47 MB | 27.8325 | 54.1 ms | +| the authors' code and checkpoint | 47 MB | 27.8325 | 54.6 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepDeblur.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepDeblur/dbis-DeepDeblur.json b/dbis-DeepDeblur/dbis-DeepDeblur.json new file mode 100644 index 0000000000000000000000000000000000000000..a40c94bc10e4e90eeacfd58cdbe94ffaf57e5f71 --- /dev/null +++ b/dbis-DeepDeblur/dbis-DeepDeblur.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DeepDeblur", + "file": "dbis-DeepDeblur.safetensors", + "path": "dbis-DeepDeblur/dbis-DeepDeblur.safetensors", + "bytes": 46910708, + "sha256": "5ded7d7d9281369210af897aa5ad10b92dac06db450121535eb8ead380c1d3ee", + "store": "float32", + "class": "dbis.deepdeblur.DeepDeblur", + "args": {}, + "source": { + "method": "DeepDeblur", + "paper": "Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurring", + "venue": "CVPR 2017", + "code": "https://github.com/SeungjunNah/DeepDeblur-PyTorch", + "commit": "e92dc7c3337127887da617ffe819b49cb022fd81", + "license": "MIT, Copyright (c) 2018 Seungjun Nah", + "group": "G", + "url": "https://drive.google.com/file/d/1AfZhyUXEA8_UdZco9EdtpWjTBAb8BbWv (GOPRO_L1.zip, member GOPRO_L1/models/model-1000.pt)", + "file": "model-1000.pt", + "md5": "cd8be406cc417bab3e576eb717f1ec5e", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepDeblur\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepDeblur/dbis-DeepDeblur.safetensors b/dbis-DeepDeblur/dbis-DeepDeblur.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..54003356c5236d2bbba8603c976b77ed8ef151e1 --- /dev/null +++ b/dbis-DeepDeblur/dbis-DeepDeblur.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ded7d7d9281369210af897aa5ad10b92dac06db450121535eb8ead380c1d3ee +size 46910708 diff --git a/dbis-DeepDeblur/licenses/DeepDeblur-PyTorch-LICENSE.txt b/dbis-DeepDeblur/licenses/DeepDeblur-PyTorch-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..fe3977fd03511523c2be5a518370e91e515f736d --- /dev/null +++ b/dbis-DeepDeblur/licenses/DeepDeblur-PyTorch-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3c99ce1f9547dabd23bec2a074f30d3736d2e1f91145f2cf08f9b023aaa7881 +size 1069 diff --git a/dbis-DeepRFT-S/LICENSE.md b/dbis-DeepRFT-S/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..f1a4affd71959fa87d5994a6c79aa79355cf8925 --- /dev/null +++ b/dbis-DeepRFT-S/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFT-S.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFT-S/README.md b/dbis-DeepRFT-S/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0502fe823b7190986b2dde8032c19e3742f765fe --- /dev/null +++ b/dbis-DeepRFT-S/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFT-S + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFT-Swin](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFT-Swin), [dbisf-DeepRFT-S](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT-S), [dbisf-DeepRFT-Swin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT-Swin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFT-S blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFT-S/dbis-DeepRFT-S.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFT-S") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFT-S.safetensors` | 20 MB | 31.3617 | – | +| the authors' code and checkpoint | 23 MB | 31.3617 | 65.2 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFT-S.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFT-S/dbis-DeepRFT-S.json b/dbis-DeepRFT-S/dbis-DeepRFT-S.json new file mode 100644 index 0000000000000000000000000000000000000000..ed22231fa84e20cdcd66a8f0be9bbb4c5e5126a6 --- /dev/null +++ b/dbis-DeepRFT-S/dbis-DeepRFT-S.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFT-S", + "file": "dbis-DeepRFT-S.safetensors", + "path": "dbis-DeepRFT-S/dbis-DeepRFT-S.safetensors", + "bytes": 20326304, + "sha256": "3c6f27380093e914514b6da248bd4958dffe3b166a2d95ed5780a10c9be30a0f", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 4, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_Small/model_GoPro.pth", + "file": "DeepRFT_Small/model_GoPro.pth", + "md5": "ceb3a32bbbb0b8b0e3b18a74b0789a97", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFT-S\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFT-S/dbis-DeepRFT-S.safetensors b/dbis-DeepRFT-S/dbis-DeepRFT-S.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..6044c0ec556af8c4338d9797d509e94550a157d8 --- /dev/null +++ b/dbis-DeepRFT-S/dbis-DeepRFT-S.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c6f27380093e914514b6da248bd4958dffe3b166a2d95ed5780a10c9be30a0f +size 20326304 diff --git a/dbis-DeepRFT-S/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFT-S/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFT-S/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFT-Swin/LICENSE.md b/dbis-DeepRFT-Swin/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..d28b9fb949c4395c90862776615a69ab5eb111c7 --- /dev/null +++ b/dbis-DeepRFT-Swin/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFT-Swin.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFT-Swin/README.md b/dbis-DeepRFT-Swin/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e8f71fe1e127075703dd61c61bb0879cd50ef8f9 --- /dev/null +++ b/dbis-DeepRFT-Swin/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFT-Swin + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFT-S](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFT-S), [dbisf-DeepRFT-S](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT-S), [dbisf-DeepRFT-Swin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT-Swin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFT-Swin blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFT-Swin") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFT-Swin.safetensors` | 20 MB | 32.3021 | – | +| the authors' code and checkpoint | – | 32.3021 | 64.5 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFT-Swin.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.json b/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.json new file mode 100644 index 0000000000000000000000000000000000000000..e0b372b7722f473c5daf84777161b80be34382e4 --- /dev/null +++ b/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFT-Swin", + "file": "dbis-DeepRFT-Swin.safetensors", + "path": "dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.safetensors", + "bytes": 20326312, + "sha256": "b1323d2f67900a4e18c4a8897afe262302a21ed34b8ed7f95252e312015a4c4d", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 4, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_Small/model_GoPro.pth", + "file": "DeepRFT_Small/model_GoPro.pth", + "md5": "ceb3a32bbbb0b8b0e3b18a74b0789a97", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFT-Swin\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.safetensors b/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..87535d36afe672c030f02e9be0e87efbc1127c0c --- /dev/null +++ b/dbis-DeepRFT-Swin/dbis-DeepRFT-Swin.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1323d2f67900a4e18c4a8897afe262302a21ed34b8ed7f95252e312015a4c4d +size 20326312 diff --git a/dbis-DeepRFT-Swin/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFT-Swin/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFT-Swin/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFT/LICENSE.md b/dbis-DeepRFT/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..e38d38bbeb155588d8f68b74db1c623ab8fced5b --- /dev/null +++ b/dbis-DeepRFT/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFT.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFT/README.md b/dbis-DeepRFT/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7042f598fea7279ad0f7fb1311a6eb89b0ff2a6b --- /dev/null +++ b/dbis-DeepRFT/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFT + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTwin](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTwin), [dbisf-DeepRFT](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT), [dbisf-DeepRFTwin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTwin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFT blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFT/dbis-DeepRFT.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFT") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFT.safetensors` | 38 MB | 31.9135 | – | +| the authors' code and checkpoint | 44 MB | 31.9135 | 120.5 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFT.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFT/dbis-DeepRFT.json b/dbis-DeepRFT/dbis-DeepRFT.json new file mode 100644 index 0000000000000000000000000000000000000000..fd35fbe4d023e2696e9d10a3c6d5b0abd4186eb2 --- /dev/null +++ b/dbis-DeepRFT/dbis-DeepRFT.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFT", + "file": "dbis-DeepRFT.safetensors", + "path": "dbis-DeepRFT/dbis-DeepRFT.safetensors", + "bytes": 38228368, + "sha256": "a21bfc9bad72cd1764a21dce305f9f21648c83b9946ef6c981b12639cf597a75", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 8, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT/model_GoPro.pth", + "file": "DeepRFT/model_GoPro.pth", + "md5": "adf17bbb4cd61fffa555676666da16e3", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFT\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFT/dbis-DeepRFT.safetensors b/dbis-DeepRFT/dbis-DeepRFT.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..ab57b39c5587621440b9b51d1a8ed3e29fdb5b0c --- /dev/null +++ b/dbis-DeepRFT/dbis-DeepRFT.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a21bfc9bad72cd1764a21dce305f9f21648c83b9946ef6c981b12639cf597a75 +size 38228368 diff --git a/dbis-DeepRFT/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFT/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFT/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPlus-GoProRealBlurJ/LICENSE.md b/dbis-DeepRFTPlus-GoProRealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..35d3b75dccc49eb4635435ee1cda8d601fba58eb --- /dev/null +++ b/dbis-DeepRFTPlus-GoProRealBlurJ/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPlus-GoProRealBlurJ.safetensors` | `model_GoPro_RealBlurJ.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPlus-GoProRealBlurJ/README.md b/dbis-DeepRFTPlus-GoProRealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..8c773f8fd403af46c0fbabe161c723a6ef8894e8 --- /dev/null +++ b/dbis-DeepRFTPlus-GoProRealBlurJ/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPlus-GoProRealBlurJ + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPluswin-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPluswin-GoProRealBlurJ), [dbisf-DeepRFTPlus-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPlus-GoProRealBlurJ), [dbisf-DeepRFTPluswin-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPluswin-GoProRealBlurJ). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPlus-GoProRealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPlus-GoProRealBlurJ") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPlus-GoProRealBlurJ.safetensors` | 92 MB | 30.1220 | – | +| the authors' code and checkpoint | 104 MB | 30.1220 | 288.2 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPlus-GoProRealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.json b/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..38199c36f33ef5b8af7609a47019f4d168e4ca8d --- /dev/null +++ b/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPlus-GoProRealBlurJ", + "file": "dbis-DeepRFTPlus-GoProRealBlurJ.safetensors", + "path": "dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.safetensors", + "bytes": 91934600, + "sha256": "df3e857f371d4b0d4061583ff2ed308c61f2bce3c1f03979b7c9edde7d632231", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_GoPro_RealBlurJ.pth", + "file": "DeepRFT_PLUS/model_GoPro_RealBlurJ.pth", + "md5": "453dfff58b98167f5b2937d5a2e82051", + "trained_on": "GoPro+RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPlus-GoProRealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.safetensors b/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d66138d298d9060fee4c12ee8352f8f757632125 --- /dev/null +++ b/dbis-DeepRFTPlus-GoProRealBlurJ/dbis-DeepRFTPlus-GoProRealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df3e857f371d4b0d4061583ff2ed308c61f2bce3c1f03979b7c9edde7d632231 +size 91934600 diff --git a/dbis-DeepRFTPlus-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPlus-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPlus-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPlus-RealBlurJ/LICENSE.md b/dbis-DeepRFTPlus-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..9d7e127e3f98331bf2e291e135d129705a634403 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurJ/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPlus-RealBlurJ.safetensors` | `model_RealBlurJ.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPlus-RealBlurJ/README.md b/dbis-DeepRFTPlus-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6bf0fb2ab9046e5e3a7dd9a96008fea890d3079a --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurJ/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPlus-RealBlurJ + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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) 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPluswin-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPluswin-RealBlurJ). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPlus-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPlus-RealBlurJ") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPlus-RealBlurJ.safetensors` | 92 MB | 24.6103 | – | +| the authors' code and checkpoint | – | 24.6103 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPlus-RealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.json b/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..25c3c2173e1cd6aa4fcf45b7a90900180842d585 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPlus-RealBlurJ", + "file": "dbis-DeepRFTPlus-RealBlurJ.safetensors", + "path": "dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.safetensors", + "bytes": 91934584, + "sha256": "1909febe5cb0f34693b8f24a4ff7a9e10a23b36ed22781347113e07bbdac142e", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_RealBlurJ.pth", + "file": "DeepRFT_PLUS/model_RealBlurJ.pth", + "md5": "fecf24c8cd82aa5dd47357f14db4bb0f", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPlus-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.safetensors b/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..6bfcfe4dd56fccbcb74eb47aebe865f458f48477 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurJ/dbis-DeepRFTPlus-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1909febe5cb0f34693b8f24a4ff7a9e10a23b36ed22781347113e07bbdac142e +size 91934584 diff --git a/dbis-DeepRFTPlus-RealBlurJ/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPlus-RealBlurJ/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurJ/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPlus-RealBlurR/LICENSE.md b/dbis-DeepRFTPlus-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..6b5f461abf39512788a1aea72b50bf8a4e89b240 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurR/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPlus-RealBlurR.safetensors` | `model_RealBlurR.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPlus-RealBlurR/README.md b/dbis-DeepRFTPlus-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f0dc6e6c02651aefd8f8e184e5160e2c6ac2ff6c --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurR/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPlus-RealBlurR + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 2021) 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPluswin-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPluswin-RealBlurR). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPlus-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPlus-RealBlurR") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPlus-RealBlurR.safetensors` | 92 MB | 25.8555 | – | +| the authors' code and checkpoint | – | 25.8555 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPlus-RealBlurR.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.json b/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..58309011c93321a8e2d54c82550f2096f8c9701a --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPlus-RealBlurR", + "file": "dbis-DeepRFTPlus-RealBlurR.safetensors", + "path": "dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.safetensors", + "bytes": 91934584, + "sha256": "a48cf2e0214230741cb4e1aa2e4c1e6a0b664a1d0edd5a018c53a402a1d5a910", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_RealBlurR.pth", + "file": "DeepRFT_PLUS/model_RealBlurR.pth", + "md5": "9ecce1bf2fd180d82dd0e3c56c6a5988", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPlus-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.safetensors b/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..9a89896fb0c9fecdf0a9e49d03c4227a46636a32 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurR/dbis-DeepRFTPlus-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a48cf2e0214230741cb4e1aa2e4c1e6a0b664a1d0edd5a018c53a402a1d5a910 +size 91934584 diff --git a/dbis-DeepRFTPlus-RealBlurR/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPlus-RealBlurR/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPlus-RealBlurR/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPlus/LICENSE.md b/dbis-DeepRFTPlus/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..0371be4a3a2197054a67ba1bf03d87425dcc2983 --- /dev/null +++ b/dbis-DeepRFTPlus/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPlus.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPlus/README.md b/dbis-DeepRFTPlus/README.md new file mode 100644 index 0000000000000000000000000000000000000000..05b023390b79f69f40327fc9ba8e0ce5ab426064 --- /dev/null +++ b/dbis-DeepRFTPlus/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPlus + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPluswin](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPluswin), [dbisf-DeepRFTPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPlus), [dbisf-DeepRFTPluswin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPluswin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPlus blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPlus/dbis-DeepRFTPlus.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPlus") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPlus.safetensors` | 92 MB | 32.4475 | – | +| the authors' code and checkpoint | 104 MB | 32.4475 | 288.2 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPlus.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPlus/dbis-DeepRFTPlus.json b/dbis-DeepRFTPlus/dbis-DeepRFTPlus.json new file mode 100644 index 0000000000000000000000000000000000000000..78f698972cb94331e2e53288d2c15910b9c736c7 --- /dev/null +++ b/dbis-DeepRFTPlus/dbis-DeepRFTPlus.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPlus", + "file": "dbis-DeepRFTPlus.safetensors", + "path": "dbis-DeepRFTPlus/dbis-DeepRFTPlus.safetensors", + "bytes": 91934576, + "sha256": "d477bb99bf3a1784daa97a88640612a9e4c2806abbb1a7a7ce48e2d37c1db14f", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": null + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_GoPro.pth", + "file": "DeepRFT_PLUS/model_GoPro.pth", + "md5": "b4cd5a2bcf6631b8a33a33960c40d6ce", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPlus\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPlus/dbis-DeepRFTPlus.safetensors b/dbis-DeepRFTPlus/dbis-DeepRFTPlus.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..7b9455cbc855aac07249ccb2bb662eeba106aac4 --- /dev/null +++ b/dbis-DeepRFTPlus/dbis-DeepRFTPlus.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d477bb99bf3a1784daa97a88640612a9e4c2806abbb1a7a7ce48e2d37c1db14f +size 91934576 diff --git a/dbis-DeepRFTPlus/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPlus/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPlus/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPluswin-GoProRealBlurJ/LICENSE.md b/dbis-DeepRFTPluswin-GoProRealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..6300d2f8b0aec58fead8fca0ce26112c68138e72 --- /dev/null +++ b/dbis-DeepRFTPluswin-GoProRealBlurJ/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors` | `model_GoPro_RealBlurJ.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPluswin-GoProRealBlurJ/README.md b/dbis-DeepRFTPluswin-GoProRealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ebf5b40e6b3b9fbc3ab5f5e461f8976d0f08ce3b --- /dev/null +++ b/dbis-DeepRFTPluswin-GoProRealBlurJ/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPluswin-GoProRealBlurJ + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro+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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPlus-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPlus-GoProRealBlurJ), [dbisf-DeepRFTPlus-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPlus-GoProRealBlurJ), [dbisf-DeepRFTPluswin-GoProRealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPluswin-GoProRealBlurJ). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPluswin-GoProRealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPluswin-GoProRealBlurJ") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors` | 92 MB | 31.4761 | – | +| the authors' code and checkpoint | – | 31.4761 | 284.3 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPluswin-GoProRealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.json b/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..36004ff12b1c1cf96130c8d1802e436f4824b3fe --- /dev/null +++ b/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPluswin-GoProRealBlurJ", + "file": "dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors", + "path": "dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors", + "bytes": 91934600, + "sha256": "bee4ac03e84b8a865c30d75b7ff5f515e31aa41ab5be6e7f7e86317e6a05902c", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_GoPro_RealBlurJ.pth", + "file": "DeepRFT_PLUS/model_GoPro_RealBlurJ.pth", + "md5": "453dfff58b98167f5b2937d5a2e82051", + "trained_on": "GoPro+RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPluswin-GoProRealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors b/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a1f12597a0d87671e39e605edf3e5fafdc82ec36 --- /dev/null +++ b/dbis-DeepRFTPluswin-GoProRealBlurJ/dbis-DeepRFTPluswin-GoProRealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bee4ac03e84b8a865c30d75b7ff5f515e31aa41ab5be6e7f7e86317e6a05902c +size 91934600 diff --git a/dbis-DeepRFTPluswin-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPluswin-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPluswin-GoProRealBlurJ/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPluswin-RealBlurJ/LICENSE.md b/dbis-DeepRFTPluswin-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..465261902d016ab1f63498ed93a8c0c36a2fa12e --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurJ/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPluswin-RealBlurJ.safetensors` | `model_RealBlurJ.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPluswin-RealBlurJ/README.md b/dbis-DeepRFTPluswin-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..eeacb078b67b8facf9ca70fc0d1c34c3454a7117 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurJ/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPluswin-RealBlurJ + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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) 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPlus-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPlus-RealBlurJ). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPluswin-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPluswin-RealBlurJ") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPluswin-RealBlurJ.safetensors` | 92 MB | 25.0459 | – | +| the authors' code and checkpoint | – | 25.0459 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPluswin-RealBlurJ.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.json b/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..608766a5cdc8c04c98cf62af61f64b8282e43536 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPluswin-RealBlurJ", + "file": "dbis-DeepRFTPluswin-RealBlurJ.safetensors", + "path": "dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.safetensors", + "bytes": 91934592, + "sha256": "2b0f540b3cb109dcba052feb2b4fec518958e9bfbfc5be5b1e89c871cbd04c3e", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_RealBlurJ.pth", + "file": "DeepRFT_PLUS/model_RealBlurJ.pth", + "md5": "fecf24c8cd82aa5dd47357f14db4bb0f", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPluswin-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.safetensors b/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..1e3838dce02492e17bbffb6b6cd85229f6a58587 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurJ/dbis-DeepRFTPluswin-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b0f540b3cb109dcba052feb2b4fec518958e9bfbfc5be5b1e89c871cbd04c3e +size 91934592 diff --git a/dbis-DeepRFTPluswin-RealBlurJ/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPluswin-RealBlurJ/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurJ/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPluswin-RealBlurR/LICENSE.md b/dbis-DeepRFTPluswin-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..5ec5dc08d362f76465fad3076709edea37c2c374 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurR/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPluswin-RealBlurR.safetensors` | `model_RealBlurR.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPluswin-RealBlurR/README.md b/dbis-DeepRFTPluswin-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6b9a08615d56f5459ed04284a5bc0f3e0998d34d --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurR/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPluswin-RealBlurR + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 2021) 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPlus-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPlus-RealBlurR). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPluswin-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPluswin-RealBlurR") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPluswin-RealBlurR.safetensors` | 92 MB | 26.4751 | – | +| the authors' code and checkpoint | – | 26.4751 | – | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPluswin-RealBlurR.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.json b/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..bf787e167a72d8e046b920a4d845ab7b7f7c4389 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPluswin-RealBlurR", + "file": "dbis-DeepRFTPluswin-RealBlurR.safetensors", + "path": "dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.safetensors", + "bytes": 91934592, + "sha256": "6e2e63994e47c3bc50fe0d849e7f6faa14f12ac49a72ae96447e4b34eaa7afc4", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_RealBlurR.pth", + "file": "DeepRFT_PLUS/model_RealBlurR.pth", + "md5": "9ecce1bf2fd180d82dd0e3c56c6a5988", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPluswin-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.safetensors b/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..df9b4166d4723087101f6d7443603110e038478f --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurR/dbis-DeepRFTPluswin-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e2e63994e47c3bc50fe0d849e7f6faa14f12ac49a72ae96447e4b34eaa7afc4 +size 91934592 diff --git a/dbis-DeepRFTPluswin-RealBlurR/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPluswin-RealBlurR/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPluswin-RealBlurR/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTPluswin/LICENSE.md b/dbis-DeepRFTPluswin/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..3abb97763e5ab7b63511467ad36d7051ff13ff3d --- /dev/null +++ b/dbis-DeepRFTPluswin/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTPluswin.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTPluswin/README.md b/dbis-DeepRFTPluswin/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bd14f56ec655f84757550ee8d61049c83e8452f3 --- /dev/null +++ b/dbis-DeepRFTPluswin/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTPluswin + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFTPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFTPlus), [dbisf-DeepRFTPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPlus), [dbisf-DeepRFTPluswin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTPluswin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTPluswin blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTPluswin") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTPluswin.safetensors` | 92 MB | 33.2261 | – | +| the authors' code and checkpoint | – | 33.2261 | 284.3 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTPluswin.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.json b/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.json new file mode 100644 index 0000000000000000000000000000000000000000..7ee5c90ce1528c1d719c525cc7276029036a44d1 --- /dev/null +++ b/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTPluswin", + "file": "dbis-DeepRFTPluswin.safetensors", + "path": "dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.safetensors", + "bytes": 91934576, + "sha256": "a3674c51164124cd2c4b7c40601a821e46a16fa8e5bcd9a295ecc57045f2ccc5", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 20, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT_PLUS/model_GoPro.pth", + "file": "DeepRFT_PLUS/model_GoPro.pth", + "md5": "b4cd5a2bcf6631b8a33a33960c40d6ce", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTPluswin\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.safetensors b/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..14e8cadd513815a3056a2fa41cd963e1c1ecfb55 --- /dev/null +++ b/dbis-DeepRFTPluswin/dbis-DeepRFTPluswin.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3674c51164124cd2c4b7c40601a821e46a16fa8e5bcd9a295ecc57045f2ccc5 +size 91934576 diff --git a/dbis-DeepRFTPluswin/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTPluswin/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTPluswin/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DeepRFTwin/LICENSE.md b/dbis-DeepRFTwin/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..c56bb63d784b4a5dbba5ccdc02e90d0973b7d795 --- /dev/null +++ b/dbis-DeepRFTwin/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DeepRFTwin.safetensors` | `model_GoPro.pth` of [INVOKERer/DeepRFT](https://github.com/INVOKERer/DeepRFT) (commit ab286ca) | **Non-commercial use only.** ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors (`licenses/DeepRFT-LICENSE.txt`) | + +Non-commercial: the license of the source checkpoint allows non-commercial use only, and so does this file. + +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). diff --git a/dbis-DeepRFTwin/README.md b/dbis-DeepRFTwin/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a3471e442b2b6910f93c1804d90b2ed28909b3ed --- /dev/null +++ b/dbis-DeepRFTwin/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: non-commercial-terms-of-the-authors +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DeepRFTwin + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +DeepRFT (Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.), arXiv 2111.11745v1, 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/INVOKERer/DeepRFT. + +The same checkpoint in other versions: [dbis-DeepRFT](https://huggingface.co/Illaitar/dbis/tree/main/dbis-DeepRFT), [dbisf-DeepRFT](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFT), [dbisf-DeepRFTwin](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DeepRFTwin). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DeepRFTwin blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DeepRFTwin/dbis-DeepRFTwin.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DeepRFTwin") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DeepRFTwin.safetensors` | 38 MB | 32.8169 | – | +| the authors' code and checkpoint | – | 32.8169 | 120.8 ms | + +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)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DeepRFTwin.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: Academic Public License, non-commercial. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DeepRFTwin/dbis-DeepRFTwin.json b/dbis-DeepRFTwin/dbis-DeepRFTwin.json new file mode 100644 index 0000000000000000000000000000000000000000..78c67dd9cd0ebc50cc3bdcd2c44586cfe26d5e4e --- /dev/null +++ b/dbis-DeepRFTwin/dbis-DeepRFTwin.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DeepRFTwin", + "file": "dbis-DeepRFTwin.safetensors", + "path": "dbis-DeepRFTwin/dbis-DeepRFTwin.safetensors", + "bytes": 38228376, + "sha256": "33e58ad3b5196cb9d97a9b95d24e6bb798d288ad25858163f3be10d12d536a7a", + "store": "float32", + "class": "dbis.deeprft.DeepRFT", + "args": { + "num_res": 8, + "win": 256 + }, + "source": { + "method": "DeepRFT", + "paper": "Deep Residual Fourier Transformation for Single Image Deblurring (Mao et al.)", + "venue": "arXiv 2111.11745v1, 2021", + "code": "https://github.com/INVOKERer/DeepRFT", + "commit": "ab286ca19c33def072882298afaf5265dc99ca1c", + "license": "ACADEMIC PUBLIC LICENSE (non-commercial only, same-license redistribution), DeepRFT authors", + "group": "state_dict", + "url": "https://drive.google.com/file/d/1FoQZrbcYPGzU9xzOPI1Q1NybNUGR-ZUg (DeepRFT-MIMO-v1.zip, md5 7ba9a6eef417063eea3c703d8e8066fd), member DeepRFT/model_GoPro.pth", + "file": "DeepRFT/model_GoPro.pth", + "md5": "adf17bbb4cd61fffa555676666da16e3", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DeepRFTwin\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DeepRFTwin/dbis-DeepRFTwin.safetensors b/dbis-DeepRFTwin/dbis-DeepRFTwin.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f86517a62abf26e1963707eb77b9228e40174ce0 --- /dev/null +++ b/dbis-DeepRFTwin/dbis-DeepRFTwin.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33e58ad3b5196cb9d97a9b95d24e6bb798d288ad25858163f3be10d12d536a7a +size 38228376 diff --git a/dbis-DeepRFTwin/licenses/DeepRFT-LICENSE.txt b/dbis-DeepRFTwin/licenses/DeepRFT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d59b0446ac54a4cdd215dd72f132f0d32e657d2 --- /dev/null +++ b/dbis-DeepRFTwin/licenses/DeepRFT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073d5f098ffaf640fd2c875c5fe07c19e631d4d68b06863c21116173e263b5 +size 1330 diff --git a/dbis-DiffIR/LICENSE.md b/dbis-DiffIR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..106558a2dbcd319681bbec90756ceadb2f731166 --- /dev/null +++ b/dbis-DiffIR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DiffIR.safetensors` | `Deblurring-DiffIRS2.pth` of [Zj-BinXia/DiffIR](https://github.com/Zj-BinXia/DiffIR) (commit 293f86c) | Apache-2.0 (repository LICENSE) (`licenses/DiffIR-LICENSE.txt`) | + +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).