diff --git a/dbis-CATF-BSD1/dbis-CATF-BSD1.json b/dbis-CATF-BSD1/dbis-CATF-BSD1.json new file mode 100644 index 0000000000000000000000000000000000000000..0ee5afb32afbb6c651bcca6a366737a22d36a730 --- /dev/null +++ b/dbis-CATF-BSD1/dbis-CATF-BSD1.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-CATF-BSD1", + "file": "dbis-CATF-BSD1.safetensors", + "path": "dbis-CATF-BSD1/dbis-CATF-BSD1.safetensors", + "bytes": 90186748, + "sha256": "24831315296c01dd2e0dc73c757b323508b2e34c590a11033e4264ab9a0c4a58", + "store": "float32", + "class": "dbis.catf.CATF", + "args": { + "init_until": 3 + }, + "source": { + "method": "CATF", + "paper": "CATF (Zhang et al.)", + "venue": "Sensors 2026", + "code": "https://github.com/ZHANGYW1/CATF", + "commit": "f263aa7fab1b0359ded8202a4c8ee4492ecc0abd", + "license": "none stated by the repository (no LICENSE file); built on VDTR and NAFNet (MIT)", + "url": "https://drive.google.com/file/d/1hQLZz_Xr6n4n8cy7Bfz-F2WXZTL0ooHb", + "file": "BSD1ms.pth", + "md5": "13f30224ad89b3794174816227ed163b", + "group": "model", + "trained_on": "BSD 1ms-8ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-CATF-BSD1\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CATF-BSD1/dbis-CATF-BSD1.safetensors b/dbis-CATF-BSD1/dbis-CATF-BSD1.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..133e378462290f92a070393045094a068b3a56a7 --- /dev/null +++ b/dbis-CATF-BSD1/dbis-CATF-BSD1.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24831315296c01dd2e0dc73c757b323508b2e34c590a11033e4264ab9a0c4a58 +size 90186748 diff --git a/dbis-CATF-BSD3/LICENSE.md b/dbis-CATF-BSD3/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..d9e49f3d1a7c0ec8083a8e779f0decb9a584c339 --- /dev/null +++ b/dbis-CATF-BSD3/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CATF-BSD3.safetensors` | `BSD3ms.pth` of [ZHANGYW1/CATF](https://github.com/ZHANGYW1/CATF) (commit f263aa7) | **No license stated.** none stated by the repository (no LICENSE file); built on VDTR and NAFNet (MIT) (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-CATF-BSD3/README.md b/dbis-CATF-BSD3/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4ae473a887ffadbef0c9141fa022c5cb999c80be --- /dev/null +++ b/dbis-CATF-BSD3/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 +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-CATF-BSD3 + +> **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. + +CATF (CATF (Zhang et al.), Sensors 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD 3ms-24ms) 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/ZHANGYW1/CATF. + +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-CATF-BSD3 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CATF-BSD3/dbis-CATF-BSD3.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CATF-BSD3") # 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-CATF-BSD3.safetensors` | 90 MB | 26.6018 | – | +| the authors' code and checkpoint | – | 26.6018 | – | + +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-CATF-BSD3.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-CATF-BSD3/dbis-CATF-BSD3.json b/dbis-CATF-BSD3/dbis-CATF-BSD3.json new file mode 100644 index 0000000000000000000000000000000000000000..9f80d81d564ac70d20f37ab140672b696e326d47 --- /dev/null +++ b/dbis-CATF-BSD3/dbis-CATF-BSD3.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-CATF-BSD3", + "file": "dbis-CATF-BSD3.safetensors", + "path": "dbis-CATF-BSD3/dbis-CATF-BSD3.safetensors", + "bytes": 90186748, + "sha256": "cda35f99e21c7bf2878848efb6a65f08c8203abab66e7b19e837aac4494f2654", + "store": "float32", + "class": "dbis.catf.CATF", + "args": { + "init_until": 3 + }, + "source": { + "method": "CATF", + "paper": "CATF (Zhang et al.)", + "venue": "Sensors 2026", + "code": "https://github.com/ZHANGYW1/CATF", + "commit": "f263aa7fab1b0359ded8202a4c8ee4492ecc0abd", + "license": "none stated by the repository (no LICENSE file); built on VDTR and NAFNet (MIT)", + "url": "https://drive.google.com/file/d/1HeUsssll6pQGTbtJgYYks1M9sJMPm2sj", + "file": "BSD3ms.pth", + "md5": "ddaff4fa7f71e82ae62ba26febe6d4f4", + "group": "model", + "trained_on": "BSD 3ms-24ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-CATF-BSD3\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CATF-BSD3/dbis-CATF-BSD3.safetensors b/dbis-CATF-BSD3/dbis-CATF-BSD3.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..30f1e3e2940e9f8a52eeae5abde5c049d2860e67 --- /dev/null +++ b/dbis-CATF-BSD3/dbis-CATF-BSD3.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cda35f99e21c7bf2878848efb6a65f08c8203abab66e7b19e837aac4494f2654 +size 90186748 diff --git a/dbis-CATF-DVD/LICENSE.md b/dbis-CATF-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..eda20534cddfd134590fdc7f07e4df425199ff26 --- /dev/null +++ b/dbis-CATF-DVD/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CATF-DVD.safetensors` | `DVD.pth` of [ZHANGYW1/CATF](https://github.com/ZHANGYW1/CATF) (commit f263aa7) | **No license stated.** none stated by the repository (no LICENSE file); built on VDTR and NAFNet (MIT) (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-CATF-DVD/README.md b/dbis-CATF-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..39f430e564d4ba279910c93010f7424ad61e9ef3 --- /dev/null +++ b/dbis-CATF-DVD/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 +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-CATF-DVD + +> **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. + +CATF (CATF (Zhang et al.), Sensors 2026) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ZHANGYW1/CATF. + +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-CATF-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CATF-DVD/dbis-CATF-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CATF-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-CATF-DVD.safetensors` | 90 MB | 31.3929 | – | +| the authors' code and checkpoint | – | 31.3929 | – | + +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-CATF-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: no license stated. See `LICENSE.md`. Cite the method's paper when you use its weights. diff --git a/dbis-CATF-DVD/dbis-CATF-DVD.json b/dbis-CATF-DVD/dbis-CATF-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..2d6cc91bd0063cfc66cebbb80a4e04ac39ad7fe9 --- /dev/null +++ b/dbis-CATF-DVD/dbis-CATF-DVD.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-CATF-DVD", + "file": "dbis-CATF-DVD.safetensors", + "path": "dbis-CATF-DVD/dbis-CATF-DVD.safetensors", + "bytes": 90186740, + "sha256": "e1721b9c57fb1058a92b633217fbb78554e1fac44b61740ed54684e2c16ae5af", + "store": "float32", + "class": "dbis.catf.CATF", + "args": { + "init_until": 2 + }, + "source": { + "method": "CATF", + "paper": "CATF (Zhang et al.)", + "venue": "Sensors 2026", + "code": "https://github.com/ZHANGYW1/CATF", + "commit": "f263aa7fab1b0359ded8202a4c8ee4492ecc0abd", + "license": "none stated by the repository (no LICENSE file); built on VDTR and NAFNet (MIT)", + "url": "https://drive.google.com/file/d/10cRanHwJ-W9q5_EXaw075oXK3zkpEA0r", + "file": "DVD.pth", + "md5": "478ab0c9b40f1da35509a41e8ae4a0ed", + "group": "model", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-CATF-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CATF-DVD/dbis-CATF-DVD.safetensors b/dbis-CATF-DVD/dbis-CATF-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..a556f9ad5ee3090304c52a22c43d1f7e1a572167 --- /dev/null +++ b/dbis-CATF-DVD/dbis-CATF-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1721b9c57fb1058a92b633217fbb78554e1fac44b61740ed54684e2c16ae5af +size 90186740 diff --git a/dbis-CDVD-TSP-DVD/LICENSE.md b/dbis-CDVD-TSP-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..b24b8915a7d6f6c10e2d8e749040c923d2a93d6d --- /dev/null +++ b/dbis-CDVD-TSP-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CDVD-TSP-DVD.safetensors` | `CDVD_TSP_DVD_Paper.pt` of [csbhr/CDVD-TSP](https://github.com/csbhr/CDVD-TSP) (commit b80f609) | MIT, Copyright (c) 2020 Haoran Bai (PWC-Net part from sniklaus/pytorch-pwc) (`licenses/CDVD-TSP-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-CDVD-TSP-DVD/README.md b/dbis-CDVD-TSP-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5641468078faee037ebfc26617f2069154da922c --- /dev/null +++ b/dbis-CDVD-TSP-DVD/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-CDVD-TSP-DVD + +CDVD-TSP (Cascaded Deep Video Deblurring Using Temporal Sharpness Prior, CVPR 2020) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/csbhr/CDVD-TSP. + +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-CDVD-TSP-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CDVD-TSP-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-CDVD-TSP-DVD.safetensors` | 65 MB | 29.7349 | – | +| the authors' code and checkpoint | – | 29.7349 | – | + +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-CDVD-TSP-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.json b/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..92f83bcfe6c3ba07d5d411aa44dd4e967ef54d03 --- /dev/null +++ b/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-CDVD-TSP-DVD", + "file": "dbis-CDVD-TSP-DVD.safetensors", + "path": "dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.safetensors", + "bytes": 64772892, + "sha256": "08f43939a5633c41928acdfeeb7d0c4d914d7b720f924669a0873a1669caf014", + "store": "float32", + "class": "dbis.cdvdtsp.CDVDTSP", + "args": {}, + "source": { + "method": "CDVD-TSP", + "paper": "Cascaded Deep Video Deblurring Using Temporal Sharpness Prior", + "venue": "CVPR 2020", + "code": "https://github.com/csbhr/CDVD-TSP", + "commit": "b80f6098de687e6f36c78422d5ec4a9a61e42f48", + "license": "MIT, Copyright (c) 2020 Haoran Bai (PWC-Net part from sniklaus/pytorch-pwc)", + "url": "https://github.com/csbhr/CDVD-TSP (README: pretrained models, CDVD_TSP_DVD_Paper.pt)", + "file": "CDVD_TSP_DVD_Paper.pt", + "md5": "1256c837fc012a32791b4557bebe4eb9", + "group": null, + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-CDVD-TSP-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.safetensors b/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..321e693b8d6f9e065a29dac314df7c388f0c7b6c --- /dev/null +++ b/dbis-CDVD-TSP-DVD/dbis-CDVD-TSP-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08f43939a5633c41928acdfeeb7d0c4d914d7b720f924669a0873a1669caf014 +size 64772892 diff --git a/dbis-CDVD-TSP-DVD/licenses/CDVD-TSP-LICENSE.txt b/dbis-CDVD-TSP-DVD/licenses/CDVD-TSP-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..2cbee56b94261c1b918b203326e0208a0c18cac8 --- /dev/null +++ b/dbis-CDVD-TSP-DVD/licenses/CDVD-TSP-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:928e63af3e8f541c183e8dbb76f29ce28e1b15691d251b5edca73ca622478faf +size 1067 diff --git a/dbis-CDVD-TSP/LICENSE.md b/dbis-CDVD-TSP/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..5cb4f5ee76c55a2546061827bd8d18c83001f8f4 --- /dev/null +++ b/dbis-CDVD-TSP/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CDVD-TSP.safetensors` | `CDVD_TSP_GOPRO.pt` of [csbhr/CDVD-TSP](https://github.com/csbhr/CDVD-TSP) (commit b80f609) | MIT, Copyright (c) 2020 Haoran Bai (PWC-Net part from sniklaus/pytorch-pwc) (`licenses/CDVD-TSP-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-CDVD-TSP/README.md b/dbis-CDVD-TSP/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a32fdde5d2bde35c4b9a45a0c8aec8a5f026c1be --- /dev/null +++ b/dbis-CDVD-TSP/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-CDVD-TSP + +CDVD-TSP (Cascaded Deep Video Deblurring Using Temporal Sharpness Prior, CVPR 2020) 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/csbhr/CDVD-TSP. + +The same checkpoint in other versions: [dbisf-CDVD-TSP](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-CDVD-TSP). +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-CDVD-TSP blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CDVD-TSP/dbis-CDVD-TSP.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CDVD-TSP") # 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-CDVD-TSP.safetensors` | 65 MB | 31.6083 | – | +| the authors' code and checkpoint | 65 MB | 31.6083 | 127.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-CDVD-TSP.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-CDVD-TSP/dbis-CDVD-TSP.json b/dbis-CDVD-TSP/dbis-CDVD-TSP.json new file mode 100644 index 0000000000000000000000000000000000000000..11c0e61a9eebfd764514259d710772f103eca764 --- /dev/null +++ b/dbis-CDVD-TSP/dbis-CDVD-TSP.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-CDVD-TSP", + "file": "dbis-CDVD-TSP.safetensors", + "path": "dbis-CDVD-TSP/dbis-CDVD-TSP.safetensors", + "bytes": 64772884, + "sha256": "dfd064c35072bc86ecbaa00ea096e7c07794e9180529e34c6ede0440494c3d48", + "store": "float32", + "class": "dbis.cdvdtsp.CDVDTSP", + "args": {}, + "source": { + "method": "CDVD-TSP", + "paper": "Cascaded Deep Video Deblurring Using Temporal Sharpness Prior", + "venue": "CVPR 2020", + "code": "https://github.com/csbhr/CDVD-TSP", + "commit": "b80f6098de687e6f36c78422d5ec4a9a61e42f48", + "license": "MIT, Copyright (c) 2020 Haoran Bai (PWC-Net part from sniklaus/pytorch-pwc)", + "url": "https://github.com/csbhr/CDVD-TSP (README: pretrained models, CDVD_TSP_GOPRO.pt)", + "file": "CDVD_TSP_GOPRO.pt", + "md5": "638d9ed44edc9bf11494dd902e1c84db", + "group": null, + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-CDVD-TSP\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CDVD-TSP/dbis-CDVD-TSP.safetensors b/dbis-CDVD-TSP/dbis-CDVD-TSP.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..8c97fdf8ab3c28fb633bed31b0ccd6c140e75e73 --- /dev/null +++ b/dbis-CDVD-TSP/dbis-CDVD-TSP.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfd064c35072bc86ecbaa00ea096e7c07794e9180529e34c6ede0440494c3d48 +size 64772884 diff --git a/dbis-CDVD-TSP/licenses/CDVD-TSP-LICENSE.txt b/dbis-CDVD-TSP/licenses/CDVD-TSP-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..2cbee56b94261c1b918b203326e0208a0c18cac8 --- /dev/null +++ b/dbis-CDVD-TSP/licenses/CDVD-TSP-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:928e63af3e8f541c183e8dbb76f29ce28e1b15691d251b5edca73ca622478faf +size 1067 diff --git a/dbis-CDVD-TSPNL-BSD1/LICENSE.md b/dbis-CDVD-TSPNL-BSD1/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..a26e7319f31c40ae61b45e0760a81ba0c48bd625 --- /dev/null +++ b/dbis-CDVD-TSPNL-BSD1/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CDVD-TSPNL-BSD1.safetensors` | `BSD.pth` of [xuboming8/CDVD-TSPNL](https://github.com/xuboming8/CDVD-TSPNL) (commit f975d45) | MIT, Copyright (c) 2022 hippopmonkey (`licenses/CDVD-TSPNL-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-CDVD-TSPNL-BSD1/README.md b/dbis-CDVD-TSPNL-BSD1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..af3362024e1be7545a3e24feebfd993e949d5b99 --- /dev/null +++ b/dbis-CDVD-TSPNL-BSD1/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-CDVD-TSPNL-BSD1 + +CDVD-TSPNL (Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity, TPAMI 2023) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD 1ms8ms) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/xuboming8/CDVD-TSPNL. + +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-CDVD-TSPNL-BSD1 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CDVD-TSPNL-BSD1") # 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-CDVD-TSPNL-BSD1.safetensors` | 22 MB | 26.0391 | – | +| the authors' code and checkpoint | 22 MB | 26.0391 | – | + +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-CDVD-TSPNL-BSD1.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-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.json b/dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.json new file mode 100644 index 0000000000000000000000000000000000000000..004f6d09109df9b2c50534180a0ee825a9297e2d --- /dev/null +++ b/dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-CDVD-TSPNL-BSD1", + "file": "dbis-CDVD-TSPNL-BSD1.safetensors", + "path": "dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.safetensors", + "bytes": 22009244, + "sha256": "9c277b669fa77230165ebd8228917a6e1b1ac14635b5346697f1bdbcd445b265", + "store": "float32", + "class": "dbis.cdvdtsp.CDVDTSPNL", + "args": {}, + "source": { + "method": "CDVD-TSPNL", + "paper": "Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity", + "venue": "TPAMI 2023", + "code": "https://github.com/xuboming8/CDVD-TSPNL", + "commit": "f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b", + "license": "MIT, Copyright (c) 2022 hippopmonkey", + "url": "https://github.com/xuboming8/CDVD-TSPNL/tree/f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b/experiments/pretrained_models (in the repository)", + "file": "BSD.pth", + "md5": "611d256f4516c8043af6628210baf846", + "group": "params", + "trained_on": "BSD 1ms8ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-CDVD-TSPNL-BSD1\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.safetensors b/dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..001a54d2788a94b3c98a8215bffdcdc849ed203c --- /dev/null +++ b/dbis-CDVD-TSPNL-BSD1/dbis-CDVD-TSPNL-BSD1.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c277b669fa77230165ebd8228917a6e1b1ac14635b5346697f1bdbcd445b265 +size 22009244 diff --git a/dbis-CDVD-TSPNL-BSD1/licenses/CDVD-TSPNL-LICENSE.txt b/dbis-CDVD-TSPNL-BSD1/licenses/CDVD-TSPNL-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..12fbfd735ce9232dc0e4e161dad3af30e7bdc3bb --- /dev/null +++ b/dbis-CDVD-TSPNL-BSD1/licenses/CDVD-TSPNL-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79028abccf5dac084f25f537ac31a7af991c53210e1a723f91d1ec958fca2770 +size 1069 diff --git a/dbis-CDVD-TSPNL-DVD/LICENSE.md b/dbis-CDVD-TSPNL-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..7a8e0c8f3f9991b082dd3591fe33682d27b726c9 --- /dev/null +++ b/dbis-CDVD-TSPNL-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CDVD-TSPNL-DVD.safetensors` | `DVD.pth` of [xuboming8/CDVD-TSPNL](https://github.com/xuboming8/CDVD-TSPNL) (commit f975d45) | MIT, Copyright (c) 2022 hippopmonkey (`licenses/CDVD-TSPNL-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-CDVD-TSPNL-DVD/README.md b/dbis-CDVD-TSPNL-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..cb788782e8aecc41b078ef2f848216c4048a632f --- /dev/null +++ b/dbis-CDVD-TSPNL-DVD/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-CDVD-TSPNL-DVD + +CDVD-TSPNL (Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity, TPAMI 2023) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/xuboming8/CDVD-TSPNL. + +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-CDVD-TSPNL-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CDVD-TSPNL-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-CDVD-TSPNL-DVD.safetensors` | 22 MB | 30.9662 | – | +| the authors' code and checkpoint | 22 MB | 30.9662 | – | + +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-CDVD-TSPNL-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.json b/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..582840b86ac2ba014da485c92c8c200837a54297 --- /dev/null +++ b/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-CDVD-TSPNL-DVD", + "file": "dbis-CDVD-TSPNL-DVD.safetensors", + "path": "dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.safetensors", + "bytes": 22009244, + "sha256": "a8558e1f85ebadf4334c9e8c2753778a662dd3d5521d601e7204ea46eed27e4b", + "store": "float32", + "class": "dbis.cdvdtsp.CDVDTSPNL", + "args": {}, + "source": { + "method": "CDVD-TSPNL", + "paper": "Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity", + "venue": "TPAMI 2023", + "code": "https://github.com/xuboming8/CDVD-TSPNL", + "commit": "f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b", + "license": "MIT, Copyright (c) 2022 hippopmonkey", + "url": "https://github.com/xuboming8/CDVD-TSPNL/tree/f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b/experiments/pretrained_models (in the repository)", + "file": "DVD.pth", + "md5": "b73de0f866413ec23ae7bc3512ff50fc", + "group": "params", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-CDVD-TSPNL-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.safetensors b/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f115491fe55ac30c6612160f50606a48d82b5a78 --- /dev/null +++ b/dbis-CDVD-TSPNL-DVD/dbis-CDVD-TSPNL-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8558e1f85ebadf4334c9e8c2753778a662dd3d5521d601e7204ea46eed27e4b +size 22009244 diff --git a/dbis-CDVD-TSPNL-DVD/licenses/CDVD-TSPNL-LICENSE.txt b/dbis-CDVD-TSPNL-DVD/licenses/CDVD-TSPNL-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..12fbfd735ce9232dc0e4e161dad3af30e7bdc3bb --- /dev/null +++ b/dbis-CDVD-TSPNL-DVD/licenses/CDVD-TSPNL-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79028abccf5dac084f25f537ac31a7af991c53210e1a723f91d1ec958fca2770 +size 1069 diff --git a/dbis-CDVD-TSPNL/LICENSE.md b/dbis-CDVD-TSPNL/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..62fb9adb9c2ee9e0ae708ab4a3b501bc85c8ebc4 --- /dev/null +++ b/dbis-CDVD-TSPNL/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-CDVD-TSPNL.safetensors` | `GOPRO.pth` of [xuboming8/CDVD-TSPNL](https://github.com/xuboming8/CDVD-TSPNL) (commit f975d45) | MIT, Copyright (c) 2022 hippopmonkey (`licenses/CDVD-TSPNL-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-CDVD-TSPNL/README.md b/dbis-CDVD-TSPNL/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b7b6a43c1ef51f7335a12a1a579f4256738737a1 --- /dev/null +++ b/dbis-CDVD-TSPNL/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-CDVD-TSPNL + +CDVD-TSPNL (Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity, TPAMI 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/xuboming8/CDVD-TSPNL. + +The same checkpoint in other versions: [dbisf-CDVD-TSPNL](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-CDVD-TSPNL). +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-CDVD-TSPNL blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-CDVD-TSPNL") # 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-CDVD-TSPNL.safetensors` | 22 MB | 32.9332 | – | +| the authors' code and checkpoint | 22 MB | 32.9332 | 1.22 s | + +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-CDVD-TSPNL.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-CDVD-TSPNL/dbis-CDVD-TSPNL.json b/dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.json new file mode 100644 index 0000000000000000000000000000000000000000..6895524d8a32ae8eafd85fc1b81e7ee86254ed96 --- /dev/null +++ b/dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-CDVD-TSPNL", + "file": "dbis-CDVD-TSPNL.safetensors", + "path": "dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.safetensors", + "bytes": 22009244, + "sha256": "356bdc4cb6f21e13ad97ed8416bcb818ef28d934e687d25013a08667d4a6e1e6", + "store": "float32", + "class": "dbis.cdvdtsp.CDVDTSPNL", + "args": {}, + "source": { + "method": "CDVD-TSPNL", + "paper": "Cascaded Deep Video Deblurring Using Temporal Sharpness Prior and Non-local Spatial-Temporal Similarity", + "venue": "TPAMI 2023", + "code": "https://github.com/xuboming8/CDVD-TSPNL", + "commit": "f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b", + "license": "MIT, Copyright (c) 2022 hippopmonkey", + "url": "https://github.com/xuboming8/CDVD-TSPNL/tree/f975d45a13f9e24727f0a39b1ce78cff8bf3fa6b/experiments/pretrained_models (in the repository)", + "file": "GOPRO.pth", + "md5": "5ba00719dd9a959d566280199f71cb61", + "group": "params", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-CDVD-TSPNL\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.safetensors b/dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..6a87342b6aabc369abcf6a5a6b708535634c8486 --- /dev/null +++ b/dbis-CDVD-TSPNL/dbis-CDVD-TSPNL.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:356bdc4cb6f21e13ad97ed8416bcb818ef28d934e687d25013a08667d4a6e1e6 +size 22009244 diff --git a/dbis-CDVD-TSPNL/licenses/CDVD-TSPNL-LICENSE.txt b/dbis-CDVD-TSPNL/licenses/CDVD-TSPNL-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..12fbfd735ce9232dc0e4e161dad3af30e7bdc3bb --- /dev/null +++ b/dbis-CDVD-TSPNL/licenses/CDVD-TSPNL-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79028abccf5dac084f25f537ac31a7af991c53210e1a723f91d1ec958fca2770 +size 1069 diff --git a/dbis-ChaIR/LICENSE.md b/dbis-ChaIR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..de54fef3203ea9fc64bd415b612deb25fbab6d5e --- /dev/null +++ b/dbis-ChaIR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-ChaIR.safetensors` | `gopro.pkl` of [c-yn/ChaIR](https://github.com/c-yn/ChaIR) (commit 313d3ce) | MIT, Copyright (c) 2023 Yuning Cui (`licenses/ChaIR-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-ChaIR/README.md b/dbis-ChaIR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9eef3e798aac6ab9a53efcc167b9a3ad72912df3 --- /dev/null +++ b/dbis-ChaIR/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-ChaIR + +ChaIR (Exploring the potential of channel interactions for image restoration, Knowledge-Based Systems 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/c-yn/ChaIR. + +The same checkpoint in other versions: [dbisf-ChaIR](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-ChaIR). +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-ChaIR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-ChaIR/dbis-ChaIR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-ChaIR") # 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-ChaIR.safetensors` | 60 MB | 33.2527 | 54.9 ms | +| the authors' code and checkpoint | 60 MB | 33.2527 | 55.5 ms | + +PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-ChaIR.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-ChaIR/dbis-ChaIR.json b/dbis-ChaIR/dbis-ChaIR.json new file mode 100644 index 0000000000000000000000000000000000000000..45a61c5f339547cac9fa9d749f09fc33156a1e37 --- /dev/null +++ b/dbis-ChaIR/dbis-ChaIR.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-ChaIR", + "file": "dbis-ChaIR.safetensors", + "path": "dbis-ChaIR/dbis-ChaIR.safetensors", + "bytes": 60162884, + "sha256": "b72eeca3007adf348f00780060affe2c543b8075e0aa3c116e65242cf96352ed", + "store": "float32", + "class": "dbis.chair.ChaIR", + "args": { + "num_res": 16 + }, + "source": { + "method": "ChaIR", + "paper": "Exploring the potential of channel interactions for image restoration", + "venue": "Knowledge-Based Systems 2023", + "code": "https://github.com/c-yn/ChaIR", + "commit": "313d3ce78a43a8c2a0ada9079559250f53fef62c", + "license": "MIT, Copyright (c) 2023 Yuning Cui", + "url": "https://drive.google.com/drive/folders/1PEyjMOJ8-MAZOkS1manAF-0cyWABiMJW (gopro.pkl, Motion_Deblurring/README model folder)", + "file": "gopro.pkl", + "md5": "98423af722d7b6de82e05ec3447c47ef", + "group": "model", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-ChaIR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-ChaIR/dbis-ChaIR.safetensors b/dbis-ChaIR/dbis-ChaIR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..2e046f54fa6f5b2d32b38ac668ba599aecb5b93e --- /dev/null +++ b/dbis-ChaIR/dbis-ChaIR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b72eeca3007adf348f00780060affe2c543b8075e0aa3c116e65242cf96352ed +size 60162884 diff --git a/dbis-ChaIR/licenses/ChaIR-LICENSE.txt b/dbis-ChaIR/licenses/ChaIR-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..66d076dde040c77af5aefea748f2fd1d911c40ae --- /dev/null +++ b/dbis-ChaIR/licenses/ChaIR-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6d29809c5d14f43718610db1614a7f728138e656010fa9013be958c66cee353 +size 1067 diff --git a/dbis-Concertormer-lite/LICENSE.md b/dbis-Concertormer-lite/LICENSE.md index 561c1658bea1915509a8a8d124a1fcf245a9bdee..ea5e3adbdccbe4bc45410ddc555d524bc082774b 100644 --- a/dbis-Concertormer-lite/LICENSE.md +++ b/dbis-Concertormer-lite/LICENSE.md @@ -2,6 +2,6 @@ | File | Source checkpoint | Terms | |---|---|---| -| `dbis-Concertormer-lite.safetensors` | `Concertormer_lite.pth` (CSA_models.zip, models/GoPro/) of [setsunil/Concertormer](https://github.com/setsunil/Concertormer) (commit 94269c5) | MIT, Copyright (c) 2022 megvii-model (`licenses/Concertormer-LICENSE.txt`) | +| `dbis-Concertormer-lite.safetensors` | `Concertormer_lite.pth` of [setsunil/Concertormer](https://github.com/setsunil/Concertormer) (commit 94269c5) | MIT (the repository's LICENSE, Copyright (c) 2022 megvii-model) (`licenses/Concertormer-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-Concertormer-lite/README.md b/dbis-Concertormer-lite/README.md index 7e2979e61d849c4db71918bdf5ce8bcad1548060..337f0a3833db42aaeb1aeb31366ba8773fd69e10 100644 --- a/dbis-Concertormer-lite/README.md +++ b/dbis-Concertormer-lite/README.md @@ -11,8 +11,9 @@ tags: # dbis-Concertormer-lite -Concertormer-lite (Efficient Concertormer for Image Deblurring and Beyond, ICCV 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' GoPro checkpoint by `python -m dbis.convert` of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/setsunil/Concertormer. +Concertormer-lite (Efficient Concertormer for Image Deblurring and Beyond, ICCV 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/setsunil/Concertormer. +The same checkpoint in other versions: [dbisf-Concertormer-lite](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-Concertormer-lite), [dbisf-Concertormer-lite-TLC](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-Concertormer-lite-TLC). Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). ## Use @@ -35,10 +36,10 @@ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] |---|---:| | `dbis-Concertormer-lite.safetensors` | 116 MB | -The outputs equal those of the authors' code on the GoPro test frames we compared. +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). `dbis-Concertormer-lite.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. ## Terms -The file keeps the terms of the checkpoint it is made from: see `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-Concertormer/LICENSE.md b/dbis-Concertormer/LICENSE.md index 5ce45b5e9bfc8ae7f8dac8f7c8bd14c34d4dd84a..bad780e312636c89bd453222a07e8d1cbad72606 100644 --- a/dbis-Concertormer/LICENSE.md +++ b/dbis-Concertormer/LICENSE.md @@ -2,6 +2,6 @@ | File | Source checkpoint | Terms | |---|---|---| -| `dbis-Concertormer.safetensors` | `Concertormer.pth` (CSA_models.zip, models/GoPro/) of [setsunil/Concertormer](https://github.com/setsunil/Concertormer) (commit 94269c5) | MIT, Copyright (c) 2022 megvii-model (`licenses/Concertormer-LICENSE.txt`) | +| `dbis-Concertormer.safetensors` | `Concertormer.pth` of [setsunil/Concertormer](https://github.com/setsunil/Concertormer) (commit 94269c5) | MIT (the repository's LICENSE, Copyright (c) 2022 megvii-model) (`licenses/Concertormer-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-Concertormer/README.md b/dbis-Concertormer/README.md index fe8dd9270f8b01c03fcb84b12cbc4aa976f7559e..6da0c192a36b568552c320a6cd43959afc894394 100644 --- a/dbis-Concertormer/README.md +++ b/dbis-Concertormer/README.md @@ -11,8 +11,9 @@ tags: # dbis-Concertormer -Concertormer (Efficient Concertormer for Image Deblurring and Beyond, ICCV 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' GoPro checkpoint by `python -m dbis.convert` of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/setsunil/Concertormer. +Concertormer (Efficient Concertormer for Image Deblurring and Beyond, ICCV 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/setsunil/Concertormer. +The same checkpoint in other versions: [dbisf-Concertormer](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-Concertormer), [dbisf-Concertormer-TLC](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-Concertormer-TLC). Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). ## Use @@ -35,10 +36,10 @@ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] |---|---:| | `dbis-Concertormer.safetensors` | 202 MB | -The outputs equal those of the authors' code on the GoPro test frames we compared. +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). `dbis-Concertormer.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. ## Terms -The file keeps the terms of the checkpoint it is made from: see `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-ConvIR-L-RSBlur/LICENSE.md b/dbis-ConvIR-L-RSBlur/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..7292fe92ce4a26c06e79fa08a84f4182000f709b --- /dev/null +++ b/dbis-ConvIR-L-RSBlur/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-ConvIR-L-RSBlur.safetensors` | `convir_rsblur.pkl` of [c-yn/ConvIR](https://github.com/c-yn/ConvIR) (commit 05dcbff) | MIT, Copyright (c) 2024 Yuning Cui (`licenses/ConvIR-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-ConvIR-L-RSBlur/README.md b/dbis-ConvIR-L-RSBlur/README.md new file mode 100644 index 0000000000000000000000000000000000000000..19805e475b71fa9c565e0cc601a70e2cd783ddf1 --- /dev/null +++ b/dbis-ConvIR-L-RSBlur/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-ConvIR-L-RSBlur + +ConvIR-L (Revitalizing Convolutional Network for Image Restoration, IEEE TPAMI 2024) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on RSBlur) 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/c-yn/ConvIR. + +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-ConvIR-L-RSBlur blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-ConvIR-L-RSBlur") # 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-ConvIR-L-RSBlur.safetensors` | 59 MB | 27.8099 | 45.3 ms | +| the authors' code and checkpoint | – | 27.8099 | 45.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-ConvIR-L-RSBlur.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-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.json b/dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.json new file mode 100644 index 0000000000000000000000000000000000000000..511fa301b7fdcd7c57082854ccf0bfdfe89a602f --- /dev/null +++ b/dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-ConvIR-L-RSBlur", + "file": "dbis-ConvIR-L-RSBlur.safetensors", + "path": "dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.safetensors", + "bytes": 59427716, + "sha256": "716102ec17239a8f886262f6887cf9285dc141152141ccdc41917586e97d522b", + "store": "float32", + "class": "dbis.convir.ConvIR", + "args": { + "num_res": 16 + }, + "source": { + "method": "ConvIR-L", + "paper": "Revitalizing Convolutional Network for Image Restoration", + "venue": "IEEE TPAMI 2024", + "code": "https://github.com/c-yn/ConvIR", + "commit": "05dcbffa2047fab79a7fe238fd52615ca31a33d5", + "license": "MIT, Copyright (c) 2024 Yuning Cui", + "group": "model", + "url": "https://github.com/c-yn/ConvIR (Motion_Deblurring README, Google Drive links of the authors' release)", + "file": "convir_rsblur.pkl", + "md5": "bb37de5a1970c9e08859720878e47715", + "trained_on": "RSBlur" + }, + "load": "import dbis; net = dbis.load(\"dbis-ConvIR-L-RSBlur\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.safetensors b/dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..1ad0b45e3e2a25f9d79014b039e3fdf7f46df77b --- /dev/null +++ b/dbis-ConvIR-L-RSBlur/dbis-ConvIR-L-RSBlur.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:716102ec17239a8f886262f6887cf9285dc141152141ccdc41917586e97d522b +size 59427716 diff --git a/dbis-ConvIR-L-RSBlur/licenses/ConvIR-LICENSE.txt b/dbis-ConvIR-L-RSBlur/licenses/ConvIR-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1205897798f89c03beb314340babe04aa9b3b7d4 --- /dev/null +++ b/dbis-ConvIR-L-RSBlur/licenses/ConvIR-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08cbcad1380e931658b8c79d8388c3dab4faeff2fa8d4d58d15b7dde30b64dd0 +size 1067 diff --git a/dbis-ConvIR-L/LICENSE.md b/dbis-ConvIR-L/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..44aa1b653dc4c9051bffa995ad04ddecb4f484cb --- /dev/null +++ b/dbis-ConvIR-L/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-ConvIR-L.safetensors` | `convir_gopro.pkl` of [c-yn/ConvIR](https://github.com/c-yn/ConvIR) (commit 05dcbff) | MIT, Copyright (c) 2024 Yuning Cui (`licenses/ConvIR-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-ConvIR-L/README.md b/dbis-ConvIR-L/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b13959091891a13d7ba6c5b5205ccf6550a28dfb --- /dev/null +++ b/dbis-ConvIR-L/README.md @@ -0,0 +1,48 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-ConvIR-L + +ConvIR-L (Revitalizing Convolutional Network for Image Restoration, IEEE TPAMI 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/c-yn/ConvIR. + +The same checkpoint in other versions: [dbisf-ConvIR-L](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-ConvIR-L). +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-ConvIR-L blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-ConvIR-L/dbis-ConvIR-L.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-ConvIR-L") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-ConvIR-L.safetensors` | 59 MB | 33.2165 | 45.3 ms | +| the authors' code and checkpoint | 60 MB | 33.2165 | 45.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-ConvIR-L.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-ConvIR-L/dbis-ConvIR-L.json b/dbis-ConvIR-L/dbis-ConvIR-L.json new file mode 100644 index 0000000000000000000000000000000000000000..84401f7dec3e29dbde85b87a4580bf8a77249b15 --- /dev/null +++ b/dbis-ConvIR-L/dbis-ConvIR-L.json @@ -0,0 +1,27 @@ +{ + "model": "dbis-ConvIR-L", + "file": "dbis-ConvIR-L.safetensors", + "path": "dbis-ConvIR-L/dbis-ConvIR-L.safetensors", + "bytes": 59427708, + "sha256": "1b543e1497b7e5a19b860b5194d6395de3d411838f1089f371eee645388834fa", + "store": "float32", + "class": "dbis.convir.ConvIR", + "args": { + "num_res": 16 + }, + "source": { + "method": "ConvIR-L", + "paper": "Revitalizing Convolutional Network for Image Restoration", + "venue": "IEEE TPAMI 2024", + "code": "https://github.com/c-yn/ConvIR", + "commit": "05dcbffa2047fab79a7fe238fd52615ca31a33d5", + "license": "MIT, Copyright (c) 2024 Yuning Cui", + "group": "model", + "url": "https://github.com/c-yn/ConvIR (Motion_Deblurring README, Google Drive links of the authors' release)", + "file": "convir_gopro.pkl", + "md5": "fe9067a1130eb661f3e12c871131784a", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-ConvIR-L\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-ConvIR-L/dbis-ConvIR-L.safetensors b/dbis-ConvIR-L/dbis-ConvIR-L.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d82a3c2c1c1b220ae98bec4acd6016619187ead7 --- /dev/null +++ b/dbis-ConvIR-L/dbis-ConvIR-L.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b543e1497b7e5a19b860b5194d6395de3d411838f1089f371eee645388834fa +size 59427708 diff --git a/dbis-ConvIR-L/licenses/ConvIR-LICENSE.txt b/dbis-ConvIR-L/licenses/ConvIR-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1205897798f89c03beb314340babe04aa9b3b7d4 --- /dev/null +++ b/dbis-ConvIR-L/licenses/ConvIR-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08cbcad1380e931658b8c79d8388c3dab4faeff2fa8d4d58d15b7dde30b64dd0 +size 1067 diff --git a/dbis-DA-CLIP/LICENSE.md b/dbis-DA-CLIP/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..fe38711df94277a0852539a0bda202f2791a2ca1 --- /dev/null +++ b/dbis-DA-CLIP/LICENSE.md @@ -0,0 +1,8 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DA-CLIP.safetensors` | `universal-ir.pth` of [Algolzw/daclip-uir](https://github.com/Algolzw/daclip-uir) (commit c2cc141) | MIT, Copyright (c) 2023 Ziwei Luo (no license file in the repository) | +| the same file | `daclip_ViT-B-32.pt` of [Algolzw/daclip-uir](https://github.com/Algolzw/daclip-uir) (commit c2cc141) | MIT, Copyright (c) 2023 Ziwei Luo (open_clip parts MIT) (no license file in the repository) | + +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-DA-CLIP/README.md b/dbis-DA-CLIP/README.md new file mode 100644 index 0000000000000000000000000000000000000000..59c6cc5a10e5f3e8be5ab6c2b026f3ce76b73a7e --- /dev/null +++ b/dbis-DA-CLIP/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DA-CLIP + +DA-CLIP (IR-SDE ConditionalUNet, universal 10-degradation model) (Controlling Vision-Language Models for Multi-Task Image Restoration, ICLR 2024) 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/Algolzw/daclip-uir. + +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-DA-CLIP blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DA-CLIP/dbis-DA-CLIP.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DA-CLIP") # 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-DA-CLIP.safetensors` | 927 MB | 26.6835 | – | +| the authors' code and checkpoint | 1941 MB | 26.6835 | – | + +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-DA-CLIP.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`. Cite the method's paper when you use its weights. diff --git a/dbis-DA-CLIP/dbis-DA-CLIP.json b/dbis-DA-CLIP/dbis-DA-CLIP.json new file mode 100644 index 0000000000000000000000000000000000000000..ef48112179d052a39c2e78cf0f6039f6a9a3b055 --- /dev/null +++ b/dbis-DA-CLIP/dbis-DA-CLIP.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DA-CLIP", + "file": "dbis-DA-CLIP.safetensors", + "path": "dbis-DA-CLIP/dbis-DA-CLIP.safetensors", + "bytes": 927110556, + "sha256": "89d521c904fea0c3b2f34d601f9b5d32ba7303e58b56b0d2853d60310f43f053", + "store": "float32", + "class": "dbis.daclip.DACLIP", + "args": {}, + "source": { + "method": "DA-CLIP (IR-SDE ConditionalUNet, universal 10-degradation model)", + "paper": "Controlling Vision-Language Models for Multi-Task Image Restoration", + "venue": "ICLR 2024", + "code": "https://github.com/Algolzw/daclip-uir", + "commit": "c2cc14146faac85680b4cb39ece4ef9e2a7c7c24", + "license": "MIT, Copyright (c) 2023 Ziwei Luo", + "url": "https://huggingface.co/weblzw/daclip-uir-ViT-B-32-irsde/resolve/main/universal-ir.pth", + "file": "universal-ir.pth", + "md5": "8d0b442bdbdc3f91fc85f7fa054fbf97", + "group": null, + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DA-CLIP\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DA-CLIP/dbis-DA-CLIP.safetensors b/dbis-DA-CLIP/dbis-DA-CLIP.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..aeacc6fbb28dd9d3ea4088bba577855aa357cb5e --- /dev/null +++ b/dbis-DA-CLIP/dbis-DA-CLIP.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89d521c904fea0c3b2f34d601f9b5d32ba7303e58b56b0d2853d60310f43f053 +size 927110556 diff --git a/dbis-DA-RCOT/LICENSE.md b/dbis-DA-RCOT/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..c9d4d2e9da4028797020c47db4d71a0895997320 --- /dev/null +++ b/dbis-DA-RCOT/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DA-RCOT.safetensors` | `model_allMRCNet128__30_1.0_5D.pth` of [xl-tang3/DA-RCOT](https://github.com/xl-tang3/DA-RCOT) (commit 9a42bf4) | MIT, Copyright (c) 2025 Xiaole Tang (`licenses/DA-RCOT-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-DA-RCOT/README.md b/dbis-DA-RCOT/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1ea7c27ea3a32ac2b283975735939c2848049a61 --- /dev/null +++ b/dbis-DA-RCOT/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DA-RCOT + +DA-RCOT (Degradation-Aware Residual-Conditioned Optimal Transport for Unified Image Restoration, IEEE TPAMI 2025) 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/xl-tang3/DA-RCOT. + +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-DA-RCOT blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DA-RCOT/dbis-DA-RCOT.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DA-RCOT") # 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-DA-RCOT.safetensors` | 209 MB | 29.0759 | – | +| the authors' code and checkpoint | – | 29.0759 | – | + +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-DA-RCOT.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-DA-RCOT/dbis-DA-RCOT.json b/dbis-DA-RCOT/dbis-DA-RCOT.json new file mode 100644 index 0000000000000000000000000000000000000000..967b623b374f102f36d3af715625b2477913f5c8 --- /dev/null +++ b/dbis-DA-RCOT/dbis-DA-RCOT.json @@ -0,0 +1,26 @@ +{ + "model": "dbis-DA-RCOT", + "file": "dbis-DA-RCOT.safetensors", + "path": "dbis-DA-RCOT/dbis-DA-RCOT.safetensors", + "bytes": 209453848, + "sha256": "f4cbdc1d6474b7f552b157dda8dd638c502f312fa7110d6c5ecd6d54a23b2374", + "store": "float32", + "class": "dbis.darcot.DARCOT", + "args": {}, + "source": { + "method": "DA-RCOT", + "paper": "Degradation-Aware Residual-Conditioned Optimal Transport for Unified Image Restoration", + "venue": "IEEE TPAMI 2025", + "code": "https://github.com/xl-tang3/DA-RCOT", + "commit": "9a42bf423b6fa1852d088d0ac866db4d2bd7779e", + "license": "MIT, Copyright (c) 2025 Xiaole Tang", + "url": "https://drive.google.com/drive/folders/1upmN7JeXQjufH2dJhBoHMzUFlSTCrv2m", + "file": "model_allMRCNet128__30_1.0_5D.pth", + "md5": "660c0a7b38ba11053ac7bfc5562ab2f0", + "group": "Tnet", + "note": "the checkpoint pickles the whole model_res.MRCNet under key Tnet (not loadable with weights_only=True); its state_dict is extracted to WORK/DA-RCOT_5D_state_dict.pth (load that with group null)", + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DA-RCOT\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DA-RCOT/dbis-DA-RCOT.safetensors b/dbis-DA-RCOT/dbis-DA-RCOT.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e430c3b44912ec98873ae852830aa136a228733e --- /dev/null +++ b/dbis-DA-RCOT/dbis-DA-RCOT.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4cbdc1d6474b7f552b157dda8dd638c502f312fa7110d6c5ecd6d54a23b2374 +size 209453848 diff --git a/dbis-DA-RCOT/licenses/DA-RCOT-LICENSE.txt b/dbis-DA-RCOT/licenses/DA-RCOT-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1327484d040c6f91552d9dc3e58814126519a420 --- /dev/null +++ b/dbis-DA-RCOT/licenses/DA-RCOT-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:963c8955d72b14534b37760f86bad88015f6b4e98bc061628bbb4229f8e83b75 +size 1068 diff --git a/dbis-DATPRL-IR/LICENSE.md b/dbis-DATPRL-IR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..7ff9dfaf54fcdad37149dbaddddc76b43a6516ff --- /dev/null +++ b/dbis-DATPRL-IR/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DATPRL-IR.safetensors` | `5task_epoch=131-step=2695780.ckpt` of [GuangluDong0728/DATPRL-IR](https://github.com/GuangluDong0728/DATPRL-IR) (commit 5de5764) | MIT, Copyright (c) 2024 Yuning Cui (All_in_One/LICENSE) (no license file in the repository) | + +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-DATPRL-IR/README.md b/dbis-DATPRL-IR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..215d5cb5a1cc0604a4ec7b35e25a63429629b6be --- /dev/null +++ b/dbis-DATPRL-IR/README.md @@ -0,0 +1,47 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- image-restoration +- dbis +--- + +# dbis-DATPRL-IR + +DATPRL-IR (Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration, 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/GuangluDong0728/DATPRL-IR. + +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-DATPRL-IR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DATPRL-IR/dbis-DATPRL-IR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DATPRL-IR") # 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-DATPRL-IR.safetensors` | 170 MB | 29.7124 | – | +| the authors' code and checkpoint | – | 29.7124 | – | + +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-DATPRL-IR.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`. Cite the method's paper when you use its weights. diff --git a/dbis-DATPRL-IR/dbis-DATPRL-IR.json b/dbis-DATPRL-IR/dbis-DATPRL-IR.json new file mode 100644 index 0000000000000000000000000000000000000000..55879c5df77fad4f6db17e71ecb516b9e137259a --- /dev/null +++ b/dbis-DATPRL-IR/dbis-DATPRL-IR.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DATPRL-IR", + "file": "dbis-DATPRL-IR.safetensors", + "path": "dbis-DATPRL-IR/dbis-DATPRL-IR.safetensors", + "bytes": 170341108, + "sha256": "f396f46268aea092f54ddb55ef71a275ee34d8c105b044d285b69f29dd1f8ebc", + "store": "float32", + "class": "dbis.datprlir.DATPRLIR", + "args": {}, + "source": { + "method": "DATPRL-IR", + "paper": "Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration", + "venue": "ICLR 2026", + "code": "https://github.com/GuangluDong0728/DATPRL-IR", + "commit": "5de576443c8f59465bff6545810498752fbee6a9", + "license": "MIT, Copyright (c) 2024 Yuning Cui (All_in_One/LICENSE)", + "url": "https://drive.google.com/uc?id=1ZUjahXyRJAsYdO5DruWx97FuVJjXzrkD (README, Natural-AiOIR-5T)", + "file": "5task_epoch=131-step=2695780.ckpt", + "md5": "d422e05b77d85636a08af247dc1775b3", + "group": "state_dict", + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DATPRL-IR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DATPRL-IR/dbis-DATPRL-IR.safetensors b/dbis-DATPRL-IR/dbis-DATPRL-IR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..24d858b03dbd008d9ecf2e27c0488027c02ed230 --- /dev/null +++ b/dbis-DATPRL-IR/dbis-DATPRL-IR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f396f46268aea092f54ddb55ef71a275ee34d8c105b044d285b69f29dd1f8ebc +size 170341108 diff --git a/dbis-DBGAN/LICENSE.md b/dbis-DBGAN/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..72aaa93c5385c3abc76625f7c45e5b44e7dbf7c4 --- /dev/null +++ b/dbis-DBGAN/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DBGAN.safetensors` | `G.pth` of [HDCVLab/Deblurring-by-Realistic-Blurring](https://github.com/HDCVLab/Deblurring-by-Realistic-Blurring) (commit 8f6944f) | **No license stated.** none stated in the repository (all rights reserved by the authors); generator code derived from ESRGAN/BasicSR (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-DBGAN/README.md b/dbis-DBGAN/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9e56a96ba49e76ac7e9cb6fe9b3787aa2273ba59 --- /dev/null +++ b/dbis-DBGAN/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-DBGAN + +> **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. + +DBGAN (Deblurring by Realistic Blurring, CVPR 2020) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on learned-reblur) 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/HDCVLab/Deblurring-by-Realistic-Blurring. + +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-DBGAN blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DBGAN/dbis-DBGAN.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DBGAN") # 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-DBGAN.safetensors` | 46 MB | 31.1812 | – | +| the authors' code and checkpoint | – | 31.1812 | – | + +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-DBGAN.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-DBGAN/dbis-DBGAN.json b/dbis-DBGAN/dbis-DBGAN.json new file mode 100644 index 0000000000000000000000000000000000000000..bf4cca7dac11b2c776e491ecd405aa65ddebd05c --- /dev/null +++ b/dbis-DBGAN/dbis-DBGAN.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DBGAN", + "file": "dbis-DBGAN.safetensors", + "path": "dbis-DBGAN/dbis-DBGAN.safetensors", + "bytes": 46403444, + "sha256": "77ab7b5f08fc703a81e5fce3c9ae41f6bb5efb9723d4ff957a1a394ac6696cfb", + "store": "float32", + "class": "dbis.dbgan.DBGAN", + "args": {}, + "source": { + "method": "DBGAN", + "paper": "Deblurring by Realistic Blurring", + "venue": "CVPR 2020", + "code": "https://github.com/HDCVLab/Deblurring-by-Realistic-Blurring", + "commit": "8f6944f68093a4d436e9e7f588e84fffdb2ff11a", + "license": "none stated in the repository (all rights reserved by the authors); generator code derived from ESRGAN/BasicSR", + "url": "https://drive.google.com/file/d/1uifaovTlmFExO9d2rOmcr5w7uUSLjHWK/view (makeblur_test_code.zip, md5 bda441ac42ee421b0468dc333e96028d)", + "file": "makeblur_test_code/experiments/G.pth", + "md5": "12765ccddae92ef8098570669dc5f268", + "group": null, + "trained_on": "learned-reblur" + }, + "load": "import dbis; net = dbis.load(\"dbis-DBGAN\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DBGAN/dbis-DBGAN.safetensors b/dbis-DBGAN/dbis-DBGAN.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f45f16a34b86ee3ed58576e969c38d147d343fa6 --- /dev/null +++ b/dbis-DBGAN/dbis-DBGAN.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77ab7b5f08fc703a81e5fce3c9ae41f6bb5efb9723d4ff957a1a394ac6696cfb +size 46403444 diff --git a/dbis-DBN-DVD/LICENSE.md b/dbis-DBN-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..d53beef3db5c083eb615635108d8947ff67f5a07 --- /dev/null +++ b/dbis-DBN-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DBN-DVD.safetensors` | `dbn_ckpt.pth` of [ljzycmd/SimDeblur](https://github.com/ljzycmd/SimDeblur) (commit 0a6da06) | MIT, Copyright (c) 2021 Mingdeng Cao (SimDeblur re-implementation and checkpoint); original code https://github.com/shuochsu/DeepVideoDeblurring c23eeac (`licenses/SimDeblur-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-DBN-DVD/README.md b/dbis-DBN-DVD/README.md new file mode 100644 index 0000000000000000000000000000000000000000..869441e058c1866768377626050f02918b27c68f --- /dev/null +++ b/dbis-DBN-DVD/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-DBN-DVD + +DBN (Deep Video Deblurring for Hand-held Cameras, CVPR 2017) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on DVD) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/ljzycmd/SimDeblur. + +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-DBN-DVD blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DBN-DVD/dbis-DBN-DVD.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DBN-DVD") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | GoPro PSNR, dB | Time per 720p frame | +|---|---:|---:|---:| +| `dbis-DBN-DVD.safetensors` | 61 MB | 28.3191 | – | +| the authors' code and checkpoint | – | 28.3191 | – | + +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-DBN-DVD.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DBN-DVD/dbis-DBN-DVD.json b/dbis-DBN-DVD/dbis-DBN-DVD.json new file mode 100644 index 0000000000000000000000000000000000000000..de575a65b69848b5c06ef9bc015dd8d5e680818e --- /dev/null +++ b/dbis-DBN-DVD/dbis-DBN-DVD.json @@ -0,0 +1,29 @@ +{ + "model": "dbis-DBN-DVD", + "file": "dbis-DBN-DVD.safetensors", + "path": "dbis-DBN-DVD/dbis-DBN-DVD.safetensors", + "bytes": 61273292, + "sha256": "82eb3bdcc9a2684f65bb588075175d47e021621fab4530e08f0509257c5ee802", + "store": "float32", + "class": "dbis.dbn.DBN", + "args": { + "num_frames": 5, + "in_channels": 3, + "inner_channels": 64 + }, + "source": { + "method": "DBN", + "paper": "Deep Video Deblurring for Hand-held Cameras", + "venue": "CVPR 2017", + "code": "https://github.com/ljzycmd/SimDeblur", + "commit": "0a6da06beda9c62aebc0f049360ab80986acfc26", + "license": "MIT, Copyright (c) 2021 Mingdeng Cao (SimDeblur re-implementation and checkpoint); original code https://github.com/shuochsu/DeepVideoDeblurring c23eeac", + "url": "https://drive.google.com/uc?id=1r3c1moyJC88yoSnyWA5zirMB_yvTpMXi", + "file": "dbn_ckpt.pth", + "md5": "f55655e6534d09ddc66e8c740b1cc355", + "group": "model", + "trained_on": "DVD" + }, + "load": "import dbis; net = dbis.load(\"dbis-DBN-DVD\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DBN-DVD/dbis-DBN-DVD.safetensors b/dbis-DBN-DVD/dbis-DBN-DVD.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..0ed77dc9fcdc67671944532f1fa7b863872907b3 --- /dev/null +++ b/dbis-DBN-DVD/dbis-DBN-DVD.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82eb3bdcc9a2684f65bb588075175d47e021621fab4530e08f0509257c5ee802 +size 61273292 diff --git a/dbis-DBN-DVD/licenses/SimDeblur-LICENSE.txt b/dbis-DBN-DVD/licenses/SimDeblur-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..4d56eb8fbb0b41e07e7b606f39aae4902fea825a --- /dev/null +++ b/dbis-DBN-DVD/licenses/SimDeblur-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36e4364c5fea0062a986d162b6a813cc91674381537519cbe4d6a4f479190795 +size 1069 diff --git a/dbis-DCPT-NAFNet/LICENSE.md b/dbis-DCPT-NAFNet/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..44be65554acdc0bad8c2e6221be7c36e4eb5bdfa --- /dev/null +++ b/dbis-DCPT-NAFNet/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DCPT-NAFNet.safetensors` | `dcpt_nafnet_5d.pth` of [MILab-PKU/dcpt](https://github.com/MILab-PKU/dcpt) (commit edd4c7a) | **No license stated.** none stated (the repository has no LICENSE file and its README states no license) (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-DCPT-NAFNet/README.md b/dbis-DCPT-NAFNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c3780d6851df5fc9e97c514c9530b3a2c6466428 --- /dev/null +++ b/dbis-DCPT-NAFNet/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-DCPT-NAFNet + +> **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. + +DCPT (NAFNet backbone) (Universal Image Restoration Pre-training via Degradation Classification, ICLR 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on 5-task all-in-one mix (incl. 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/MILab-PKU/dcpt. + +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-DCPT-NAFNet blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DCPT-NAFNet") # 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-DCPT-NAFNet.safetensors` | 271 MB | 29.2198 | – | +| the authors' code and checkpoint | – | 29.2198 | – | + +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-DCPT-NAFNet.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-DCPT-NAFNet/dbis-DCPT-NAFNet.json b/dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.json new file mode 100644 index 0000000000000000000000000000000000000000..102401903cd71e6752455125e218b3d1559eefd0 --- /dev/null +++ b/dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.json @@ -0,0 +1,28 @@ +{ + "model": "dbis-DCPT-NAFNet", + "file": "dbis-DCPT-NAFNet.safetensors", + "path": "dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.safetensors", + "bytes": 271196588, + "sha256": "20bde2b344a6b521245a0bca7e9a4b388b5a32c0d9f820e592d412fdf0e7e32e", + "store": "float32", + "class": "dbis.nafnet.NAFNet", + "args": { + "tlc": null, + "pad": "replicate" + }, + "source": { + "method": "DCPT (NAFNet backbone)", + "paper": "Universal Image Restoration Pre-training via Degradation Classification", + "venue": "ICLR 2025", + "code": "https://github.com/MILab-PKU/dcpt", + "commit": "edd4c7ac320de52224ef1b8665ecdfb86e3e25dd", + "license": "none stated (the repository has no LICENSE file and its README states no license)", + "url": "https://drive.google.com/drive/folders/17XKKgX3gbEWoma6ZQeRh8Dfazxy1iQpj (dcpt_nafnet_5d.pth)", + "file": "dcpt_nafnet_5d.pth", + "md5": "38492990803eed2fa8929bc802afdcb2", + "group": "params_ema", + "trained_on": "5-task all-in-one mix (incl. GoPro)" + }, + "load": "import dbis; net = dbis.load(\"dbis-DCPT-NAFNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.safetensors b/dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..3f694030e603d41afa8e4b1def9b7a5d29ab8a8b --- /dev/null +++ b/dbis-DCPT-NAFNet/dbis-DCPT-NAFNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bde2b344a6b521245a0bca7e9a4b388b5a32c0d9f820e592d412fdf0e7e32e +size 271196588 diff --git a/dbis-DCPT-PromptIR/LICENSE.md b/dbis-DCPT-PromptIR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..bb59387f05117deb2cf80ca40536ce157d7549f3 --- /dev/null +++ b/dbis-DCPT-PromptIR/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DCPT-PromptIR.safetensors` | `dcpt_promptir_5d.pth` of [MILab-PKU/dcpt](https://github.com/MILab-PKU/dcpt) (commit edd4c7a) | **No license stated.** none stated (the DCPT repository has no LICENSE); PromptIR architecture: MIT, Copyright (c) 2023 Vaishnav Potlapalli (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-DCPT-PromptIR/README.md b/dbis-DCPT-PromptIR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5707de8ae492a016195caa14341dcf4fae2d251e --- /dev/null +++ b/dbis-DCPT-PromptIR/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-DCPT-PromptIR + +> **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. + +PromptIR + DCPT pre-training (Universal Image Restoration Pre-training via Degradation Classification (DCPT); PromptIR: Prompting for All-in-One Blind Image Restoration, ICLR 2025 (DCPT); NeurIPS 2023 (PromptIR)) 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/MILab-PKU/dcpt. + +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-DCPT-PromptIR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DCPT-PromptIR") # 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-DCPT-PromptIR.safetensors` | 142 MB | 28.8436 | – | +| the authors' code and checkpoint | – | 28.8436 | – | + +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-DCPT-PromptIR.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-DCPT-PromptIR/dbis-DCPT-PromptIR.json b/dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.json new file mode 100644 index 0000000000000000000000000000000000000000..7c025803fcd4161d216be958a21f5e7300df74a7 --- /dev/null +++ b/dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DCPT-PromptIR", + "file": "dbis-DCPT-PromptIR.safetensors", + "path": "dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.safetensors", + "bytes": 141564796, + "sha256": "aadaf4f4e1c68c09cab506b7c305805c9558438584c3dddc624e081047f2d4fb", + "store": "float32", + "class": "dbis.promptir.PromptIR", + "args": {}, + "source": { + "method": "PromptIR + DCPT pre-training", + "paper": "Universal Image Restoration Pre-training via Degradation Classification (DCPT); PromptIR: Prompting for All-in-One Blind Image Restoration", + "venue": "ICLR 2025 (DCPT); NeurIPS 2023 (PromptIR)", + "code": "https://github.com/MILab-PKU/dcpt", + "commit": "edd4c7ac320de52224ef1b8665ecdfb86e3e25dd", + "license": "none stated (the DCPT repository has no LICENSE); PromptIR architecture: MIT, Copyright (c) 2023 Vaishnav Potlapalli", + "url": "https://drive.google.com/drive/folders/17XKKgX3gbEWoma6ZQeRh8Dfazxy1iQpj", + "file": "dcpt_promptir_5d.pth", + "md5": "042a5f09be36e94b08dc46812845adcd", + "group": "params_ema", + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DCPT-PromptIR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.safetensors b/dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..28bae0ef757d53ace59516048e7b592577b538c4 --- /dev/null +++ b/dbis-DCPT-PromptIR/dbis-DCPT-PromptIR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aadaf4f4e1c68c09cab506b7c305805c9558438584c3dddc624e081047f2d4fb +size 141564796 diff --git a/dbis-DCPT-Restormer/LICENSE.md b/dbis-DCPT-Restormer/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..1c32eece66442b819d6a72c6dd5486cb9c363412 --- /dev/null +++ b/dbis-DCPT-Restormer/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DCPT-Restormer.safetensors` | `dcpt_restormer_5d.pth` of [MILab-PKU/dcpt](https://github.com/MILab-PKU/dcpt) (commit edd4c7a) | **No license stated.** none stated in the repository (architecture MIT, Restormer) (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-DCPT-Restormer/README.md b/dbis-DCPT-Restormer/README.md new file mode 100644 index 0000000000000000000000000000000000000000..296847cfda04148f101c72727f745ce3a6c08e88 --- /dev/null +++ b/dbis-DCPT-Restormer/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-DCPT-Restormer + +> **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. + +DCPT (Restormer) (Universal Image Restoration Pre-training via Degradation Classification, ICLR 2025) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on mix (all-in-one, 5 degradations)) 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/MILab-PKU/dcpt. + +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-DCPT-Restormer blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DCPT-Restormer/dbis-DCPT-Restormer.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DCPT-Restormer") # 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-DCPT-Restormer.safetensors` | 104 MB | 28.9474 | 154.1 ms | +| the authors' code and checkpoint | – | 28.9474 | 151.3 ms | + +PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DCPT-Restormer.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-DCPT-Restormer/dbis-DCPT-Restormer.json b/dbis-DCPT-Restormer/dbis-DCPT-Restormer.json new file mode 100644 index 0000000000000000000000000000000000000000..225b8b5163f04b6540a0b8a67b3f14682c4f5790 --- /dev/null +++ b/dbis-DCPT-Restormer/dbis-DCPT-Restormer.json @@ -0,0 +1,29 @@ +{ + "model": "dbis-DCPT-Restormer", + "file": "dbis-DCPT-Restormer.safetensors", + "path": "dbis-DCPT-Restormer/dbis-DCPT-Restormer.safetensors", + "bytes": 104489544, + "sha256": "e9b79ad1a78aa9881324179ddc25d51704ca6b9e23fed4680a8cf5d6be3441c5", + "store": "float32", + "class": "dbis.restormer.Restormer", + "args": { + "bias_free": true, + "eps": 1e-06, + "attn": "relu" + }, + "source": { + "method": "DCPT (Restormer)", + "paper": "Universal Image Restoration Pre-training via Degradation Classification", + "venue": "ICLR 2025", + "code": "https://github.com/MILab-PKU/dcpt", + "commit": "edd4c7ac320de52224ef1b8665ecdfb86e3e25dd", + "license": "none stated in the repository (architecture MIT, Restormer)", + "group": "params_ema", + "url": "https://drive.google.com/drive/folders/17XKKgX3gbEWoma6ZQeRh8Dfazxy1iQpj", + "file": "dcpt_restormer_5d.pth", + "md5": "b40a88b47eb4c27ff65d83596503a606", + "trained_on": "mix (all-in-one, 5 degradations)" + }, + "load": "import dbis; net = dbis.load(\"dbis-DCPT-Restormer\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DCPT-Restormer/dbis-DCPT-Restormer.safetensors b/dbis-DCPT-Restormer/dbis-DCPT-Restormer.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e7f02b1f3b9e864468a1c906d88cdd2175f92468 --- /dev/null +++ b/dbis-DCPT-Restormer/dbis-DCPT-Restormer.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9b79ad1a78aa9881324179ddc25d51704ca6b9e23fed4680a8cf5d6be3441c5 +size 104489544 diff --git a/dbis-DCPT-SwinIR/LICENSE.md b/dbis-DCPT-SwinIR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..d5367a9919b6228bfa53b3d3fc20bc98e9abb8ba --- /dev/null +++ b/dbis-DCPT-SwinIR/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DCPT-SwinIR.safetensors` | `dcpt_swinir_5d.pth` of [MILab-PKU/dcpt](https://github.com/MILab-PKU/dcpt) (commit edd4c7a) | **No license stated.** none stated in the DCPT repository (SwinIR itself: Apache-2.0, JingyunLiang/SwinIR) (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-DCPT-SwinIR/README.md b/dbis-DCPT-SwinIR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bbd7ddcdf3e97e23054f01a566a4cfc417b78c22 --- /dev/null +++ b/dbis-DCPT-SwinIR/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-DCPT-SwinIR + +> **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. + +SwinIR (DCPT all-in-one pre-training) (Universal Image Restoration Pre-training via Degradation Classification, ICLR 2025) 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/MILab-PKU/dcpt. + +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-DCPT-SwinIR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DCPT-SwinIR") # 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-DCPT-SwinIR.safetensors` | 46 MB | 26.4191 | – | +| the authors' code and checkpoint | – | 26.4191 | – | + +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-DCPT-SwinIR.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-DCPT-SwinIR/dbis-DCPT-SwinIR.json b/dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.json new file mode 100644 index 0000000000000000000000000000000000000000..9aa77d58b5c6a8b9584d985d7cd1644d2ba4d3f5 --- /dev/null +++ b/dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DCPT-SwinIR", + "file": "dbis-DCPT-SwinIR.safetensors", + "path": "dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.safetensors", + "bytes": 45876980, + "sha256": "92a6ad6dcc8e4d33c622ab1e4ee5aa972829a9b16ea5d6869d1f43d3cb9f1f0e", + "store": "float32", + "class": "dbis.swinir.SwinIR", + "args": {}, + "source": { + "method": "SwinIR (DCPT all-in-one pre-training)", + "paper": "Universal Image Restoration Pre-training via Degradation Classification", + "venue": "ICLR 2025", + "code": "https://github.com/MILab-PKU/dcpt", + "commit": "edd4c7ac320de52224ef1b8665ecdfb86e3e25dd", + "license": "none stated in the DCPT repository (SwinIR itself: Apache-2.0, JingyunLiang/SwinIR)", + "url": "https://drive.google.com/drive/folders/17XKKgX3gbEWoma6ZQeRh8Dfazxy1iQpj", + "file": "dcpt_swinir_5d.pth", + "md5": "958b6214eb03cc55bd5043b2b9b4971d", + "group": "params_ema", + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DCPT-SwinIR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.safetensors b/dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..1191b460407743891465dbc954aa66674181739e --- /dev/null +++ b/dbis-DCPT-SwinIR/dbis-DCPT-SwinIR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92a6ad6dcc8e4d33c622ab1e4ee5aa972829a9b16ea5d6869d1f43d3cb9f1f0e +size 45876980 diff --git a/dbis-DFPIR/LICENSE.md b/dbis-DFPIR/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..919080a633ca37fee2fd3024186dabd37b60df43 --- /dev/null +++ b/dbis-DFPIR/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DFPIR.safetensors` | `DFPIR-5D-pn31.29-0.8889_pr37.62-0.9779_ph31.64-0.9794_pb28.82-0.8734_pl23.82-0.8428_avr30.64-0.9125.pth.tar` of [TxpHome/DFPIR](https://github.com/TxpHome/DFPIR) (commit b9ba223) | **No license stated.** none stated in the repository (all rights reserved by the authors); Restormer parts under Restormer's non-commercial Academic Public License (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-DFPIR/README.md b/dbis-DFPIR/README.md new file mode 100644 index 0000000000000000000000000000000000000000..d17fb18a618122c2468b505b5d06b837e3cc0ba1 --- /dev/null +++ b/dbis-DFPIR/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-DFPIR + +> **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. + +DFPIR (Degradation-Aware Feature Perturbation for All-in-One Image Restoration, CVPR 2025) 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/TxpHome/DFPIR. + +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-DFPIR blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DFPIR/dbis-DFPIR.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DFPIR") # 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-DFPIR.safetensors` | 124 MB | 28.7958 | – | +| the authors' code and checkpoint | – | 28.7958 | – | + +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-DFPIR.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-DFPIR/dbis-DFPIR.json b/dbis-DFPIR/dbis-DFPIR.json new file mode 100644 index 0000000000000000000000000000000000000000..666d6de60e8c5eb81e7eb6bae33b188785966532 --- /dev/null +++ b/dbis-DFPIR/dbis-DFPIR.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DFPIR", + "file": "dbis-DFPIR.safetensors", + "path": "dbis-DFPIR/dbis-DFPIR.safetensors", + "bytes": 124484300, + "sha256": "dcb6501dfa7e632e3116fdbc7ae8249047777b2dfb4174053b21abd1b7caeda5", + "store": "float32", + "class": "dbis.dfpir.DFPIR", + "args": {}, + "source": { + "method": "DFPIR", + "paper": "Degradation-Aware Feature Perturbation for All-in-One Image Restoration", + "venue": "CVPR 2025", + "code": "https://github.com/TxpHome/DFPIR", + "commit": "b9ba223d655d2c174507c83527ba3958dfb90f7d", + "license": "none stated in the repository (all rights reserved by the authors); Restormer parts under Restormer's non-commercial Academic Public License", + "url": "https://drive.google.com/drive/folders/15bOk4xrsK1b3nIu3-OzUj4O_ZssdFN5Y", + "file": "DFPIR-5D-pn31.29-0.8889_pr37.62-0.9779_ph31.64-0.9794_pb28.82-0.8734_pl23.82-0.8428_avr30.64-0.9125.pth.tar", + "md5": "ed56a532899a603533877238c086dae4", + "group": "state_dict", + "trained_on": "mix" + }, + "load": "import dbis; net = dbis.load(\"dbis-DFPIR\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DFPIR/dbis-DFPIR.safetensors b/dbis-DFPIR/dbis-DFPIR.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..cfbe3cd9a40fc581e24897f4d049452235f920e5 --- /dev/null +++ b/dbis-DFPIR/dbis-DFPIR.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcb6501dfa7e632e3116fdbc7ae8249047777b2dfb4174053b21abd1b7caeda5 +size 124484300 diff --git a/dbis-DGUNet-plus/LICENSE.md b/dbis-DGUNet-plus/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..1e75ffd07a1125c0556a4c22e5bada77a53da64b --- /dev/null +++ b/dbis-DGUNet-plus/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DGUNet-plus.safetensors` | `DGUNet_plus.pth` of [MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration](https://github.com/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration) (commit bae845c) | **No license stated.** none stated by the repository (no LICENSE file); 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-DGUNet-plus/README.md b/dbis-DGUNet-plus/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b77677b906dfa5fc3e80812af3ca0363e5f66dbb --- /dev/null +++ b/dbis-DGUNet-plus/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-DGUNet-plus + +> **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. + +DGUNet+ (Deep Generalized Unfolding Networks for Image Restoration, CVPR 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/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration. + +The same checkpoint in other versions: [dbisf-DGUNet-plus](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DGUNet-plus). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DGUNet-plus blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DGUNet-plus/dbis-DGUNet-plus.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DGUNet-plus") # 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-DGUNet-plus.safetensors` | 278 MB | 33.1731 | – | +| the authors' code and checkpoint | 279 MB | 33.1731 | 574.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-DGUNet-plus.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-DGUNet-plus/dbis-DGUNet-plus.json b/dbis-DGUNet-plus/dbis-DGUNet-plus.json new file mode 100644 index 0000000000000000000000000000000000000000..7694d704e30e7b8477cc8edab8fabdf0474adea7 --- /dev/null +++ b/dbis-DGUNet-plus/dbis-DGUNet-plus.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DGUNet-plus", + "file": "dbis-DGUNet-plus.safetensors", + "path": "dbis-DGUNet-plus/dbis-DGUNet-plus.safetensors", + "bytes": 278361712, + "sha256": "fb6f90b6bcc151d5d8a86c4d251970f9e953e8b5f055cc462b08b0efd404aeff", + "store": "float32", + "class": "dbis.dgunet.DGUNetPlus", + "args": {}, + "source": { + "method": "DGUNet+", + "paper": "Deep Generalized Unfolding Networks for Image Restoration", + "venue": "CVPR 2022", + "code": "https://github.com/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration", + "commit": "bae845c2612d0df56a479020d59896441168d07a", + "license": "none stated by the repository (no LICENSE file); all rights reserved by the authors", + "url": "https://drive.google.com/file/d/1bitvtmJAE1iKpFmdGx3OrN6Xti0JRPLc (checkpoints_DGUNet.zip, md5 1a99a15e61245fd8837faa15946da455, member Deblurring/DGUNet_plus.pth)", + "file": "DGUNet_plus.pth", + "md5": "69a95b5cde16cb2c3ff75c5a69a2ccf3", + "group": "state_dict", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DGUNet-plus\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DGUNet-plus/dbis-DGUNet-plus.safetensors b/dbis-DGUNet-plus/dbis-DGUNet-plus.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f914626c8e1999fafa2f3542c0711ef180d60d7c --- /dev/null +++ b/dbis-DGUNet-plus/dbis-DGUNet-plus.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb6f90b6bcc151d5d8a86c4d251970f9e953e8b5f055cc462b08b0efd404aeff +size 278361712 diff --git a/dbis-DGUNet/LICENSE.md b/dbis-DGUNet/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..32578c673a788aa235b303730710343c1a2f655d --- /dev/null +++ b/dbis-DGUNet/LICENSE.md @@ -0,0 +1,9 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DGUNet.safetensors` | `DGUNet.pth` of [MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration](https://github.com/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration) (commit bae845c) | **No license stated.** none stated by the repository (no LICENSE file); 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-DGUNet/README.md b/dbis-DGUNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1705ba653d80e952102485af7ed24bcffd88a002 --- /dev/null +++ b/dbis-DGUNet/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-DGUNet + +> **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. + +DGUNet (Deep Generalized Unfolding Networks for Image Restoration, CVPR 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/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration. + +The same checkpoint in other versions: [dbisf-DGUNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DGUNet). +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-DGUNet blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DGUNet/dbis-DGUNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DGUNet") # 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-DGUNet.safetensors` | 69 MB | 32.7076 | – | +| the authors' code and checkpoint | 69 MB | 32.7076 | 424.5 ms | + +PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)). + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DGUNet.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-DGUNet/dbis-DGUNet.json b/dbis-DGUNet/dbis-DGUNet.json new file mode 100644 index 0000000000000000000000000000000000000000..40822dfc56f9d0ad4bd20514e02a4ba86024d3dc --- /dev/null +++ b/dbis-DGUNet/dbis-DGUNet.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DGUNet", + "file": "dbis-DGUNet.safetensors", + "path": "dbis-DGUNet/dbis-DGUNet.safetensors", + "bytes": 69349296, + "sha256": "e667d3394088bf8edfd83364588776543b882e8f9b112d058204140383aa85ca", + "store": "float32", + "class": "dbis.dgunet.DGUNet", + "args": {}, + "source": { + "method": "DGUNet", + "paper": "Deep Generalized Unfolding Networks for Image Restoration", + "venue": "CVPR 2022", + "code": "https://github.com/MC-E/Deep-Generalized-Unfolding-Networks-for-Image-Restoration", + "commit": "bae845c2612d0df56a479020d59896441168d07a", + "license": "none stated by the repository (no LICENSE file); all rights reserved by the authors", + "url": "https://drive.google.com/file/d/1bitvtmJAE1iKpFmdGx3OrN6Xti0JRPLc (checkpoints_DGUNet.zip, md5 1a99a15e61245fd8837faa15946da455, member Deblurring/DGUNet.pth)", + "file": "DGUNet.pth", + "md5": "baac5ca17ac9d4ecf32571d77a070e52", + "group": "state_dict", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DGUNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DGUNet/dbis-DGUNet.safetensors b/dbis-DGUNet/dbis-DGUNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..653f68436d356474cdd94c2e781f8539c0aed3ac --- /dev/null +++ b/dbis-DGUNet/dbis-DGUNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e667d3394088bf8edfd83364588776543b882e8f9b112d058204140383aa85ca +size 69349296 diff --git a/dbis-DMPHN-1-2-4/LICENSE.md b/dbis-DMPHN-1-2-4/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..df45e0359e1278ab8a2ec4a86ba7d5c28bca85f7 --- /dev/null +++ b/dbis-DMPHN-1-2-4/LICENSE.md @@ -0,0 +1,14 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DMPHN-1-2-4.safetensors` | `encoder_lv1.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) (commit 9fff261) | **No license stated.** none stated (no LICENSE file in the repository; all rights reserved by the authors) (no license file in the repository) | +| the same file | `encoder_lv2.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) | **No license stated.** none stated (no LICENSE file in the repository; all rights reserved by the authors) (no license file in the repository) | +| the same file | `encoder_lv3.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) | **No license stated.** none stated (no LICENSE file in the repository; all rights reserved by the authors) (no license file in the repository) | +| the same file | `decoder_lv1.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) | **No license stated.** none stated (no LICENSE file in the repository; all rights reserved by the authors) (no license file in the repository) | +| the same file | `decoder_lv2.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) | **No license stated.** none stated (no LICENSE file in the repository; all rights reserved by the authors) (no license file in the repository) | +| the same file | `decoder_lv3.pkl` of [HongguangZhang/DMPHN-cvpr19-master](https://github.com/HongguangZhang/DMPHN-cvpr19-master) | **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-DMPHN-1-2-4/README.md b/dbis-DMPHN-1-2-4/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c27b7e261fd2c69b4d3fcb6cea96c4cac021de4c --- /dev/null +++ b/dbis-DMPHN-1-2-4/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-DMPHN-1-2-4 + +> **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. + +DMPHN (Deep Stacked Hierarchical Multi-Patch Network for Image Deblurring, CVPR 2019) 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/HongguangZhang/DMPHN-cvpr19-master. + +The same checkpoint in other versions: [dbisf-DMPHN-1-2-4](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DMPHN-1-2-4). +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-DMPHN-1-2-4 blurry.png sharp.png # an image, a folder of frames or a video +hf download Illaitar/dbis dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DMPHN-1-2-4") # 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-DMPHN-1-2-4.safetensors` | 22 MB | 30.2058 | 16.9 ms | +| the authors' code and checkpoint | 22 MB | 30.2058 | 16.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-DMPHN-1-2-4.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-DMPHN-1-2-4/dbis-DMPHN-1-2-4.json b/dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.json new file mode 100644 index 0000000000000000000000000000000000000000..cfb11ccc08b75eb0a0deb8f8e7cfd1ae006202e7 --- /dev/null +++ b/dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.json @@ -0,0 +1,52 @@ +{ + "model": "dbis-DMPHN-1-2-4", + "file": "dbis-DMPHN-1-2-4.safetensors", + "path": "dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.safetensors", + "bytes": 21715228, + "sha256": "58fdf75447d92dc9862695d2b09a2fb35721d344321ecf41d2b2b42544d6e116", + "store": "float32", + "class": "dbis.dmphn.DMPHN", + "args": {}, + "source": { + "method": "DMPHN", + "paper": "Deep Stacked Hierarchical Multi-Patch Network for Image Deblurring", + "venue": "CVPR 2019", + "code": "https://github.com/HongguangZhang/DMPHN-cvpr19-master", + "commit": "9fff261daca8beb0cbaaa0b64df4239b5a05dd17", + "license": "none stated (no LICENSE file in the repository; all rights reserved by the authors)", + "url": "https://github.com/HongguangZhang/DMPHN-cvpr19-master/tree/master/checkpoints/DMPHN_1_2_4", + "file": "encoder_lv1.pkl", + "md5": "52d6c2ff24bb0a4697eeace927688ed4", + "group": null, + "extra": [ + { + "file": "encoder_lv2.pkl", + "md5": "64a2d9803bff4018af8bd4ca4f6828d0", + "group": null + }, + { + "file": "encoder_lv3.pkl", + "md5": "cbe9dc0c5723a74a0e417e41d245bb2b", + "group": null + }, + { + "file": "decoder_lv1.pkl", + "md5": "ad14269f80e6e372263b3114af7cb56e", + "group": null + }, + { + "file": "decoder_lv2.pkl", + "md5": "2c2e4b170853e9572c2e2b7008fb6743", + "group": null + }, + { + "file": "decoder_lv3.pkl", + "md5": "74cba17f55e6c19bfb8d68a867993ae9", + "group": null + } + ], + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DMPHN-1-2-4\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.safetensors b/dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..631198fc2f46e99e097bb634d1231729d29e3a70 --- /dev/null +++ b/dbis-DMPHN-1-2-4/dbis-DMPHN-1-2-4.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58fdf75447d92dc9862695d2b09a2fb35721d344321ecf41d2b2b42544d6e116 +size 21715228 diff --git a/dbis-DSTNet-BSD1/LICENSE.md b/dbis-DSTNet-BSD1/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..3faec7395ce4ede0ed5c9fe1180a4ccfe5ca4db9 --- /dev/null +++ b/dbis-DSTNet-BSD1/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNet-BSD1.safetensors` | `BSD.pth` of [xuboming8/DSTNet](https://github.com/xuboming8/DSTNet) (commit d42c1e3) | MIT, Copyright (c) 2023 hippopmonkey (`licenses/DSTNet-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-DSTNet-BSD1/README.md b/dbis-DSTNet-BSD1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bbf7a4debd7f1c44d373e3936458bad2057c3f5c --- /dev/null +++ b/dbis-DSTNet-BSD1/README.md @@ -0,0 +1,45 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNet-BSD1 + +DSTNet (Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring, CVPR 2023) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on BSD 1ms8ms) by the conversion of [deblurring is solved?](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/xuboming8/DSTNet. + +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNet-BSD1 blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNet-BSD1") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNet-BSD1.safetensors` | 30 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNet-BSD1.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.json b/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.json new file mode 100644 index 0000000000000000000000000000000000000000..fbe3437c77c54bd8e1cf17095390192215c29be1 --- /dev/null +++ b/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DSTNet-BSD1", + "file": "dbis-DSTNet-BSD1.safetensors", + "path": "dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.safetensors", + "bytes": 29836044, + "sha256": "7091f50e61f6ecd6cdc717bfd85ad768615287c8d90e034af1ea3fc6ab74ff44", + "store": "float32", + "class": "dbis.dstnet.DSTNet", + "args": {}, + "source": { + "method": "DSTNet", + "paper": "Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring", + "venue": "CVPR 2023", + "code": "https://github.com/xuboming8/DSTNet", + "commit": "d42c1e377619750d228e769e987479562f7000a9", + "license": "MIT, Copyright (c) 2023 hippopmonkey", + "group": "params", + "url": "https://github.com/xuboming8/DSTNet (experiments/ folder of the repository, README 'Pretrained models') BSD.pth", + "file": "BSD.pth", + "md5": "f329b86010e7f44648dbb3f0c1dfd602", + "trained_on": "BSD 1ms8ms" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNet-BSD1\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.safetensors b/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..3307e176721816f85fc809cf9b8bb556d24e72da --- /dev/null +++ b/dbis-DSTNet-BSD1/dbis-DSTNet-BSD1.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7091f50e61f6ecd6cdc717bfd85ad768615287c8d90e034af1ea3fc6ab74ff44 +size 29836044 diff --git a/dbis-DSTNet-BSD1/licenses/DSTNet-LICENSE.txt b/dbis-DSTNet-BSD1/licenses/DSTNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..c6f315bf350dc36abaf47928e4f288c07949b7c4 --- /dev/null +++ b/dbis-DSTNet-BSD1/licenses/DSTNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b1597cdb87c4ea095b94a569fcf1152a57817dee292deba9e32ee9e61f8d5c3 +size 1069 diff --git a/dbis-DSTNet-DVD/LICENSE.md b/dbis-DSTNet-DVD/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..889a0a9f8a1b51dbe7133bca148d5d53c5f22bad --- /dev/null +++ b/dbis-DSTNet-DVD/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNet-DVD.safetensors` | `DVD.pth` of [xuboming8/DSTNet](https://github.com/xuboming8/DSTNet) (commit d42c1e3) | MIT, Copyright (c) 2023 hippopmonkey (`licenses/DSTNet-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-DSTNet/LICENSE.md b/dbis-DSTNet/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..667cf3f471dd25498af3ec1c0870732e028aa73a --- /dev/null +++ b/dbis-DSTNet/LICENSE.md @@ -0,0 +1,7 @@ +# Terms of the weight file + +| File | Source checkpoint | Terms | +|---|---|---| +| `dbis-DSTNet.safetensors` | `GOPRO.pth` of [xuboming8/DSTNet](https://github.com/xuboming8/DSTNet) (commit d42c1e3) | MIT, Copyright (c) 2023 hippopmonkey (`licenses/DSTNet-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-DSTNet/README.md b/dbis-DSTNet/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7cd7554f15377ccbcfbf7e1fe19a0b8c8831f772 --- /dev/null +++ b/dbis-DSTNet/README.md @@ -0,0 +1,46 @@ +--- +license: mit +library_name: pytorch +pipeline_tag: image-to-image +tags: +- deblurring +- motion-deblurring +- video-deblurring +- image-restoration +- dbis +--- + +# dbis-DSTNet + +DSTNet (Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring, CVPR 2023) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on 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/xuboming8/DSTNet. + +The same checkpoint in other versions: [dbisf-DSTNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DSTNet). +Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). + +## Use + +```bash +pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" +python -m dbis.run dbis-DSTNet blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file +hf download Illaitar/dbis dbis-DSTNet/dbis-DSTNet.safetensors # this file alone, without the package +``` + +```python +import dbis +net = dbis.load("dbis-DSTNet") # fetches only this folder's file on first use and checks its sha256 +out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W] +``` + +## File + +| File | Size | +|---|---:| +| `dbis-DSTNet.safetensors` | 30 MB | + +The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). + +`dbis-DSTNet.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.safetensors`, float32. + +## Terms + +The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. diff --git a/dbis-DSTNet/dbis-DSTNet.json b/dbis-DSTNet/dbis-DSTNet.json new file mode 100644 index 0000000000000000000000000000000000000000..b7e056fad82b2a9038415ca22da85d14155acb83 --- /dev/null +++ b/dbis-DSTNet/dbis-DSTNet.json @@ -0,0 +1,25 @@ +{ + "model": "dbis-DSTNet", + "file": "dbis-DSTNet.safetensors", + "path": "dbis-DSTNet/dbis-DSTNet.safetensors", + "bytes": 29836044, + "sha256": "cd89a82a6e989f035496732bc4fec82f4330f1a2070c7a6f01c2f3c934fabe06", + "store": "float32", + "class": "dbis.dstnet.DSTNet", + "args": {}, + "source": { + "method": "DSTNet", + "paper": "Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring", + "venue": "CVPR 2023", + "code": "https://github.com/xuboming8/DSTNet", + "commit": "d42c1e377619750d228e769e987479562f7000a9", + "license": "MIT, Copyright (c) 2023 hippopmonkey", + "group": "params", + "url": "https://github.com/xuboming8/DSTNet (experiments/ folder of the repository, README 'Pretrained models') GOPRO.pth", + "file": "GOPRO.pth", + "md5": "585fabf2896bbf9c0554abcf539b84e3", + "trained_on": "GoPro" + }, + "load": "import dbis; net = dbis.load(\"dbis-DSTNet\")", + "code": "https://github.com/illaitar/deblurring-is-solved" +} \ No newline at end of file diff --git a/dbis-DSTNet/dbis-DSTNet.safetensors b/dbis-DSTNet/dbis-DSTNet.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..fc14383a500a1a833f1aabdd9d9b54cc89327a30 --- /dev/null +++ b/dbis-DSTNet/dbis-DSTNet.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd89a82a6e989f035496732bc4fec82f4330f1a2070c7a6f01c2f3c934fabe06 +size 29836044 diff --git a/dbis-DSTNet/licenses/DSTNet-LICENSE.txt b/dbis-DSTNet/licenses/DSTNet-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..c6f315bf350dc36abaf47928e4f288c07949b7c4 --- /dev/null +++ b/dbis-DSTNet/licenses/DSTNet-LICENSE.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b1597cdb87c4ea095b94a569fcf1152a57817dee292deba9e32ee9e61f8d5c3 +size 1069