diff --git a/dbis-MIMO-UNet/README.md b/dbis-MIMO-UNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..84a6ad65a2f19e3cb99bae7c6bdf1c16ab29f3c4 --- /dev/null +++ b/dbis-MIMO-UNet/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: no-license-stated +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MIMO-UNet + +> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights. + +MIMO-UNet (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/chosj95/MIMO-UNet. + +The same checkpoint in other versions: [dbisf-MIMO-UNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MIMO-UNet). +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-MIMO-UNet blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MIMO-UNet") # 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-MIMO-UNet.safetensors` | 27 MB | 31.7249 | 20.8 ms | +| the authors' code and checkpoint | 27 MB | 31.7249 | 20.7 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-MIMO-UNet.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-MIMO-UNet/dbis-MIMO-UNet.json b/dbis-MIMO-UNet/dbis-MIMO-UNet.json new file mode 100644 index 0000000000000000000000000000000000000000..f7379e5a0b956e72c3c477375b5ba6a1de34021b --- /dev/null +++ b/dbis-MIMO-UNet/dbis-MIMO-UNet.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MIMO-UNet", + "file": "dbis-MIMO-UNet.safetensors", + "path": "dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors", + "bytes": 27254700, + "sha256": "26f370a1f43521f735ccc047b8825e984dd91d3151b07b0056c00cdf5cafe799", + "store": "float32", + "class": "dbis.mimounet.MIMOUNet", + "args": { + "num_res": 8 + }, + "source": { + "method": "MIMO-UNet", + "paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring", + "venue": "ICCV 2021", + "code": "https://github.com/chosj95/MIMO-UNet", + "commit": "5c580135ed1c03344ac9c741267324ff90b5f209", + "license": "none stated (no LICENSE file in the repository): all rights reserved by the authors", + "group": "model", + "url": "https://drive.google.com/file/d/1EQJoQj3YMLFfzrbgzWMD3Xj96RqLdIlx/view", + "file": "MIMO-UNet.pkl", + "md5": "ab8495a8bdbb08b0b364717660e1ef33", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MIMO-UNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors b/dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..aaca6e52acbfec33ec0966bb83268c0a228228cf --- /dev/null +++ b/dbis-MIMO-UNet/dbis-MIMO-UNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26f370a1f43521f735ccc047b8825e984dd91d3151b07b0056c00cdf5cafe799 +size 27254700 diff --git a/dbis-MIMO-UNetPlus-RealBlur/LICENSE.md b/dbis-MIMO-UNetPlus-RealBlur/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..ad51ada13910ccfc350dedf8e0373788348e4979 --- /dev/null +++ b/dbis-MIMO-UNetPlus-RealBlur/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MIMO-UNetPlus-RealBlur.safetensors` | `RealBlur.pkl` of [chosj95/MIMO-UNet](https://github.com/chosj95/MIMO-UNet) (commit 5c58013) | **No license stated.** none stated (no LICENSE file in the repository): all rights reserved by the authors (no license file in the repository) | + +No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use. + +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-MIMO-UNetPlus-RealBlur/README.md b/dbis-MIMO-UNetPlus-RealBlur/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ae39a0126675071081014ecc69d24ed8158347eb --- /dev/null +++ b/dbis-MIMO-UNetPlus-RealBlur/README.md @@ -0,0 +1,51 @@ +--- +license: other +license_name: no-license-stated +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MIMO-UNetPlus-RealBlur + +> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights. + +MIMO-UNet+ (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur (J or R not stated by the authors)) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/chosj95/MIMO-UNet. + +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-MIMO-UNetPlus-RealBlur blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MIMO-UNetPlus-RealBlur") # 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-MIMO-UNetPlus-RealBlur.safetensors` | 64 MB | 31.4619 | – | +| the authors' code and checkpoint | – | 31.4619 | – | + +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-MIMO-UNetPlus-RealBlur.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.json b/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.json new file mode 100644 index 0000000000000000000000000000000000000000..43dba59573a378b24904a917bbc0ca80209a719e --- /dev/null +++ b/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MIMO-UNetPlus-RealBlur", + "file": "dbis-MIMO-UNetPlus-RealBlur.safetensors", + "path": "dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors", + "bytes": 64488268, + "sha256": "b6b0769680690d740b7165f4cc3344e633799a61084ed47ea0ce8db1a05e0020", + "store": "float32", + "class": "dbis.mimounet.MIMOUNet", + "args": { + "num_res": 20 + }, + "source": { + "method": "MIMO-UNet+", + "paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring", + "venue": "ICCV 2021", + "code": "https://github.com/chosj95/MIMO-UNet", + "commit": "5c580135ed1c03344ac9c741267324ff90b5f209", + "license": "none stated (no LICENSE file in the repository): all rights reserved by the authors", + "group": "model", + "url": "https://drive.google.com/file/d/1N3n-ozw1twt96ohX4tjsSAIcHrlNwHZ7/view", + "file": "RealBlur.pkl", + "md5": "25d9788255971c703c1b5ad80158aa1c", + "trained_on": "RealBlur (J or R not stated by the authors)" + }, + "load": "import dbis; net = dbis.load(\"dbis-MIMO-UNetPlus-RealBlur\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors b/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e9915ca8a37ea19b27e1b1853bd1cc2a051779b0 --- /dev/null +++ b/dbis-MIMO-UNetPlus-RealBlur/dbis-MIMO-UNetPlus-RealBlur.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6b0769680690d740b7165f4cc3344e633799a61084ed47ea0ce8db1a05e0020 +size 64488268 diff --git a/dbis-MIMO-UNetPlus/LICENSE.md b/dbis-MIMO-UNetPlus/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..79bc2a5603b72c7f99f5bc455e5ecd698cbe7f1f --- /dev/null +++ b/dbis-MIMO-UNetPlus/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MIMO-UNetPlus.safetensors` | `MIMO-UNetPlus.pkl` of [chosj95/MIMO-UNet](https://github.com/chosj95/MIMO-UNet) (commit 5c58013) | **No license stated.** none stated (no LICENSE file in the repository): all rights reserved by the authors (no license file in the repository) | + +No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use. + +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-MIMO-UNetPlus/README.md b/dbis-MIMO-UNetPlus/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5cb66ebd5916cf83e473d4b6f1aef4ef48eeef58 --- /dev/null +++ b/dbis-MIMO-UNetPlus/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: no-license-stated +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MIMO-UNetPlus + +> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights. + +MIMO-UNet+ (Rethinking Coarse-to-Fine Approach in Single Image Deblurring, ICCV 2021) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/chosj95/MIMO-UNet. + +The same checkpoint in other versions: [dbisf-MIMO-UNetPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MIMO-UNetPlus). +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-MIMO-UNetPlus blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MIMO-UNetPlus") # 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-MIMO-UNetPlus.safetensors` | 64 MB | 32.4428 | 46.5 ms | +| the authors' code and checkpoint | 65 MB | 32.4428 | 46.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-MIMO-UNetPlus.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.json b/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.json new file mode 100644 index 0000000000000000000000000000000000000000..6303ab235c1bd442b3f03dd3a67cf5ee293c4dc1 --- /dev/null +++ b/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MIMO-UNetPlus", + "file": "dbis-MIMO-UNetPlus.safetensors", + "path": "dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors", + "bytes": 64488268, + "sha256": "d476a6b366a85a057f8b3947f37e5978f3951df48e79118677ceaf43186bea23", + "store": "float32", + "class": "dbis.mimounet.MIMOUNet", + "args": { + "num_res": 20 + }, + "source": { + "method": "MIMO-UNet+", + "paper": "Rethinking Coarse-to-Fine Approach in Single Image Deblurring", + "venue": "ICCV 2021", + "code": "https://github.com/chosj95/MIMO-UNet", + "commit": "5c580135ed1c03344ac9c741267324ff90b5f209", + "license": "none stated (no LICENSE file in the repository): all rights reserved by the authors", + "group": "model", + "url": "https://drive.google.com/file/d/166sufeHcdDTgXHNbCRzTC4T6DzuflB5m/view", + "file": "MIMO-UNetPlus.pkl", + "md5": "b8f18087a6ebf6ab677680e70f28b160", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MIMO-UNetPlus\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors b/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..29d14e10b93ba539ee711a84ef58028170d56d52 --- /dev/null +++ b/dbis-MIMO-UNetPlus/dbis-MIMO-UNetPlus.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d476a6b366a85a057f8b3947f37e5978f3951df48e79118677ceaf43186bea23 +size 64488268 diff --git a/dbis-MIRAGE-S/LICENSE.md b/dbis-MIRAGE-S/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..1cc286713b42af0306078e67d1abdc67a4d7f9b7 --- /dev/null +++ b/dbis-MIRAGE-S/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MIRAGE-S.safetensors` | `5Deg_small.ckpt` of [Amazingren/MIRAGE](https://github.com/Amazingren/MIRAGE) (commit 926dc83) | MIT, Copyright (c) 2026 BinRen (`licenses/MIRAGE-LICENSE.txt`) | + +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-MIRAGE-S/README.md b/dbis-MIRAGE-S/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ffbbb37ab7600093d3214e475eb493c719f209e3 --- /dev/null +++ b/dbis-MIRAGE-S/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MIRAGE-S + +MIRAGE (MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization, ICLR 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on mix) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/Amazingren/MIRAGE. + +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-MIRAGE-S blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MIRAGE-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-MIRAGE-S.safetensors` | 39 MB | 28.1977 | – | +| the authors' code and checkpoint | – | 28.1977 | – | + +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-MIRAGE-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MIRAGE-S/dbis-MIRAGE-S.json b/dbis-MIRAGE-S/dbis-MIRAGE-S.json new file mode 100644 index 0000000000000000000000000000000000000000..9c5cbf2421d98231e10d0e7b08058f4dffed0b15 --- /dev/null +++ b/dbis-MIRAGE-S/dbis-MIRAGE-S.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MIRAGE-S", + "file": "dbis-MIRAGE-S.safetensors", + "path": "dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors", + "bytes": 38633156, + "sha256": "e7a1b0d61941f793a7bdb89018e7565f4f3d572f09d3d006e15a05f2c5276920", + "store": "float32", + "class": "dbis.mirage.MIRAGE", + "args": { + "dim": 30, + "num_refinement_blocks": 3 + }, + "source": { + "method": "MIRAGE", + "paper": "MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization", + "venue": "ICLR 2026", + "code": "https://github.com/Amazingren/MIRAGE", + "commit": "926dc83646272a0d99b36f4bff496985ab064795", + "license": "MIT, Copyright (c) 2026 BinRen", + "url": "Google Drive link in the authors' README (5D Small checkpoint)", + "file": "5Deg_small.ckpt", + "md5": "46c1aaf0ad1006461f677dc4df918fe0", + "group": null, + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-MIRAGE-S\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors b/dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e9c271994137e7689aca0d457e7810d830176e4e --- /dev/null +++ b/dbis-MIRAGE-S/dbis-MIRAGE-S.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7a1b0d61941f793a7bdb89018e7565f4f3d572f09d3d006e15a05f2c5276920 +size 38633156 diff --git a/dbis-MIRAGE-S/licenses/MIRAGE-LICENSE.txt b/dbis-MIRAGE-S/licenses/MIRAGE-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..69e81f7fd4ebd9e33550fea06cee7afcca2804b0 --- /dev/null +++ b/dbis-MIRAGE-S/licenses/MIRAGE-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40e745bd8e0a681b0f919f8cb601357461dcaf5b5e6785fa7006abcc81841381 +size 1063 diff --git a/dbis-MIRAGE-T/LICENSE.md b/dbis-MIRAGE-T/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..5388394a90d778769bf4fa87ba818e67e782fecf --- /dev/null +++ b/dbis-MIRAGE-T/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MIRAGE-T.safetensors` | `5Deg_tiny.ckpt` of [Amazingren/MIRAGE](https://github.com/Amazingren/MIRAGE) (commit 926dc83) | MIT, Copyright (c) 2026 BinRen (`licenses/MIRAGE-LICENSE.txt`) | + +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-MIRAGE-T/README.md b/dbis-MIRAGE-T/README.md new file mode 100644 index 0000000000000000000000000000000000000000..08eb3813e9d9d31d44fa58825206ac2052d61d3b --- /dev/null +++ b/dbis-MIRAGE-T/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MIRAGE-T + +MIRAGE (MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization, ICLR 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on mix) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/Amazingren/MIRAGE. + +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-MIRAGE-T blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MIRAGE-T") # 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-MIRAGE-T.safetensors` | 25 MB | 27.8718 | – | +| the authors' code and checkpoint | – | 27.8718 | – | + +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-MIRAGE-T.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-MIRAGE-T/dbis-MIRAGE-T.json b/dbis-MIRAGE-T/dbis-MIRAGE-T.json new file mode 100644 index 0000000000000000000000000000000000000000..e34020a38bfcfd9affbd8a05685be026304e8da7 --- /dev/null +++ b/dbis-MIRAGE-T/dbis-MIRAGE-T.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MIRAGE-T", + "file": "dbis-MIRAGE-T.safetensors", + "path": "dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors", + "bytes": 24743872, + "sha256": "3f6198a3d6fe5eac0a595ea3709785b75eb3387f215a6d920ab8b8dd61903176", + "store": "float32", + "class": "dbis.mirage.MIRAGE", + "args": { + "dim": 24, + "num_refinement_blocks": 2 + }, + "source": { + "method": "MIRAGE", + "paper": "MIRAGE: Efficient Degradation-agnostic Image Restoration via Channel-Wise Functional Decomposition and Manifold Regularization", + "venue": "ICLR 2026", + "code": "https://github.com/Amazingren/MIRAGE", + "commit": "926dc83646272a0d99b36f4bff496985ab064795", + "license": "MIT, Copyright (c) 2026 BinRen", + "url": "Google Drive link in the authors' README (5D Tiny checkpoint)", + "file": "5Deg_tiny.ckpt", + "md5": "f0dee2c3944184c9d858eff766300b81", + "group": null, + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-MIRAGE-T\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors b/dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..23b302a99dbd608ca823049349fb928c57d87619 --- /dev/null +++ b/dbis-MIRAGE-T/dbis-MIRAGE-T.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f6198a3d6fe5eac0a595ea3709785b75eb3387f215a6d920ab8b8dd61903176 +size 24743872 diff --git a/dbis-MIRAGE-T/licenses/MIRAGE-LICENSE.txt b/dbis-MIRAGE-T/licenses/MIRAGE-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..69e81f7fd4ebd9e33550fea06cee7afcca2804b0 --- /dev/null +++ b/dbis-MIRAGE-T/licenses/MIRAGE-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40e745bd8e0a681b0f919f8cb601357461dcaf5b5e6785fa7006abcc81841381 +size 1063 diff --git a/dbis-MISCFilter-RealBlurJ/LICENSE.md b/dbis-MISCFilter-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..c38ac2488d8906ddeb3d12e095b0dea2c905e49e --- /dev/null +++ b/dbis-MISCFilter-RealBlurJ/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFilter-RealBlurJ.safetensors` | `RealBlur_J.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFilter-RealBlurJ/README.md b/dbis-MISCFilter-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..8e52c34c5d751b415b5739bfbb90df2903ff5f4f --- /dev/null +++ b/dbis-MISCFilter-RealBlurJ/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFilter-RealBlurJ + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-J) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFiltertiled-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled-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-MISCFilter-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFilter-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-MISCFilter-RealBlurJ.safetensors` | 59 MB | 25.3175 | 291.8 ms | +| the authors' code and checkpoint | – | 25.3175 | 267.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-MISCFilter-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.json b/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..6909333744556c4e6563b2e7c2c8348f777bc7c9 --- /dev/null +++ b/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MISCFilter-RealBlurJ", + "file": "dbis-MISCFilter-RealBlurJ.safetensors", + "path": "dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors", + "bytes": 59410336, + "sha256": "78e9a69601a2f0136878891fa36672ada8d63e27dec64a22df68a8a1f2e21657", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": {}, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/RealBlur_J.pth", + "md5": "e40f14f74546d51c217053f68bfed292", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFilter-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors b/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..4f79cb84ae16b7d992d84b7b6e21574defef1e73 --- /dev/null +++ b/dbis-MISCFilter-RealBlurJ/dbis-MISCFilter-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78e9a69601a2f0136878891fa36672ada8d63e27dec64a22df68a8a1f2e21657 +size 59410336 diff --git a/dbis-MISCFilter-RealBlurJ/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFilter-RealBlurJ/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFilter-RealBlurJ/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MISCFilter-RealBlurR/LICENSE.md b/dbis-MISCFilter-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..554a6ac232fa41c0da195ba6d705a58551f6048c --- /dev/null +++ b/dbis-MISCFilter-RealBlurR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFilter-RealBlurR.safetensors` | `RealBlur_R.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFilter-RealBlurR/README.md b/dbis-MISCFilter-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c3fea9f97904e6b538a86e7403f4638b3435ceef --- /dev/null +++ b/dbis-MISCFilter-RealBlurR/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFilter-RealBlurR + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-R) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFiltertiled-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled-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-MISCFilter-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFilter-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-MISCFilter-RealBlurR.safetensors` | 59 MB | 24.8530 | 291.8 ms | +| the authors' code and checkpoint | – | 24.8530 | 267.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-MISCFilter-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.json b/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..fbc49160c278dbdf6d5f3e6a1a74549e9ae68e39 --- /dev/null +++ b/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MISCFilter-RealBlurR", + "file": "dbis-MISCFilter-RealBlurR.safetensors", + "path": "dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors", + "bytes": 59410336, + "sha256": "0d1f2ff25a7d63a28472755cb5ce43ec5e4c2a50e3b32be0c747bf33a8880617", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": {}, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/RealBlur_R.pth", + "md5": "51c883c5bdcbcc1b5497984bbfc0c0c5", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFilter-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors b/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a05bf7c7bf58de71fd7de6ccbefe4592e8563b91 --- /dev/null +++ b/dbis-MISCFilter-RealBlurR/dbis-MISCFilter-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d1f2ff25a7d63a28472755cb5ce43ec5e4c2a50e3b32be0c747bf33a8880617 +size 59410336 diff --git a/dbis-MISCFilter-RealBlurR/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFilter-RealBlurR/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFilter-RealBlurR/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MISCFilter/LICENSE.md b/dbis-MISCFilter/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..9edbb2db550bc3b84b94fb468b7070199a959d39 --- /dev/null +++ b/dbis-MISCFilter/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFilter.safetensors` | `GoPro.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFilter/README.md b/dbis-MISCFilter/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a217a67802dff3c7e938bc993180478fde279520 --- /dev/null +++ b/dbis-MISCFilter/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFilter + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFiltertiled), [dbisf-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFilter), [dbisf-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFiltertiled). +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-MISCFilter blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFilter/dbis-MISCFilter.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFilter") # 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-MISCFilter.safetensors` | 59 MB | 32.0218 | 291.8 ms | +| the authors' code and checkpoint | 69 MB | 32.0218 | 267.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-MISCFilter.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-MISCFilter/dbis-MISCFilter.json b/dbis-MISCFilter/dbis-MISCFilter.json new file mode 100644 index 0000000000000000000000000000000000000000..471bd0b2cd86db4d117cce452eddbe12e8a2be85 --- /dev/null +++ b/dbis-MISCFilter/dbis-MISCFilter.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MISCFilter", + "file": "dbis-MISCFilter.safetensors", + "path": "dbis-MISCFilter/dbis-MISCFilter.safetensors", + "bytes": 59410320, + "sha256": "e90bdd76933e21c9a177c736bcac57af36ca2de6766c3a16eb4b392e2cdd63a6", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": {}, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/GoPro.pth", + "md5": "ad6a0968f56a8c65ac38479b56df863b", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFilter\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFilter/dbis-MISCFilter.safetensors b/dbis-MISCFilter/dbis-MISCFilter.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f051b00a810bd21d5d3455ce67bd20dc71d6d672 --- /dev/null +++ b/dbis-MISCFilter/dbis-MISCFilter.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e90bdd76933e21c9a177c736bcac57af36ca2de6766c3a16eb4b392e2cdd63a6 +size 59410320 diff --git a/dbis-MISCFilter/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFilter/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFilter/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MISCFiltertiled-RealBlurJ/LICENSE.md b/dbis-MISCFiltertiled-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..51e9707a612b3304bcdcd2f1f029a4078026dbbf --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurJ/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFiltertiled-RealBlurJ.safetensors` | `RealBlur_J.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFiltertiled-RealBlurJ/README.md b/dbis-MISCFiltertiled-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6230c8299af4fb61c7a0ec82a73903598294ff9e --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurJ/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFiltertiled-RealBlurJ + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-J) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFilter-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter-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-MISCFiltertiled-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFiltertiled-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-MISCFiltertiled-RealBlurJ.safetensors` | 59 MB | 25.5928 | 291.8 ms | +| the authors' code and checkpoint | – | 25.5928 | 267.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-MISCFiltertiled-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.json b/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..c8b4d1aab86133ae901f75ff91d4d3bef2e52ea0 --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MISCFiltertiled-RealBlurJ", + "file": "dbis-MISCFiltertiled-RealBlurJ.safetensors", + "path": "dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors", + "bytes": 59410336, + "sha256": "e81a40403f8969b377b6c9cc7fb187956f46175d81cd0f42f3c35f27b5e0eb60", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": { + "window": 256 + }, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/RealBlur_J.pth", + "md5": "e40f14f74546d51c217053f68bfed292", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors b/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..c9ef9712930804697e320ecf01450d4ebfe208aa --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurJ/dbis-MISCFiltertiled-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e81a40403f8969b377b6c9cc7fb187956f46175d81cd0f42f3c35f27b5e0eb60 +size 59410336 diff --git a/dbis-MISCFiltertiled-RealBlurJ/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFiltertiled-RealBlurJ/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurJ/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MISCFiltertiled-RealBlurR/LICENSE.md b/dbis-MISCFiltertiled-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..ae31100626954e2a9c1fa5ed311166144858742f --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFiltertiled-RealBlurR.safetensors` | `RealBlur_R.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFiltertiled-RealBlurR/README.md b/dbis-MISCFiltertiled-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..eca175474cfcce37032d0a7ddad686950a285645 --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurR/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFiltertiled-RealBlurR + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-R) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFilter-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter-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-MISCFiltertiled-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFiltertiled-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-MISCFiltertiled-RealBlurR.safetensors` | 59 MB | 25.1464 | 291.8 ms | +| the authors' code and checkpoint | – | 25.1464 | 267.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-MISCFiltertiled-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.json b/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..20cf07c946b2603dd9b73525fb36066b8a1b826d --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MISCFiltertiled-RealBlurR", + "file": "dbis-MISCFiltertiled-RealBlurR.safetensors", + "path": "dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors", + "bytes": 59410336, + "sha256": "822bdccfcf038160dade4a7b0271a2d9fa154047de30fe678ce342999878b4fc", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": { + "window": 256 + }, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/RealBlur_R.pth", + "md5": "51c883c5bdcbcc1b5497984bbfc0c0c5", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors b/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f644b6cc75a6aa524933b3327162b3020a014332 --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurR/dbis-MISCFiltertiled-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:822bdccfcf038160dade4a7b0271a2d9fa154047de30fe678ce342999878b4fc +size 59410336 diff --git a/dbis-MISCFiltertiled-RealBlurR/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFiltertiled-RealBlurR/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFiltertiled-RealBlurR/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MISCFiltertiled/LICENSE.md b/dbis-MISCFiltertiled/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..f4e519de52a324caa07c80ac8678681cae7c9c26 --- /dev/null +++ b/dbis-MISCFiltertiled/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MISCFiltertiled.safetensors` | `GoPro.pth` of [ChengxuLiu/MISCFilter](https://github.com/ChengxuLiu/MISCFilter) (commit aca59a8) | MIT, Copyright (c) 2024 Chengxu Liu (`licenses/MISCFilter-LICENSE.txt`) | + +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-MISCFiltertiled/README.md b/dbis-MISCFiltertiled/README.md new file mode 100644 index 0000000000000000000000000000000000000000..456cfdf8dcee50440ee7f2d61f2af4a23ec360bc --- /dev/null +++ b/dbis-MISCFiltertiled/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MISCFiltertiled + +MISCFilter (Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ChengxuLiu/MISCFilter. + +The same checkpoint in other versions: [dbis-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MISCFilter), [dbisf-MISCFilter](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFilter), [dbisf-MISCFiltertiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MISCFiltertiled). +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-MISCFiltertiled blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MISCFiltertiled") # 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-MISCFiltertiled.safetensors` | 59 MB | 33.3445 | 291.8 ms | +| the authors' code and checkpoint | – | 33.3445 | 268.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-MISCFiltertiled.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-MISCFiltertiled/dbis-MISCFiltertiled.json b/dbis-MISCFiltertiled/dbis-MISCFiltertiled.json new file mode 100644 index 0000000000000000000000000000000000000000..f2fe109477a9f7aa031f695ea00adbd0f7ccc995 --- /dev/null +++ b/dbis-MISCFiltertiled/dbis-MISCFiltertiled.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MISCFiltertiled", + "file": "dbis-MISCFiltertiled.safetensors", + "path": "dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors", + "bytes": 59410320, + "sha256": "4f89de1d173b8cc891a38ea28b270653c57e1347634506f97307824bc964cd42", + "store": "float32", + "class": "dbis.miscfilter.MISCFilter", + "args": { + "window": 256 + }, + "source": { + "method": "MISCFilter", + "paper": "Motion-adaptive Separable Collaborative Filters for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/ChengxuLiu/MISCFilter", + "commit": "aca59a8884cdf91f894dd0e7ca9f2527e4c9fd74", + "license": "MIT, Copyright (c) 2024 Chengxu Liu", + "url": "https://drive.google.com/file/d/1XsySc2rDCzoqZ0-Ph1dFYQ49_APb5Eay (checkpoints.zip, md5 1687ece4e869f1c04bf8fff55a3db014; file inside the zip)", + "group": "state_dict", + "file": "checkpoints/GoPro.pth", + "md5": "ad6a0968f56a8c65ac38479b56df863b", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MISCFiltertiled\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors b/dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..2136e161480efea772f4656a3cabe0969979cf11 --- /dev/null +++ b/dbis-MISCFiltertiled/dbis-MISCFiltertiled.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f89de1d173b8cc891a38ea28b270653c57e1347634506f97307824bc964cd42 +size 59410320 diff --git a/dbis-MISCFiltertiled/licenses/MISCFilter-LICENSE.txt b/dbis-MISCFiltertiled/licenses/MISCFilter-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..feb55fc041f7bdc1bd755b12a0e1a2190725a9ff --- /dev/null +++ b/dbis-MISCFiltertiled/licenses/MISCFilter-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b8a06bced9859109cbfda5f3721a44ef6049c27c5c82ecf07156ea50f18a65a +size 1068 diff --git a/dbis-MLWNet-B-RealBlurJ/LICENSE.md b/dbis-MLWNet-B-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..7a8bac78553d77ab1f3881ed10974c4937186f33 --- /dev/null +++ b/dbis-MLWNet-B-RealBlurJ/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-B-RealBlurJ.safetensors` | `realblur_j-width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-B-RealBlurJ/README.md b/dbis-MLWNet-B-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7cd480ee8345b1c22627e519c406ed550b19945f --- /dev/null +++ b/dbis-MLWNet-B-RealBlurJ/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-B-RealBlurJ + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-J) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-BTLC-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-BTLC-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-MLWNet-B-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-B-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-MLWNet-B-RealBlurJ.safetensors` | 380 MB | 24.4884 | – | +| the authors' code and checkpoint | – | 24.4884 | – | + +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-MLWNet-B-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.json b/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..220b2f4c77685274306ff95af52a9678bfa4a384 --- /dev/null +++ b/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-B-RealBlurJ", + "file": "dbis-MLWNet-B-RealBlurJ.safetensors", + "path": "dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.safetensors", + "bytes": 380464736, + "sha256": "4ef3af3e4b4c10217675445db933de283816f4ba0c563cf26b1362bf30e8459a", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": false + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/1lv3MCJgZUWgITUFNvgY8nU9YlpgE050W", + "file": "realblur_j-width64.pth", + "md5": "067d3915819808ffb0a36e7eb103a435", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-B-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.safetensors b/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f9ed8bc387bdb190dd31bc88c92856365d1b06ba --- /dev/null +++ b/dbis-MLWNet-B-RealBlurJ/dbis-MLWNet-B-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ef3af3e4b4c10217675445db933de283816f4ba0c563cf26b1362bf30e8459a +size 380464736 diff --git a/dbis-MLWNet-B-RealBlurJ/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-B-RealBlurJ/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-B-RealBlurJ/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MLWNet-B-RealBlurR/LICENSE.md b/dbis-MLWNet-B-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..7479357f331497120ebe11b32bedd736df2b517c --- /dev/null +++ b/dbis-MLWNet-B-RealBlurR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-B-RealBlurR.safetensors` | `realblur_r-width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-B-RealBlurR/README.md b/dbis-MLWNet-B-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6298f37e05fb4c9929b5577b6b39138b212c446e --- /dev/null +++ b/dbis-MLWNet-B-RealBlurR/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-B-RealBlurR + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-R) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-BTLC-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-BTLC-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-MLWNet-B-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-B-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-MLWNet-B-RealBlurR.safetensors` | 380 MB | 23.8238 | – | +| the authors' code and checkpoint | – | 23.8238 | – | + +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-MLWNet-B-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.json b/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..cb8c6bbdb0e2d5450d7df00cb4fd87fb2267ef3e --- /dev/null +++ b/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-B-RealBlurR", + "file": "dbis-MLWNet-B-RealBlurR.safetensors", + "path": "dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.safetensors", + "bytes": 380464736, + "sha256": "0b09fe78b89865babb6f5c35aa661740da7eb2d2a19074a8e40cfdeefcb4ed7e", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": false + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/1hp4Qu2n_lOmc7LsSOHYjf4NhUzZtskGP", + "file": "realblur_r-width64.pth", + "md5": "91318ee3649dee08f334567db15c838f", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-B-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.safetensors b/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a153a3298057a22c9d49f8a53f831410605a15e6 --- /dev/null +++ b/dbis-MLWNet-B-RealBlurR/dbis-MLWNet-B-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b09fe78b89865babb6f5c35aa661740da7eb2d2a19074a8e40cfdeefcb4ed7e +size 380464736 diff --git a/dbis-MLWNet-B-RealBlurR/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-B-RealBlurR/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-B-RealBlurR/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MLWNet-B/LICENSE.md b/dbis-MLWNet-B/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..bcb61aa11b07d35e9530d56a4f76b0981646cec8 --- /dev/null +++ b/dbis-MLWNet-B/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-B.safetensors` | `MLWNet_GoPro_width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-B/README.md b/dbis-MLWNet-B/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0664ea759d9edddddb392d5b1f660e8dabe8e324 --- /dev/null +++ b/dbis-MLWNet-B/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-B + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-BTLC](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-BTLC). +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-MLWNet-B blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-B/dbis-MLWNet-B.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-B") # 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-MLWNet-B.safetensors` | 380 MB | 33.3744 | – | +| the authors' code and checkpoint | – | 33.3744 | – | + +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-MLWNet-B.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-MLWNet-B/dbis-MLWNet-B.json b/dbis-MLWNet-B/dbis-MLWNet-B.json new file mode 100644 index 0000000000000000000000000000000000000000..cfc20c44e00cf497f6c5e05761e939265aa880aa --- /dev/null +++ b/dbis-MLWNet-B/dbis-MLWNet-B.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-B", + "file": "dbis-MLWNet-B.safetensors", + "path": "dbis-MLWNet-B/dbis-MLWNet-B.safetensors", + "bytes": 380464728, + "sha256": "64bf53436f8aafb27b6f0d2892dfeda6a9e6a15a48ed0674b1a72c0487c02e57", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": false + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/15SjPtkfQ0m6NuVss0rwvscatKwRZ2l4i", + "file": "MLWNet_GoPro_width64.pth", + "md5": "2f672522d481b7bb1e86d5a0f224d9ab", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-B\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-B/dbis-MLWNet-B.safetensors b/dbis-MLWNet-B/dbis-MLWNet-B.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..bde2f6afaf5bcdc46cf12b4919365843475c5bb4 --- /dev/null +++ b/dbis-MLWNet-B/dbis-MLWNet-B.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64bf53436f8aafb27b6f0d2892dfeda6a9e6a15a48ed0674b1a72c0487c02e57 +size 380464728 diff --git a/dbis-MLWNet-B/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-B/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-B/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MLWNet-BTLC-RealBlurJ/LICENSE.md b/dbis-MLWNet-BTLC-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..c2dee1e8e892d3c3b62cf9c37dd65863d3ff8055 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurJ/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-BTLC-RealBlurJ.safetensors` | `realblur_j-width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-BTLC-RealBlurJ/README.md b/dbis-MLWNet-BTLC-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bed5b23110660878ddf121c3a278b755df671318 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurJ/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-BTLC-RealBlurJ + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-J) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-B-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-B-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-MLWNet-BTLC-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-BTLC-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-MLWNet-BTLC-RealBlurJ.safetensors` | 380 MB | 24.6047 | – | +| the authors' code and checkpoint | – | 24.6047 | – | + +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-MLWNet-BTLC-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.json b/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..921b5756f668d2ccf3cbf0db6daacbeeddbcc599 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-BTLC-RealBlurJ", + "file": "dbis-MLWNet-BTLC-RealBlurJ.safetensors", + "path": "dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.safetensors", + "bytes": 380464736, + "sha256": "cb1a84d190a645db219dcdec7632c45c82ac5a27b3a47d4555183e20b4b1158a", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": true + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/1lv3MCJgZUWgITUFNvgY8nU9YlpgE050W", + "file": "realblur_j-width64.pth", + "md5": "067d3915819808ffb0a36e7eb103a435", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-BTLC-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.safetensors b/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..55b82b7bbc356a3dfe6959101456b4472c20d19c --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurJ/dbis-MLWNet-BTLC-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb1a84d190a645db219dcdec7632c45c82ac5a27b3a47d4555183e20b4b1158a +size 380464736 diff --git a/dbis-MLWNet-BTLC-RealBlurJ/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-BTLC-RealBlurJ/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurJ/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MLWNet-BTLC-RealBlurR/LICENSE.md b/dbis-MLWNet-BTLC-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..bb8330f10a308cea26d4cf2503f4aa5ddf72aaed --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-BTLC-RealBlurR.safetensors` | `realblur_r-width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-BTLC-RealBlurR/README.md b/dbis-MLWNet-BTLC-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bfd3e6468e6ea99fe32a671cb576af6910cff156 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurR/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-BTLC-RealBlurR + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RealBlur-R) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-B-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-B-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-MLWNet-BTLC-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-BTLC-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-MLWNet-BTLC-RealBlurR.safetensors` | 380 MB | 24.1093 | – | +| the authors' code and checkpoint | – | 24.1093 | – | + +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-MLWNet-BTLC-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.json b/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..2fea987b30ad07f6cfc49605efee191421c4ea71 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-BTLC-RealBlurR", + "file": "dbis-MLWNet-BTLC-RealBlurR.safetensors", + "path": "dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.safetensors", + "bytes": 380464736, + "sha256": "c2e59d68d9682d24e374e1139a3effb5efe1de0ebe1523998bb5cc87aab8df8b", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": true + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/1hp4Qu2n_lOmc7LsSOHYjf4NhUzZtskGP", + "file": "realblur_r-width64.pth", + "md5": "91318ee3649dee08f334567db15c838f", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-BTLC-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.safetensors b/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a48e94574ffd8e4765882e495b596c38dd5cc0f1 --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurR/dbis-MLWNet-BTLC-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2e59d68d9682d24e374e1139a3effb5efe1de0ebe1523998bb5cc87aab8df8b +size 380464736 diff --git a/dbis-MLWNet-BTLC-RealBlurR/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-BTLC-RealBlurR/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-BTLC-RealBlurR/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MLWNet-BTLC/LICENSE.md b/dbis-MLWNet-BTLC/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..cbfbd55c13d3c340982ff791ab5fa53b6ba50ee5 --- /dev/null +++ b/dbis-MLWNet-BTLC/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MLWNet-BTLC.safetensors` | `MLWNet_GoPro_width64.pth` of [thqiu0419/MLWNet](https://github.com/thqiu0419/MLWNet) (commit 523d164) | MIT, Copyright (c) 2022 megvii-model (repository LICENSE) (`licenses/MLWNet-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-MLWNet-BTLC/README.md b/dbis-MLWNet-BTLC/README.md new file mode 100644 index 0000000000000000000000000000000000000000..8c09a8dc971e214bf81f3f29a0f53828c83c1d19 --- /dev/null +++ b/dbis-MLWNet-BTLC/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MLWNet-BTLC + +MLWNet (Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring, CVPR 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/thqiu0419/MLWNet. + +The same checkpoint in other versions: [dbis-MLWNet-B](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MLWNet-B). +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-MLWNet-BTLC blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MLWNet-BTLC") # 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-MLWNet-BTLC.safetensors` | 380 MB | 33.8258 | – | +| the authors' code and checkpoint | – | 33.8258 | – | + +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-MLWNet-BTLC.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-MLWNet-BTLC/dbis-MLWNet-BTLC.json b/dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.json new file mode 100644 index 0000000000000000000000000000000000000000..828f79db1c607e5b8e658d0bb1fe1ca6af988fd4 --- /dev/null +++ b/dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-MLWNet-BTLC", + "file": "dbis-MLWNet-BTLC.safetensors", + "path": "dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.safetensors", + "bytes": 380464728, + "sha256": "01a685c11aa33e0a494319d8ab1bd4e7d1825cf970e713e4a3a6a26602e728e5", + "store": "float32", + "class": "dbis.mlwnet.MLWNet", + "args": { + "dim": 64, + "tlc": true + }, + "source": { + "method": "MLWNet", + "paper": "Efficient Multi-Scale Network with Learnable Discrete Wavelet Transform for Blind Motion Deblurring", + "venue": "CVPR 2024", + "code": "https://github.com/thqiu0419/MLWNet", + "commit": "523d164b21b88004962a770c11da9b59da996638", + "license": "MIT, Copyright (c) 2022 megvii-model (repository LICENSE)", + "group": "params", + "url": "https://drive.google.com/file/d/15SjPtkfQ0m6NuVss0rwvscatKwRZ2l4i", + "file": "MLWNet_GoPro_width64.pth", + "md5": "2f672522d481b7bb1e86d5a0f224d9ab", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MLWNet-BTLC\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.safetensors b/dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..38bbff6acb9b855dc01882e6633519b475d8947b --- /dev/null +++ b/dbis-MLWNet-BTLC/dbis-MLWNet-BTLC.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01a685c11aa33e0a494319d8ab1bd4e7d1825cf970e713e4a3a6a26602e728e5 +size 380464728 diff --git a/dbis-MLWNet-BTLC/licenses/MLWNet-LICENSE.txt b/dbis-MLWNet-BTLC/licenses/MLWNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4c4823fe40509b3a6ca1f79c91e5d3ec7f9a9df --- /dev/null +++ b/dbis-MLWNet-BTLC/licenses/MLWNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29ecef3456149898f08e4c71b11b33e7d333664e087bc212e84e18ddd6599ad +size 12466 diff --git a/dbis-MMP-RNN-BSD2/LICENSE.md b/dbis-MMP-RNN-BSD2/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..5384ca9889937e3fec8031ce38e168c69df73b15 --- /dev/null +++ b/dbis-MMP-RNN-BSD2/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MMP-RNN-BSD2.safetensors` | `BSD_model_best.pth.tar` of [sollynoay/MMP-RNN](https://github.com/sollynoay/MMP-RNN) (commit 85f9906) | MIT, Copyright (c) 2022 Yusheng Wang (`licenses/MMP-RNN-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-MMP-RNN-BSD2/README.md b/dbis-MMP-RNN-BSD2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fab50ffaa7cb858e01b3b4b66e39df662fbec7bd --- /dev/null +++ b/dbis-MMP-RNN-BSD2/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-MMP-RNN-BSD2 + +MMP-RNN (Efficient Video Deblurring Guided by Motion Magnitude, ECCV 2022) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD2) 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/sollynoay/MMP-RNN. + +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-MMP-RNN-BSD2 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MMP-RNN-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 | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-MMP-RNN-BSD2.safetensors` | 16 MB | 25.8731 | 20.0 ms | +| the authors' code and checkpoint | – | 25.8731 | 21.0 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-MMP-RNN-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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.json b/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.json new file mode 100644 index 0000000000000000000000000000000000000000..bca86a435093308d54a9cea7dc367b1a9522ad7e --- /dev/null +++ b/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MMP-RNN-BSD2", + "file": "dbis-MMP-RNN-BSD2.safetensors", + "path": "dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.safetensors", + "bytes": 16365880, + "sha256": "6170c69820ef947fb27c13b28abe8f38eda410850bc3d8bfb1f447aaaa15d73f", + "store": "float32", + "class": "dbis.mmprnn.MMPRNN", + "args": { + "bgr": true + }, + "source": { + "method": "MMP-RNN", + "paper": "Efficient Video Deblurring Guided by Motion Magnitude", + "venue": "ECCV 2022", + "code": "https://github.com/sollynoay/MMP-RNN", + "commit": "85f990660a59c7666590e4e92576471327d3fb1d", + "license": "MIT, Copyright (c) 2022 Yusheng Wang", + "url": "https://github.com/sollynoay/MMP-RNN (README: pretrained models, BSD; exposure not stated, registered as BSD 2ms16ms)", + "file": "BSD_model_best.pth.tar", + "md5": "3fd7892a7e8013551c756fff1d07f930", + "group": "state_dict", + "trained_on": "BSD2" + }, + "load": "import dbis; net = dbis.load(\"dbis-MMP-RNN-BSD2\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.safetensors b/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..dd3a66c874d9fd9c1ab916ad0d7b1721d624c2cb --- /dev/null +++ b/dbis-MMP-RNN-BSD2/dbis-MMP-RNN-BSD2.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6170c69820ef947fb27c13b28abe8f38eda410850bc3d8bfb1f447aaaa15d73f +size 16365880 diff --git a/dbis-MMP-RNN-BSD2/licenses/MMP-RNN-LICENSE.txt b/dbis-MMP-RNN-BSD2/licenses/MMP-RNN-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..b214ff00b9789158fcbe97aef62c50523ba66f77 --- /dev/null +++ b/dbis-MMP-RNN-BSD2/licenses/MMP-RNN-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae359adef16571726a8fcd4ee439b398c2a4167165b399e712678a4c1c08b96 +size 1069 diff --git a/dbis-MMP-RNN-GoPro/LICENSE.md b/dbis-MMP-RNN-GoPro/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..4cbff9e62a4d906cfc79d7e9e2612ff67fc69de0 --- /dev/null +++ b/dbis-MMP-RNN-GoPro/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MMP-RNN-GoPro.safetensors` | `GoPro_model_best.pth.tar` of [sollynoay/MMP-RNN](https://github.com/sollynoay/MMP-RNN) (commit 85f9906) | MIT, Copyright (c) 2022 Yusheng Wang (`licenses/MMP-RNN-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-MMP-RNN-GoPro/README.md b/dbis-MMP-RNN-GoPro/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7ea3ccb89fe930823acfe5acf8d158bd4e28e2bf --- /dev/null +++ b/dbis-MMP-RNN-GoPro/README.md @@ -0,0 +1,49 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-MMP-RNN-GoPro + +MMP-RNN (Efficient Video Deblurring Guided by Motion Magnitude, ECCV 2022) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/sollynoay/MMP-RNN. + +The same checkpoint in other versions: [dbisf-MMP-RNN-GoPro](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MMP-RNN-GoPro). +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-MMP-RNN-GoPro blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MMP-RNN-GoPro") # 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-MMP-RNN-GoPro.safetensors` | 16 MB | 29.9521 | 20.0 ms | +| the authors' code and checkpoint | 42 MB | 29.9521 | 21.0 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-MMP-RNN-GoPro.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-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.json b/dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.json new file mode 100644 index 0000000000000000000000000000000000000000..ae8b639e514801fab815c082a6e684e711d42a4b --- /dev/null +++ b/dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MMP-RNN-GoPro", + "file": "dbis-MMP-RNN-GoPro.safetensors", + "path": "dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.safetensors", + "bytes": 16365880, + "sha256": "49b1370aee9eca967c686380f8dfd2be7a48b348168d06767806acb980512acb", + "store": "float32", + "class": "dbis.mmprnn.MMPRNN", + "args": {}, + "source": { + "method": "MMP-RNN", + "paper": "Efficient Video Deblurring Guided by Motion Magnitude", + "venue": "ECCV 2022", + "code": "https://github.com/sollynoay/MMP-RNN", + "commit": "85f990660a59c7666590e4e92576471327d3fb1d", + "license": "MIT, Copyright (c) 2022 Yusheng Wang", + "url": "https://github.com/sollynoay/MMP-RNN (README: pretrained models, GoPro)", + "file": "GoPro_model_best.pth.tar", + "md5": "8a4324057b20b302f8e6186bf7fb0863", + "group": "state_dict", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MMP-RNN-GoPro\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.safetensors b/dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..8cf072ae7d2eeb25d1bea1754076323894065d63 --- /dev/null +++ b/dbis-MMP-RNN-GoPro/dbis-MMP-RNN-GoPro.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49b1370aee9eca967c686380f8dfd2be7a48b348168d06767806acb980512acb +size 16365880 diff --git a/dbis-MMP-RNN-GoPro/licenses/MMP-RNN-LICENSE.txt b/dbis-MMP-RNN-GoPro/licenses/MMP-RNN-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..b214ff00b9789158fcbe97aef62c50523ba66f77 --- /dev/null +++ b/dbis-MMP-RNN-GoPro/licenses/MMP-RNN-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae359adef16571726a8fcd4ee439b398c2a4167165b399e712678a4c1c08b96 +size 1069 diff --git a/dbis-MMP-RNN-REDSours/LICENSE.md b/dbis-MMP-RNN-REDSours/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..0d0fccbc6d30fc19c58cbeece74ea69a58297d40 --- /dev/null +++ b/dbis-MMP-RNN-REDSours/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MMP-RNN-REDSours.safetensors` | `MMP-RNN_REDS_last.pth.tar` of [sollynoay/MMP-RNN](https://github.com/sollynoay/MMP-RNN) (commit 85f9906) | MIT, Copyright (c) 2022 Yusheng Wang (architecture and code); weights: our retraining (`licenses/MMP-RNN-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-MMP-RNN-REDSours/README.md b/dbis-MMP-RNN-REDSours/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a929f54207aaaaa99319235678fb525eb70f11e4 --- /dev/null +++ b/dbis-MMP-RNN-REDSours/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-MMP-RNN-REDSours + +MMP-RNN (Efficient Video Deblurring Guided by Motion Magnitude, ECCV 2022) 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/sollynoay/MMP-RNN. + +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-MMP-RNN-REDSours blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MMP-RNN-REDSours") # 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-MMP-RNN-REDSours.safetensors` | 16 MB | 26.7664 | 20.0 ms | +| the authors' code and checkpoint | – | 26.7664 | 21.0 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-MMP-RNN-REDSours.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-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.json b/dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.json new file mode 100644 index 0000000000000000000000000000000000000000..e7f61fbf1c549aa6dcd42f56fa3eb4a358f332e3 --- /dev/null +++ b/dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MMP-RNN-REDSours", + "file": "dbis-MMP-RNN-REDSours.safetensors", + "path": "dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.safetensors", + "bytes": 16365936, + "sha256": "2e7156b19eb2338969705a26bd0f2e64cd1f32f7fb2ba304c2e89b7fd5a416d3", + "store": "float32", + "class": "dbis.mmprnn.MMPRNN", + "args": {}, + "source": { + "method": "MMP-RNN", + "paper": "Efficient Video Deblurring Guided by Motion Magnitude", + "venue": "ECCV 2022", + "code": "https://github.com/sollynoay/MMP-RNN", + "commit": "85f990660a59c7666590e4e92576471327d3fb1d", + "license": "MIT, Copyright (c) 2022 Yusheng Wang (architecture and code); weights: our retraining", + "url": "none: our own retraining on REDS train with the authors' code and recipe (50 epochs, runs/mmprnn_reds), last epoch", + "file": "MMP-RNN_REDS_last.pth.tar", + "md5": "866574b68470b45dfde5f749fdc9c08e", + "group": "state_dict", + "trained_on": "REDS" + }, + "load": "import dbis; net = dbis.load(\"dbis-MMP-RNN-REDSours\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.safetensors b/dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..65db6cd7f9cad4266b47ce8234481f6246781d96 --- /dev/null +++ b/dbis-MMP-RNN-REDSours/dbis-MMP-RNN-REDSours.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e7156b19eb2338969705a26bd0f2e64cd1f32f7fb2ba304c2e89b7fd5a416d3 +size 16365936 diff --git a/dbis-MMP-RNN-REDSours/licenses/MMP-RNN-LICENSE.txt b/dbis-MMP-RNN-REDSours/licenses/MMP-RNN-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..b214ff00b9789158fcbe97aef62c50523ba66f77 --- /dev/null +++ b/dbis-MMP-RNN-REDSours/licenses/MMP-RNN-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae359adef16571726a8fcd4ee439b398c2a4167165b399e712678a4c1c08b96 +size 1069 diff --git a/dbis-MPRNet/LICENSE.md b/dbis-MPRNet/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..5208ca05d974dacffe31ccef259aff612ce2a6ad --- /dev/null +++ b/dbis-MPRNet/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MPRNet.safetensors` | `model_deblurring.pth` of [swz30/MPRNet](https://github.com/swz30/MPRNet) (commit 43feb2a) | **Non-commercial use only.** Academic Public License (non-commercial only, same-license redistribution), Copyright the MPRNet authors (`licenses/MPRNet-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-MPRNet/README.md b/dbis-MPRNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..400d9e32596e1d83366b84d5e94c34625616c3d6 --- /dev/null +++ b/dbis-MPRNet/README.md @@ -0,0 +1,51 @@ +--- +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-MPRNet + +> **Non-commercial use only**: this file keeps the terms of its source checkpoint, Academic Public License, non-commercial (see `LICENSE.md`). + +MPRNet (Multi-Stage Progressive Image Restoration, CVPR 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/swz30/MPRNet. + +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-MPRNet blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MPRNet/dbis-MPRNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MPRNet") # 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-MPRNet.safetensors` | 81 MB | 32.6580 | – | +| the authors' code and checkpoint | 81 MB | 32.6580 | – | + +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-MPRNet.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-MPRNet/dbis-MPRNet.json b/dbis-MPRNet/dbis-MPRNet.json new file mode 100644 index 0000000000000000000000000000000000000000..d537da829bb86b76d77437c0452eaab51b31a0b1 --- /dev/null +++ b/dbis-MPRNet/dbis-MPRNet.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-MPRNet", + "file": "dbis-MPRNet.safetensors", + "path": "dbis-MPRNet/dbis-MPRNet.safetensors", + "bytes": 80545128, + "sha256": "8cd3c75ae6350a19862c66994831b4a3236d8d90e46e74c006bbb57446d3dab8", + "store": "float32", + "class": "dbis.mprnet.MPRNet", + "args": {}, + "source": { + "method": "MPRNet", + "paper": "Multi-Stage Progressive Image Restoration", + "venue": "CVPR 2021", + "code": "https://github.com/swz30/MPRNet", + "commit": "43feb2aed45f5e0b9082c78c8c455160e30a3a82", + "license": "Academic Public License (non-commercial only, same-license redistribution), Copyright the MPRNet authors", + "url": "https://drive.google.com/file/d/1QwQUVbk6YVOJViCsOKYNykCsdJSVGRtb/view?usp=sharing", + "file": "model_deblurring.pth", + "md5": "c8963119ad60304636e718038e331f59", + "group": "state_dict", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MPRNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MPRNet/dbis-MPRNet.safetensors b/dbis-MPRNet/dbis-MPRNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..aafd9ed334d6c77ce51358c5104271b0df2ff65e --- /dev/null +++ b/dbis-MPRNet/dbis-MPRNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cd3c75ae6350a19862c66994831b4a3236d8d90e46e74c006bbb57446d3dab8 +size 80545128 diff --git a/dbis-MPRNet/licenses/MPRNet-LICENSE.txt b/dbis-MPRNet/licenses/MPRNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1b5122a6c573184049780538282822d40165f325 --- /dev/null +++ b/dbis-MPRNet/licenses/MPRNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26e1d4b76ab705b601efc7dd508a99a1efd13e0eea833f6a379eb4b772a59e2a +size 1332 diff --git a/dbis-MSDI-Net/LICENSE.md b/dbis-MSDI-Net/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..6b270ae7909cf77e1c24cf8f45b014b050ddbd4a --- /dev/null +++ b/dbis-MSDI-Net/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSDI-Net.safetensors` | `msdi_net.pth` of [dasongli1/Learning_degradation](https://github.com/dasongli1/Learning_degradation) (commit 9ba7c63) | **No license stated.** none stated (no LICENSE file); SPADE-derived parts: CC BY-NC-SA 4.0, Copyright (C) 2019 NVIDIA Corporation (no license file in the repository) | + +No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use. + +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-MSDI-Net/README.md b/dbis-MSDI-Net/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fdce084b8aef0d21f6bff3650d7694fbec8f4404 --- /dev/null +++ b/dbis-MSDI-Net/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: no-license-stated +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSDI-Net + +> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights. + +MSDI-Net (Learning Degradation Representations for Image Deblurring, ECCV 2022) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/dasongli1/Learning_degradation. + +The same checkpoint in other versions: [dbis-MSDI-Nettiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSDI-Nettiled), [dbisf-MSDI-Net](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MSDI-Net), [dbisf-MSDI-Nettiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MSDI-Nettiled). +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-MSDI-Net blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSDI-Net/dbis-MSDI-Net.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSDI-Net") # 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-MSDI-Net.safetensors` | 988 MB | 32.5892 | 162.9 ms | +| the authors' code and checkpoint | 1100 MB | 32.5892 | 163.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-MSDI-Net.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-MSDI-Net/dbis-MSDI-Net.json b/dbis-MSDI-Net/dbis-MSDI-Net.json new file mode 100644 index 0000000000000000000000000000000000000000..af372deaf188d391ee50e83d6fac1bec02adc3f1 --- /dev/null +++ b/dbis-MSDI-Net/dbis-MSDI-Net.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSDI-Net", + "file": "dbis-MSDI-Net.safetensors", + "path": "dbis-MSDI-Net/dbis-MSDI-Net.safetensors", + "bytes": 987509088, + "sha256": "c113fc822879a7accaee4bb2e5c6907ff0f3f341830ec05d0e0160c85701fae8", + "store": "float32", + "class": "dbis.msdinet.MSDINet", + "args": { + "grids": null + }, + "source": { + "method": "MSDI-Net", + "paper": "Learning Degradation Representations for Image Deblurring", + "venue": "ECCV 2022", + "code": "https://github.com/dasongli1/Learning_degradation", + "commit": "9ba7c63a9a54d24463bc19ca2c480cd9fa834d0c", + "license": "none stated (no LICENSE file); SPADE-derived parts: CC BY-NC-SA 4.0, Copyright (C) 2019 NVIDIA Corporation", + "url": "https://drive.google.com/file/d/1HB06DPJ2bydHhjjuxmVGrQ7F63dbaKXL", + "file": "msdi_net.pth", + "md5": "1bb822a3050019ac9ef26b3aab2f2eb5", + "group": null, + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSDI-Net\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSDI-Net/dbis-MSDI-Net.safetensors b/dbis-MSDI-Net/dbis-MSDI-Net.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a9e4dc6337a1fc6d25f1722fcd14db5a0aca7dfa --- /dev/null +++ b/dbis-MSDI-Net/dbis-MSDI-Net.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c113fc822879a7accaee4bb2e5c6907ff0f3f341830ec05d0e0160c85701fae8 +size 987509088 diff --git a/dbis-MSDI-Nettiled/LICENSE.md b/dbis-MSDI-Nettiled/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..6b270ae7909cf77e1c24cf8f45b014b050ddbd4a --- /dev/null +++ b/dbis-MSDI-Nettiled/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSDI-Net.safetensors` | `msdi_net.pth` of [dasongli1/Learning_degradation](https://github.com/dasongli1/Learning_degradation) (commit 9ba7c63) | **No license stated.** none stated (no LICENSE file); SPADE-derived parts: CC BY-NC-SA 4.0, Copyright (C) 2019 NVIDIA Corporation (no license file in the repository) | + +No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use. + +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-MSDI-Nettiled/README.md b/dbis-MSDI-Nettiled/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7927fb01b084cd57608369d570603a4003dc05b1 --- /dev/null +++ b/dbis-MSDI-Nettiled/README.md @@ -0,0 +1,52 @@ +--- +license: other +license_name: no-license-stated +license_link: LICENSE.md +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSDI-Nettiled + +> **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights. + +MSDI-Net (Learning Degradation Representations for Image Deblurring, ECCV 2022) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/dasongli1/Learning_degradation. + +The same checkpoint in other versions: [dbis-MSDI-Net](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSDI-Net), [dbisf-MSDI-Net](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MSDI-Net), [dbisf-MSDI-Nettiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-MSDI-Nettiled). +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-MSDI-Nettiled blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSDI-Nettiled/dbis-MSDI-Net.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSDI-Nettiled") # 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-MSDI-Net.safetensors` | 988 MB | 33.2752 | 179.7 ms | +| the authors' code and checkpoint | – | 33.2752 | 181.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-MSDI-Net.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: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-MSDI-Nettiled/dbis-MSDI-Net.json b/dbis-MSDI-Nettiled/dbis-MSDI-Net.json new file mode 100644 index 0000000000000000000000000000000000000000..ada5c5ae5e067355f62979569783f278319f81b2 --- /dev/null +++ b/dbis-MSDI-Nettiled/dbis-MSDI-Net.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSDI-Nettiled", + "file": "dbis-MSDI-Net.safetensors", + "path": "dbis-MSDI-Nettiled/dbis-MSDI-Net.safetensors", + "bytes": 987509088, + "sha256": "c113fc822879a7accaee4bb2e5c6907ff0f3f341830ec05d0e0160c85701fae8", + "store": "float32", + "class": "dbis.msdinet.MSDINet", + "args": { + "grids": 256 + }, + "source": { + "method": "MSDI-Net", + "paper": "Learning Degradation Representations for Image Deblurring", + "venue": "ECCV 2022", + "code": "https://github.com/dasongli1/Learning_degradation", + "commit": "9ba7c63a9a54d24463bc19ca2c480cd9fa834d0c", + "license": "none stated (no LICENSE file); SPADE-derived parts: CC BY-NC-SA 4.0, Copyright (C) 2019 NVIDIA Corporation", + "url": "https://drive.google.com/file/d/1HB06DPJ2bydHhjjuxmVGrQ7F63dbaKXL", + "file": "msdi_net.pth", + "md5": "1bb822a3050019ac9ef26b3aab2f2eb5", + "group": null, + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSDI-Nettiled\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSDI-Nettiled/dbis-MSDI-Net.safetensors b/dbis-MSDI-Nettiled/dbis-MSDI-Net.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a9e4dc6337a1fc6d25f1722fcd14db5a0aca7dfa --- /dev/null +++ b/dbis-MSDI-Nettiled/dbis-MSDI-Net.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c113fc822879a7accaee4bb2e5c6907ff0f3f341830ec05d0e0160c85701fae8 +size 987509088 diff --git a/dbis-MSFS-Net-RealBlurJ/LICENSE.md b/dbis-MSFS-Net-RealBlurJ/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..3d4df2d17a46b7501cf68872f072801d794a39ae --- /dev/null +++ b/dbis-MSFS-Net-RealBlurJ/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSFS-Net-RealBlurJ.safetensors` | `model_J.pkl` of [LiQiang0307/MSFS-Net](https://github.com/LiQiang0307/MSFS-Net) (commit ebc59c7) | Apache-2.0 (LICENSE of the repository) (`licenses/MSFS-Net-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-MSFS-Net-RealBlurJ/README.md b/dbis-MSFS-Net-RealBlurJ/README.md new file mode 100644 index 0000000000000000000000000000000000000000..37fb4c463635efd15ee5410214d5b9796206850a --- /dev/null +++ b/dbis-MSFS-Net-RealBlurJ/README.md @@ -0,0 +1,48 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSFS-Net-RealBlurJ + +MSFS-Net (Multi-scale frequency separation network for image deblurring (Li et al.), IEEE TCSVT 2023) 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/LiQiang0307/MSFS-Net. + +The same checkpoint in other versions: [dbis-MSFS-NetTLC-RealBlurJ](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSFS-NetTLC-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-MSFS-Net-RealBlurJ blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSFS-Net-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-MSFS-Net-RealBlurJ.safetensors` | 86 MB | 24.7701 | – | +| the authors' code and checkpoint | – | 24.7701 | – | + +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-MSFS-Net-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: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.json b/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.json new file mode 100644 index 0000000000000000000000000000000000000000..75508e60f009e83276d2ea3aabad8c16ad436d77 --- /dev/null +++ b/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSFS-Net-RealBlurJ", + "file": "dbis-MSFS-Net-RealBlurJ.safetensors", + "path": "dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.safetensors", + "bytes": 86445556, + "sha256": "9003eec6a392cac5dcde56aa475d06ab3d9856b098d1a55dd16cca53341b12ef", + "store": "float32", + "class": "dbis.msfsnet.MSFSNet", + "args": { + "tlc": false + }, + "source": { + "method": "MSFS-Net", + "paper": "Multi-scale frequency separation network for image deblurring (Li et al.)", + "venue": "IEEE TCSVT 2023", + "code": "https://github.com/LiQiang0307/MSFS-Net", + "commit": "ebc59c79304ef5ede1c9e060a6f6e9607eb08867", + "license": "Apache-2.0 (LICENSE of the repository)", + "group": "model", + "url": "https://drive.google.com/file/d/1ds_CvsxJSQPG5dmOmokULivWJzvTlt19", + "file": "model_J.pkl", + "md5": "ca1ef4e760601c98aa4ac67e15630aee", + "trained_on": "RealBlur-J" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSFS-Net-RealBlurJ\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.safetensors b/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..090cc03c2a05b5af90820896e191b50bcaf1170b --- /dev/null +++ b/dbis-MSFS-Net-RealBlurJ/dbis-MSFS-Net-RealBlurJ.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9003eec6a392cac5dcde56aa475d06ab3d9856b098d1a55dd16cca53341b12ef +size 86445556 diff --git a/dbis-MSFS-Net-RealBlurJ/licenses/MSFS-Net-LICENSE.txt b/dbis-MSFS-Net-RealBlurJ/licenses/MSFS-Net-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..06974d20a76bf416d33438e200c8e11958d4002e --- /dev/null +++ b/dbis-MSFS-Net-RealBlurJ/licenses/MSFS-Net-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 +size 11357 diff --git a/dbis-MSFS-Net-RealBlurR/LICENSE.md b/dbis-MSFS-Net-RealBlurR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..8b189d3a0e8e3060cb8ed930a1a33f6fbd680adc --- /dev/null +++ b/dbis-MSFS-Net-RealBlurR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSFS-Net-RealBlurR.safetensors` | `model_R.pkl` of [LiQiang0307/MSFS-Net](https://github.com/LiQiang0307/MSFS-Net) (commit ebc59c7) | Apache-2.0 (LICENSE of the repository) (`licenses/MSFS-Net-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-MSFS-Net-RealBlurR/README.md b/dbis-MSFS-Net-RealBlurR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..786f7f722860b6da76eab75352038210fced0d27 --- /dev/null +++ b/dbis-MSFS-Net-RealBlurR/README.md @@ -0,0 +1,48 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSFS-Net-RealBlurR + +MSFS-Net (Multi-scale frequency separation network for image deblurring (Li et al.), IEEE TCSVT 2023) 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/LiQiang0307/MSFS-Net. + +The same checkpoint in other versions: [dbis-MSFS-NetTLC-RealBlurR](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSFS-NetTLC-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-MSFS-Net-RealBlurR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSFS-Net-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-MSFS-Net-RealBlurR.safetensors` | 86 MB | 24.6002 | – | +| the authors' code and checkpoint | – | 24.6002 | – | + +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-MSFS-Net-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: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.json b/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.json new file mode 100644 index 0000000000000000000000000000000000000000..75795828c6579a87cc701a101a4d77f610badd37 --- /dev/null +++ b/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSFS-Net-RealBlurR", + "file": "dbis-MSFS-Net-RealBlurR.safetensors", + "path": "dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.safetensors", + "bytes": 86445556, + "sha256": "e3b329bfcadd6c0232dd0a3f679033e58841cceb0862542679c1d56c54d83ca6", + "store": "float32", + "class": "dbis.msfsnet.MSFSNet", + "args": { + "tlc": false + }, + "source": { + "method": "MSFS-Net", + "paper": "Multi-scale frequency separation network for image deblurring (Li et al.)", + "venue": "IEEE TCSVT 2023", + "code": "https://github.com/LiQiang0307/MSFS-Net", + "commit": "ebc59c79304ef5ede1c9e060a6f6e9607eb08867", + "license": "Apache-2.0 (LICENSE of the repository)", + "group": "model", + "url": "https://drive.google.com/file/d/11p13bZM3iJ16h4HnSAZlsK0pQ9Fzbtfr", + "file": "model_R.pkl", + "md5": "d3b38d46cfa79a5d46ce46d5651cd5d5", + "trained_on": "RealBlur-R" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSFS-Net-RealBlurR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.safetensors b/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d076621cac89fa2210832464bbb3639368aa701a --- /dev/null +++ b/dbis-MSFS-Net-RealBlurR/dbis-MSFS-Net-RealBlurR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3b329bfcadd6c0232dd0a3f679033e58841cceb0862542679c1d56c54d83ca6 +size 86445556 diff --git a/dbis-MSFS-Net-RealBlurR/licenses/MSFS-Net-LICENSE.txt b/dbis-MSFS-Net-RealBlurR/licenses/MSFS-Net-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..06974d20a76bf416d33438e200c8e11958d4002e --- /dev/null +++ b/dbis-MSFS-Net-RealBlurR/licenses/MSFS-Net-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 +size 11357 diff --git a/dbis-MSFS-Net/LICENSE.md b/dbis-MSFS-Net/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..a033f9313a3f2096e426173dee1aa1625f814849 --- /dev/null +++ b/dbis-MSFS-Net/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSFS-Net.safetensors` | `model.pkl` of [LiQiang0307/MSFS-Net](https://github.com/LiQiang0307/MSFS-Net) (commit ebc59c7) | Apache-2.0 (LICENSE of the repository) (`licenses/MSFS-Net-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-MSFS-Net/README.md b/dbis-MSFS-Net/README.md new file mode 100644 index 0000000000000000000000000000000000000000..87809c301d07cbaad4527e0843333a83ca51ae70 --- /dev/null +++ b/dbis-MSFS-Net/README.md @@ -0,0 +1,48 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSFS-Net + +MSFS-Net (Multi-scale frequency separation network for image deblurring (Li et al.), IEEE TCSVT 2023) 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/LiQiang0307/MSFS-Net. + +The same checkpoint in other versions: [dbis-MSFS-NetTLC](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSFS-NetTLC). +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-MSFS-Net blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSFS-Net/dbis-MSFS-Net.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSFS-Net") # 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-MSFS-Net.safetensors` | 86 MB | 32.7166 | – | +| the authors' code and checkpoint | – | 32.7166 | – | + +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-MSFS-Net.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-MSFS-Net/dbis-MSFS-Net.json b/dbis-MSFS-Net/dbis-MSFS-Net.json new file mode 100644 index 0000000000000000000000000000000000000000..4b73e8516bfdb16a1ca4f55658163541387eb088 --- /dev/null +++ b/dbis-MSFS-Net/dbis-MSFS-Net.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSFS-Net", + "file": "dbis-MSFS-Net.safetensors", + "path": "dbis-MSFS-Net/dbis-MSFS-Net.safetensors", + "bytes": 86445540, + "sha256": "d3e63f2c13beb95adc99300a4fef7b483248f81dc3036ec167c623b9c1efda22", + "store": "float32", + "class": "dbis.msfsnet.MSFSNet", + "args": { + "tlc": false + }, + "source": { + "method": "MSFS-Net", + "paper": "Multi-scale frequency separation network for image deblurring (Li et al.)", + "venue": "IEEE TCSVT 2023", + "code": "https://github.com/LiQiang0307/MSFS-Net", + "commit": "ebc59c79304ef5ede1c9e060a6f6e9607eb08867", + "license": "Apache-2.0 (LICENSE of the repository)", + "group": "model", + "url": "https://drive.google.com/file/d/1OVBZgYU5iiqnBE-nn0H-Obj97EreVERx", + "file": "model.pkl", + "md5": "61b776b11b85f41de42617388114471a", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSFS-Net\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSFS-Net/dbis-MSFS-Net.safetensors b/dbis-MSFS-Net/dbis-MSFS-Net.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..98f50150dc4168731b66dc1bb81ced0600d17d08 --- /dev/null +++ b/dbis-MSFS-Net/dbis-MSFS-Net.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e63f2c13beb95adc99300a4fef7b483248f81dc3036ec167c623b9c1efda22 +size 86445540 diff --git a/dbis-MSFS-Net/licenses/MSFS-Net-LICENSE.txt b/dbis-MSFS-Net/licenses/MSFS-Net-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..06974d20a76bf416d33438e200c8e11958d4002e --- /dev/null +++ b/dbis-MSFS-Net/licenses/MSFS-Net-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 +size 11357 diff --git a/dbis-MSFS-NetTLC/LICENSE.md b/dbis-MSFS-NetTLC/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..a3a5be5c4183bfb5ae065455747006c574b39f2d --- /dev/null +++ b/dbis-MSFS-NetTLC/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-MSFS-NetTLC.safetensors` | `model.pkl` of [LiQiang0307/MSFS-Net](https://github.com/LiQiang0307/MSFS-Net) (commit ebc59c7) | Apache-2.0 (LICENSE of the repository) (`licenses/MSFS-Net-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-MSFS-NetTLC/README.md b/dbis-MSFS-NetTLC/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e3db34aef29b7a079ff536297055d1692b2daf56 --- /dev/null +++ b/dbis-MSFS-NetTLC/README.md @@ -0,0 +1,48 @@ +--- +license: apache-2.0 +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-MSFS-NetTLC + +MSFS-Net (Multi-scale frequency separation network for image deblurring (Li et al.), IEEE TCSVT 2023) 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/LiQiang0307/MSFS-Net. + +The same checkpoint in other versions: [dbis-MSFS-Net](https://huggingface.co/Illaitar/dbis/tree/main/dbis-MSFS-Net). +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-MSFS-NetTLC blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-MSFS-NetTLC") # 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-MSFS-NetTLC.safetensors` | 86 MB | 33.4439 | – | +| the authors' code and checkpoint | – | 33.4439 | – | + +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-MSFS-NetTLC.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-MSFS-NetTLC/dbis-MSFS-NetTLC.json b/dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.json new file mode 100644 index 0000000000000000000000000000000000000000..2c04d1e75265a2eaaec4bca5f24591eca4a7d215 --- /dev/null +++ b/dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-MSFS-NetTLC", + "file": "dbis-MSFS-NetTLC.safetensors", + "path": "dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.safetensors", + "bytes": 86445548, + "sha256": "95bc331ddea88735ee97ce77fc28828da449fdc365da842f2bcc464c149ae630", + "store": "float32", + "class": "dbis.msfsnet.MSFSNet", + "args": { + "tlc": true + }, + "source": { + "method": "MSFS-Net", + "paper": "Multi-scale frequency separation network for image deblurring (Li et al.)", + "venue": "IEEE TCSVT 2023", + "code": "https://github.com/LiQiang0307/MSFS-Net", + "commit": "ebc59c79304ef5ede1c9e060a6f6e9607eb08867", + "license": "Apache-2.0 (LICENSE of the repository)", + "group": "model", + "url": "https://drive.google.com/file/d/1OVBZgYU5iiqnBE-nn0H-Obj97EreVERx", + "file": "model.pkl", + "md5": "61b776b11b85f41de42617388114471a", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-MSFS-NetTLC\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.safetensors b/dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f14e32e0a530e4f4ac400e4a4f445e5372035c5c --- /dev/null +++ b/dbis-MSFS-NetTLC/dbis-MSFS-NetTLC.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95bc331ddea88735ee97ce77fc28828da449fdc365da842f2bcc464c149ae630 +size 86445548 diff --git a/dbis-MSFS-NetTLC/licenses/MSFS-Net-LICENSE.txt b/dbis-MSFS-NetTLC/licenses/MSFS-Net-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..06974d20a76bf416d33438e200c8e11958d4002e --- /dev/null +++ b/dbis-MSFS-NetTLC/licenses/MSFS-Net-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 +size 11357