Illaitar commited on
Commit
f278623
·
verified ·
1 Parent(s): 763cc57

one folder per model: weight file, cards and terms (13/15)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. dbisf-FFTformer/README.md +46 -0
  2. dbisf-FFTformer/dbisf-FFTformer.json +27 -0
  3. dbisf-FFTformer/dbisf-FFTformer.wpk +3 -0
  4. dbisf-FFTformer/licenses/FFTformer-LICENSE.txt +3 -0
  5. dbisf-FGST/LICENSE.md +7 -0
  6. dbisf-FGST/README.md +47 -0
  7. dbisf-FGST/dbisf-FGST.json +34 -0
  8. dbisf-FGST/dbisf-FGST.wpk +3 -0
  9. dbisf-FGST/licenses/VR-Baseline-LICENSE.txt +3 -0
  10. dbisf-GRL-B/LICENSE.md +7 -0
  11. dbisf-GRL-B/README.md +46 -0
  12. dbisf-GRL-B/dbisf-GRL-B.json +27 -0
  13. dbisf-GRL-B/dbisf-GRL-B.wpk +3 -0
  14. dbisf-GRL-B/licenses/GRL-Image-Restoration-LICENSE.txt +3 -0
  15. dbisf-GRL-Btiled/LICENSE.md +7 -0
  16. dbisf-GRL-Btiled/README.md +46 -0
  17. dbisf-GRL-Btiled/dbisf-GRL-B.json +30 -0
  18. dbisf-GRL-Btiled/dbisf-GRL-B.wpk +3 -0
  19. dbisf-GRL-Btiled/licenses/GRL-Image-Restoration-LICENSE.txt +3 -0
  20. dbisf-Ghost-DeblurGAN/LICENSE.md +7 -0
  21. dbisf-Ghost-DeblurGAN/README.md +46 -0
  22. dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.json +27 -0
  23. dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.wpk +3 -0
  24. dbisf-Ghost-DeblurGAN/licenses/Ghost-DeblurGAN-LICENSE.txt +3 -0
  25. dbisf-HI-Diff/LICENSE.md +9 -0
  26. dbisf-HI-Diff/README.md +46 -0
  27. dbisf-HI-Diff/dbisf-HI-Diff.json +43 -0
  28. dbisf-HI-Diff/dbisf-HI-Diff.wpk +3 -0
  29. dbisf-HI-Diff/licenses/HI-Diff-LICENSE.txt +3 -0
  30. dbisf-HINet/LICENSE.md +7 -0
  31. dbisf-HINet/README.md +46 -0
  32. dbisf-HINet/dbisf-HINet.json +27 -0
  33. dbisf-HINet/dbisf-HINet.wpk +3 -0
  34. dbisf-HINet/licenses/HINet-LICENSE.txt +3 -0
  35. dbisf-IDBlau-FFTformer/LICENSE.md +9 -0
  36. dbisf-IDBlau-FFTformer/README.md +50 -0
  37. dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.json +28 -0
  38. dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.wpk +3 -0
  39. dbisf-IDBlau-MIMO-UNetPlus/LICENSE.md +9 -0
  40. dbisf-IDBlau-MIMO-UNetPlus/README.md +50 -0
  41. dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.json +29 -0
  42. dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.wpk +3 -0
  43. dbisf-IDBlau-Restormer/LICENSE.md +9 -0
  44. dbisf-IDBlau-Restormer/README.md +50 -0
  45. dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.json +28 -0
  46. dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.wpk +3 -0
  47. dbisf-IR-SDE/LICENSE.md +7 -0
  48. dbisf-IR-SDE/README.md +46 -0
  49. dbisf-IR-SDE/dbisf-IR-SDE.json +38 -0
  50. dbisf-IR-SDE/dbisf-IR-SDE.wpk +3 -0
dbisf-FFTformer/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-FFTformer
13
+
14
+ FFTformer (Efficient Frequency Domain-based Transformers for High-Quality Image Deblurring, CVPR 2023) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/kkkls/FFTformer.
15
+
16
+ The same checkpoint in other versions: [dbis-FFTformer](https://huggingface.co/Illaitar/dbis/tree/main/dbis-FFTformer).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-FFTformer blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-FFTformer/dbisf-FFTformer.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-FFTformer") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-FFTformer.wpk` | 28 MB | 34.1554 | 194.3 ms |
38
+ | the authors' code and checkpoint | 66 MB | 34.1559 | 732.0 ms |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-FFTformer.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-FFTformer/dbisf-FFTformer.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-FFTformer",
3
+ "file": "dbisf-FFTformer.wpk",
4
+ "path": "dbisf-FFTformer/dbisf-FFTformer.wpk",
5
+ "bytes": 27746471,
6
+ "sha256": "79198d0b6418795f39fa0ec64e4ec6c9742663822c9dfbb0b84c92d1db92ff71",
7
+ "store": "f16",
8
+ "class": "dbis.fftformer.FFTformer",
9
+ "args": {
10
+ "fast": true
11
+ },
12
+ "source": {
13
+ "method": "FFTformer",
14
+ "paper": "Efficient Frequency Domain-based Transformers for High-Quality Image Deblurring",
15
+ "venue": "CVPR 2023",
16
+ "code": "https://github.com/kkkls/FFTformer",
17
+ "commit": "01306b5d4072146a011c8c6e9d4927cf4607f1d5",
18
+ "license": "MIT, Copyright (c) 2023 kkkls",
19
+ "url": "https://github.com/kkkls/FFTformer/tree/main/pretrain_model (in the repo)",
20
+ "file": "fftformer_GoPro.pth",
21
+ "md5": "b676ab0188cd1c953b26f836cd965842",
22
+ "group": null,
23
+ "trained_on": "GoPro"
24
+ },
25
+ "load": "import dbis; net = dbis.load(\"dbisf-FFTformer\")",
26
+ "code": "https://github.com/illaitar/deblurring-is-solved"
27
+ }
dbisf-FFTformer/dbisf-FFTformer.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79198d0b6418795f39fa0ec64e4ec6c9742663822c9dfbb0b84c92d1db92ff71
3
+ size 27746471
dbisf-FFTformer/licenses/FFTformer-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebbb97354efc45d568b5bd7100a3e70447256b7bbbe0c6d340cd382103751e30
3
+ size 1062
dbisf-FGST/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-FGST.wpk` | `FGST_gopro.pth` of [linjing7/VR-Baseline](https://github.com/linjing7/VR-Baseline) (commit df795c3) | Apache-2.0, Copyright (c) MMEditing Authors (`licenses/VR-Baseline-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-FGST/README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - video-deblurring
9
+ - image-restoration
10
+ - dbis
11
+ ---
12
+
13
+ # dbisf-FGST
14
+
15
+ FGST (Flow-Guided Sparse Transformer for Video Deblurring, ICML 2022) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/linjing7/VR-Baseline.
16
+
17
+ The same checkpoint in other versions: [dbis-FGST](https://huggingface.co/Illaitar/dbis/tree/main/dbis-FGST).
18
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
19
+
20
+ ## Use
21
+
22
+ ```bash
23
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
24
+ python -m dbis.run dbisf-FGST blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
25
+ hf download Illaitar/dbis dbisf-FGST/dbisf-FGST.wpk # this file alone, without the package
26
+ ```
27
+
28
+ ```python
29
+ import dbis
30
+ net = dbis.load("dbisf-FGST") # fetches only this folder's file on first use and checks its sha256
31
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
32
+ ```
33
+
34
+ ## File
35
+
36
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
37
+ |---|---:|---:|---:|
38
+ | `dbisf-FGST.wpk` | 17 MB | 33.0337 | 216.2 ms |
39
+ | the authors' code and checkpoint | 117 MB | 33.0336 | 2.06 s |
40
+
41
+ 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)).
42
+
43
+ `dbisf-FGST.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
44
+
45
+ ## Terms
46
+
47
+ The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-FGST/dbisf-FGST.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-FGST",
3
+ "file": "dbisf-FGST.wpk",
4
+ "path": "dbisf-FGST/dbisf-FGST.wpk",
5
+ "bytes": 16554878,
6
+ "sha256": "553def0fd286ef37743f9d9e2a324412f0a4e0a275b064c327969cf27872f814",
7
+ "store": "f16",
8
+ "class": "dbis.fgst.FGST",
9
+ "args": {
10
+ "fast": true,
11
+ "precision": "fp16",
12
+ "flow_precision": "fp16",
13
+ "guard": true,
14
+ "stream_plan": [
15
+ 6,
16
+ 6
17
+ ]
18
+ },
19
+ "source": {
20
+ "method": "FGST",
21
+ "paper": "Flow-Guided Sparse Transformer for Video Deblurring",
22
+ "venue": "ICML 2022",
23
+ "code": "https://github.com/linjing7/VR-Baseline",
24
+ "commit": "df795c3611ebfc99079c0ba43ad4524daa7fa8c8",
25
+ "license": "Apache-2.0, Copyright (c) MMEditing Authors",
26
+ "url": "https://drive.google.com/file/d/1hG-sYmCAWYxRTpUFz3enxvJrP9V0PCgk/view (README of VR-Baseline, FGST GoPro model)",
27
+ "file": "FGST_gopro.pth",
28
+ "md5": "a9de9d85dc29202b9f745f6741b35331",
29
+ "group": "state_dict",
30
+ "trained_on": "GoPro"
31
+ },
32
+ "load": "import dbis; net = dbis.load(\"dbisf-FGST\")",
33
+ "code": "https://github.com/illaitar/deblurring-is-solved"
34
+ }
dbisf-FGST/dbisf-FGST.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:553def0fd286ef37743f9d9e2a324412f0a4e0a275b064c327969cf27872f814
3
+ size 16554878
dbisf-FGST/licenses/VR-Baseline-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2421dad0343e349994a824a26474ed9b616556d353248fa5cf1b371760742cbd
3
+ size 11424
dbisf-GRL-B/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-GRL-B.wpk` | `db_motion_grl_base_gopro.ckpt` of [ofsoundof/GRL-Image-Restoration](https://github.com/ofsoundof/GRL-Image-Restoration) (commit 3123fca) | MIT, Copyright (c) 2023 Yawei Li (`licenses/GRL-Image-Restoration-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-GRL-B/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-GRL-B
13
+
14
+ GRL (Efficient and Explicit Modelling of Image Hierarchies for Image Restoration, CVPR 2023) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/ofsoundof/GRL-Image-Restoration.
15
+
16
+ The same checkpoint in other versions: [dbis-GRL-B](https://huggingface.co/Illaitar/dbis/tree/main/dbis-GRL-B), [dbis-GRL-Btiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-GRL-Btiled), [dbisf-GRL-Btiled](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-GRL-Btiled).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-GRL-B blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-GRL-B/dbisf-GRL-B.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-GRL-B") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-GRL-B.wpk` | 24 MB | 33.6576 | 1.30 s |
38
+ | the authors' code and checkpoint | 80 MB | 33.6588 | 4.14 s |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-GRL-B.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-GRL-B/dbisf-GRL-B.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-GRL-B",
3
+ "file": "dbisf-GRL-B.wpk",
4
+ "path": "dbisf-GRL-B/dbisf-GRL-B.wpk",
5
+ "bytes": 23804858,
6
+ "sha256": "ebe47482f9c7c4eb88bf3e54792e9b34f3ed167c75de808dbfd03f4c4920f3e6",
7
+ "store": "qc128",
8
+ "class": "dbis.grl.GRL",
9
+ "args": {
10
+ "fast": true
11
+ },
12
+ "source": {
13
+ "method": "GRL",
14
+ "paper": "Efficient and Explicit Modelling of Image Hierarchies for Image Restoration",
15
+ "venue": "CVPR 2023",
16
+ "code": "https://github.com/ofsoundof/GRL-Image-Restoration",
17
+ "commit": "3123fcadfee2107d813c5e8fff58227f14c989bc",
18
+ "license": "MIT, Copyright (c) 2023 Yawei Li",
19
+ "group": "state_dict",
20
+ "url": "https://github.com/ofsoundof/GRL-Image-Restoration/releases/download/v1.0.0/db_motion_grl_base_gopro.ckpt",
21
+ "file": "db_motion_grl_base_gopro.ckpt",
22
+ "md5": "4004aada5aa1e1ee88f544cc171fa43b",
23
+ "trained_on": "GoPro"
24
+ },
25
+ "load": "import dbis; net = dbis.load(\"dbisf-GRL-B\")",
26
+ "code": "https://github.com/illaitar/deblurring-is-solved"
27
+ }
dbisf-GRL-B/dbisf-GRL-B.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebe47482f9c7c4eb88bf3e54792e9b34f3ed167c75de808dbfd03f4c4920f3e6
3
+ size 23804858
dbisf-GRL-B/licenses/GRL-Image-Restoration-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693a4ac2d13dc8df502de9abae8a03084cf6f347dbdef8ffa8a36207c3c37ed5
3
+ size 1065
dbisf-GRL-Btiled/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-GRL-B.wpk` | `db_motion_grl_base_gopro.ckpt` of [ofsoundof/GRL-Image-Restoration](https://github.com/ofsoundof/GRL-Image-Restoration) (commit 3123fca) | MIT, Copyright (c) 2023 Yawei Li (`licenses/GRL-Image-Restoration-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-GRL-Btiled/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-GRL-Btiled
13
+
14
+ GRL (Efficient and Explicit Modelling of Image Hierarchies for Image Restoration, CVPR 2023) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/ofsoundof/GRL-Image-Restoration.
15
+
16
+ The same checkpoint in other versions: [dbis-GRL-B](https://huggingface.co/Illaitar/dbis/tree/main/dbis-GRL-B), [dbis-GRL-Btiled](https://huggingface.co/Illaitar/dbis/tree/main/dbis-GRL-Btiled), [dbisf-GRL-B](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-GRL-B).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-GRL-Btiled blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-GRL-Btiled/dbisf-GRL-B.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-GRL-Btiled") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-GRL-B.wpk` | 24 MB | 33.9250 | 1.83 s |
38
+ | the authors' code and checkpoint | 80 MB | 33.9263 | 10.97 s |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-GRL-B.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-GRL-Btiled/dbisf-GRL-B.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-GRL-Btiled",
3
+ "file": "dbisf-GRL-B.wpk",
4
+ "path": "dbisf-GRL-Btiled/dbisf-GRL-B.wpk",
5
+ "bytes": 23804858,
6
+ "sha256": "ebe47482f9c7c4eb88bf3e54792e9b34f3ed167c75de808dbfd03f4c4920f3e6",
7
+ "store": "qc128",
8
+ "class": "dbis.grl.GRL",
9
+ "args": {
10
+ "fast": true,
11
+ "tile": 480,
12
+ "tile_overlap": 48,
13
+ "batch": 6
14
+ },
15
+ "source": {
16
+ "method": "GRL",
17
+ "paper": "Efficient and Explicit Modelling of Image Hierarchies for Image Restoration",
18
+ "venue": "CVPR 2023",
19
+ "code": "https://github.com/ofsoundof/GRL-Image-Restoration",
20
+ "commit": "3123fcadfee2107d813c5e8fff58227f14c989bc",
21
+ "license": "MIT, Copyright (c) 2023 Yawei Li",
22
+ "group": "state_dict",
23
+ "url": "https://github.com/ofsoundof/GRL-Image-Restoration/releases/download/v1.0.0/db_motion_grl_base_gopro.ckpt",
24
+ "file": "db_motion_grl_base_gopro.ckpt",
25
+ "md5": "4004aada5aa1e1ee88f544cc171fa43b",
26
+ "trained_on": "GoPro"
27
+ },
28
+ "load": "import dbis; net = dbis.load(\"dbisf-GRL-Btiled\")",
29
+ "code": "https://github.com/illaitar/deblurring-is-solved"
30
+ }
dbisf-GRL-Btiled/dbisf-GRL-B.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebe47482f9c7c4eb88bf3e54792e9b34f3ed167c75de808dbfd03f4c4920f3e6
3
+ size 23804858
dbisf-GRL-Btiled/licenses/GRL-Image-Restoration-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693a4ac2d13dc8df502de9abae8a03084cf6f347dbdef8ffa8a36207c3c37ed5
3
+ size 1065
dbisf-Ghost-DeblurGAN/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-Ghost-DeblurGAN.wpk` | `fpn_ghostnet_gm_hin.h5` of [York-SDCNLab/Ghost-DeblurGAN](https://github.com/York-SDCNLab/Ghost-DeblurGAN) (commit b135613) | MIT, Copyright (c) 2021 York-SDCNLab (`licenses/Ghost-DeblurGAN-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-Ghost-DeblurGAN/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-Ghost-DeblurGAN
13
+
14
+ Ghost-DeblurGAN (Application of Ghost-DeblurGAN to Fiducial Marker Detection, IROS 2022) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/York-SDCNLab/Ghost-DeblurGAN.
15
+
16
+ The same checkpoint in other versions: [dbis-Ghost-DeblurGAN](https://huggingface.co/Illaitar/dbis/tree/main/dbis-Ghost-DeblurGAN).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-Ghost-DeblurGAN blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-Ghost-DeblurGAN") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-Ghost-DeblurGAN.wpk` | 2 MB | 27.5558 | 2.5 ms |
38
+ | the authors' code and checkpoint | 6 MB | 27.5582 | 2.8 ms |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-Ghost-DeblurGAN.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-Ghost-DeblurGAN",
3
+ "file": "dbisf-Ghost-DeblurGAN.wpk",
4
+ "path": "dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.wpk",
5
+ "bytes": 1516190,
6
+ "sha256": "7fa20ea19a198b9523c6b0ed79d656107afacc48e51b82a4543e43442160b6ed",
7
+ "store": "qc32",
8
+ "class": "dbis.ghostdeblurgan.GhostDeblurGAN",
9
+ "args": {
10
+ "fast": true
11
+ },
12
+ "source": {
13
+ "method": "Ghost-DeblurGAN",
14
+ "paper": "Application of Ghost-DeblurGAN to Fiducial Marker Detection",
15
+ "venue": "IROS 2022",
16
+ "code": "https://github.com/York-SDCNLab/Ghost-DeblurGAN",
17
+ "commit": "b135613a81b4be8fdacc7663849f42e64a5569a8",
18
+ "license": "MIT, Copyright (c) 2021 York-SDCNLab",
19
+ "url": "https://github.com/York-SDCNLab/Ghost-DeblurGAN/raw/b135613a81b4be8fdacc7663849f42e64a5569a8/trained_weights/fpn_ghostnet_gm_hin.h5",
20
+ "file": "fpn_ghostnet_gm_hin.h5",
21
+ "md5": "bb3bc27306700a277cbac85a472a1d55",
22
+ "group": "model",
23
+ "trained_on": "GoPro"
24
+ },
25
+ "load": "import dbis; net = dbis.load(\"dbisf-Ghost-DeblurGAN\")",
26
+ "code": "https://github.com/illaitar/deblurring-is-solved"
27
+ }
dbisf-Ghost-DeblurGAN/dbisf-Ghost-DeblurGAN.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa20ea19a198b9523c6b0ed79d656107afacc48e51b82a4543e43442160b6ed
3
+ size 1516190
dbisf-Ghost-DeblurGAN/licenses/Ghost-DeblurGAN-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39b6eacaa688bcb18e7dae20df705ba6a2f1ae630be7192a2d838ea3cd800da8
3
+ size 1069
dbisf-HI-Diff/LICENSE.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-HI-Diff.wpk` | `net_g.pth` of [zhengchen1999/HI-Diff](https://github.com/zhengchen1999/HI-Diff) (commit b3bfd16) | Apache-2.0 (repository LICENSE) (`licenses/HI-Diff-LICENSE.txt`) |
6
+ | the same file | `net_le_dm.pth` of [zhengchen1999/HI-Diff](https://github.com/zhengchen1999/HI-Diff) | Apache-2.0 (repository LICENSE) (`licenses/HI-Diff-LICENSE.txt`) |
7
+ | the same file | `net_d.pth` of [zhengchen1999/HI-Diff](https://github.com/zhengchen1999/HI-Diff) | Apache-2.0 (repository LICENSE) (`licenses/HI-Diff-LICENSE.txt`) |
8
+
9
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-HI-Diff/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-HI-Diff
13
+
14
+ HI-Diff (Hierarchical Integration Diffusion Model for Realistic Image Deblurring, NeurIPS 2023) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/zhengchen1999/HI-Diff.
15
+
16
+ The same checkpoint in other versions: [dbis-HI-Diff](https://huggingface.co/Illaitar/dbis/tree/main/dbis-HI-Diff).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-HI-Diff blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-HI-Diff/dbisf-HI-Diff.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-HI-Diff") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-HI-Diff.wpk` | 28 MB | 33.3210 | 95.2 ms |
38
+ | the authors' code and checkpoint | 114 MB | 33.3243 | 138.4 ms |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-HI-Diff.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: Apache-2.0. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-HI-Diff/dbisf-HI-Diff.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-HI-Diff",
3
+ "file": "dbisf-HI-Diff.wpk",
4
+ "path": "dbisf-HI-Diff/dbisf-HI-Diff.wpk",
5
+ "bytes": 28102211,
6
+ "sha256": "f148df5ac7bf0840d857a7a26fa4d1b8acdc06558ed8f2ab09d9b31c34719db3",
7
+ "store": "qc48",
8
+ "class": "dbis.hidiff.HIDiff",
9
+ "args": {
10
+ "fast": true
11
+ },
12
+ "source": {
13
+ "method": "HI-Diff",
14
+ "paper": "Hierarchical Integration Diffusion Model for Realistic Image Deblurring",
15
+ "venue": "NeurIPS 2023",
16
+ "code": "https://github.com/zhengchen1999/HI-Diff",
17
+ "commit": "b3bfd167997e27f8edd57681cf70e5031a0e35f2",
18
+ "license": "Apache-2.0 (repository LICENSE)",
19
+ "url": "https://drive.google.com/file/d/1cx0vCV5Z5fklnbqonZQad37vt4armEbT (HI_Diff_GoPro.zip, md5 807b2366269a46c84e9e15c571a11624)",
20
+ "file": "HI_Diff_GoPro.zip/net_g.pth",
21
+ "md5": "ed5e93cb4e75cd7ae03876b2d3592d3d",
22
+ "group": "params",
23
+ "trained_on": "GoPro",
24
+ "extra": [
25
+ {
26
+ "file": "HI_Diff_GoPro.zip/net_le_dm.pth",
27
+ "md5": "faa35bc6a432f41a10814c69cd6e726a",
28
+ "group": "params",
29
+ "code": "https://github.com/zhengchen1999/HI-Diff",
30
+ "license": "Apache-2.0 (repository LICENSE)"
31
+ },
32
+ {
33
+ "file": "HI_Diff_GoPro.zip/net_d.pth",
34
+ "md5": "5aacf9b320f1ca27a429476c75d75459",
35
+ "group": "params",
36
+ "code": "https://github.com/zhengchen1999/HI-Diff",
37
+ "license": "Apache-2.0 (repository LICENSE)"
38
+ }
39
+ ]
40
+ },
41
+ "load": "import dbis; net = dbis.load(\"dbisf-HI-Diff\")",
42
+ "code": "https://github.com/illaitar/deblurring-is-solved"
43
+ }
dbisf-HI-Diff/dbisf-HI-Diff.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f148df5ac7bf0840d857a7a26fa4d1b8acdc06558ed8f2ab09d9b31c34719db3
3
+ size 28102211
dbisf-HI-Diff/licenses/HI-Diff-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22ccdb96a3c66180f47ca2a40841c36f72a2f8ec7d7cb3fd28fa4f44f1edc257
3
+ size 11345
dbisf-HINet/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-HINet.wpk` | `HINet-GoPro.pth` of [megvii-model/HINet](https://github.com/megvii-model/HINet) (commit 4e72315) | MIT, Copyright (c) 2021 megvii-model (`licenses/HINet-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-HINet/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-HINet
13
+
14
+ HINet (HINet: Half Instance Normalization Network for Image Restoration, CVPR Workshops 2021) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/megvii-model/HINet.
15
+
16
+ The same checkpoint in other versions: [dbis-HINet](https://huggingface.co/Illaitar/dbis/tree/main/dbis-HINet).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-HINet blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-HINet/dbisf-HINet.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-HINet") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-HINet.wpk` | 79 MB | 32.8931 | 27.4 ms |
38
+ | the authors' code and checkpoint | 355 MB | 32.9013 | 29.9 ms |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-HINet.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-HINet/dbisf-HINet.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-HINet",
3
+ "file": "dbisf-HINet.wpk",
4
+ "path": "dbisf-HINet/dbisf-HINet.wpk",
5
+ "bytes": 78722867,
6
+ "sha256": "2da522fca3516c6b43533d83baf8fe7799a07e38bc5b30d0b54dfb8f0f34772f",
7
+ "store": "qc32",
8
+ "class": "dbis.hinet.HINet",
9
+ "args": {
10
+ "fast": true
11
+ },
12
+ "source": {
13
+ "method": "HINet",
14
+ "paper": "HINet: Half Instance Normalization Network for Image Restoration",
15
+ "venue": "CVPR Workshops 2021",
16
+ "code": "https://github.com/megvii-model/HINet",
17
+ "commit": "4e7231543090e6280d03fac22b3bb6869a25dfad",
18
+ "license": "MIT, Copyright (c) 2021 megvii-model",
19
+ "url": "https://github.com/megvii-model/HINet (README, GoPro model link, Google Drive)",
20
+ "file": "HINet-GoPro.pth",
21
+ "md5": "a3b30d9633f869af1d06bf08c2c490bc",
22
+ "group": "params",
23
+ "trained_on": "GoPro"
24
+ },
25
+ "load": "import dbis; net = dbis.load(\"dbisf-HINet\")",
26
+ "code": "https://github.com/illaitar/deblurring-is-solved"
27
+ }
dbisf-HINet/dbisf-HINet.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2da522fca3516c6b43533d83baf8fe7799a07e38bc5b30d0b54dfb8f0f34772f
3
+ size 78722867
dbisf-HINet/licenses/HINet-LICENSE.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbaaec617997a76f67ae2a8b8c7bd13e9bd560004e7200d2e9904e7deb469998
3
+ size 12467
dbisf-IDBlau-FFTformer/LICENSE.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-IDBlau-FFTformer.wpk` | `FFTformer_GoPro.pth` of [plusgood-steven/ID-Blau](https://github.com/plusgood-steven/ID-Blau) (commit 414a4a8) | **No license stated.** not stated (no license file in the ID-Blau repository); architecture MIT, Copyright (c) 2023 kkkls (no license file in the repository) |
6
+
7
+ No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use.
8
+
9
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-IDBlau-FFTformer/README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: no-license-stated
4
+ license_link: LICENSE.md
5
+ library_name: pytorch
6
+ pipeline_tag: image-to-image
7
+ tags:
8
+ - deblurring
9
+ - motion-deblurring
10
+ - image-restoration
11
+ - dbis
12
+ ---
13
+
14
+ # dbisf-IDBlau-FFTformer
15
+
16
+ > **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights.
17
+
18
+ FFTformer + ID-Blau (ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation, CVPR 2024) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/plusgood-steven/ID-Blau.
19
+
20
+ The same checkpoint in other versions: [dbis-IDBlau-FFTformer](https://huggingface.co/Illaitar/dbis/tree/main/dbis-IDBlau-FFTformer).
21
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
22
+
23
+ ## Use
24
+
25
+ ```bash
26
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
27
+ python -m dbis.run dbisf-IDBlau-FFTformer blurry.png sharp.png # an image, a folder of frames or a video
28
+ hf download Illaitar/dbis dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.wpk # this file alone, without the package
29
+ ```
30
+
31
+ ```python
32
+ import dbis
33
+ net = dbis.load("dbisf-IDBlau-FFTformer") # fetches only this folder's file on first use and checks its sha256
34
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
35
+ ```
36
+
37
+ ## File
38
+
39
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
40
+ |---|---:|---:|---:|
41
+ | `dbisf-IDBlau-FFTformer.wpk` | 28 MB | 34.2935 | 196.9 ms |
42
+ | the authors' code and checkpoint | 66 MB | 34.2936 | 726.9 ms |
43
+
44
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
45
+
46
+ `dbisf-IDBlau-FFTformer.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
47
+
48
+ ## Terms
49
+
50
+ 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.
dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-IDBlau-FFTformer",
3
+ "file": "dbisf-IDBlau-FFTformer.wpk",
4
+ "path": "dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.wpk",
5
+ "bytes": 28075258,
6
+ "sha256": "b97e96ee3f6d7a5bb8f47148232af77bff8062fa778757233fde5ce8cb22678b",
7
+ "store": "f16",
8
+ "class": "dbis.fftformer.FFTformer",
9
+ "args": {
10
+ "offset": 0.5,
11
+ "fast": true
12
+ },
13
+ "source": {
14
+ "method": "FFTformer + ID-Blau",
15
+ "paper": "ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation",
16
+ "venue": "CVPR 2024",
17
+ "code": "https://github.com/plusgood-steven/ID-Blau",
18
+ "commit": "414a4a808034b7ed179a5f93d45caa739d54ebeb",
19
+ "license": "not stated (no license file in the ID-Blau repository); architecture MIT, Copyright (c) 2023 kkkls",
20
+ "group": "model_state",
21
+ "trained_on": "GoPro",
22
+ "url": "https://drive.google.com/file/d/1WlpJ5Ch6-ARwpRs62dJJ6q7qGDtL0vXg",
23
+ "file": "FFTformer_GoPro.pth",
24
+ "md5": "a1614fa71d5d73deb1a2e33540e1d609"
25
+ },
26
+ "load": "import dbis; net = dbis.load(\"dbisf-IDBlau-FFTformer\")",
27
+ "code": "https://github.com/illaitar/deblurring-is-solved"
28
+ }
dbisf-IDBlau-FFTformer/dbisf-IDBlau-FFTformer.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97e96ee3f6d7a5bb8f47148232af77bff8062fa778757233fde5ce8cb22678b
3
+ size 28075258
dbisf-IDBlau-MIMO-UNetPlus/LICENSE.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-IDBlau-MIMO-UNetPlus.wpk` | `MIMO_UNetPlus_GoPro.pth` of [plusgood-steven/ID-Blau](https://github.com/plusgood-steven/ID-Blau) (commit 414a4a8) | **No license stated.** none stated (no LICENSE file in the repository): all rights reserved by the authors (no license file in the repository) |
6
+
7
+ No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use.
8
+
9
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-IDBlau-MIMO-UNetPlus/README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: no-license-stated
4
+ license_link: LICENSE.md
5
+ library_name: pytorch
6
+ pipeline_tag: image-to-image
7
+ tags:
8
+ - deblurring
9
+ - motion-deblurring
10
+ - image-restoration
11
+ - dbis
12
+ ---
13
+
14
+ # dbisf-IDBlau-MIMO-UNetPlus
15
+
16
+ > **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights.
17
+
18
+ MIMO-UNet+ + ID-Blau (ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation, CVPR 2024) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/plusgood-steven/ID-Blau.
19
+
20
+ The same checkpoint in other versions: [dbis-IDBlau-MIMO-UNetPlus](https://huggingface.co/Illaitar/dbis/tree/main/dbis-IDBlau-MIMO-UNetPlus).
21
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
22
+
23
+ ## Use
24
+
25
+ ```bash
26
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
27
+ python -m dbis.run dbisf-IDBlau-MIMO-UNetPlus blurry.png sharp.png # an image, a folder of frames or a video
28
+ hf download Illaitar/dbis dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.wpk # this file alone, without the package
29
+ ```
30
+
31
+ ```python
32
+ import dbis
33
+ net = dbis.load("dbisf-IDBlau-MIMO-UNetPlus") # fetches only this folder's file on first use and checks its sha256
34
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
35
+ ```
36
+
37
+ ## File
38
+
39
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
40
+ |---|---:|---:|---:|
41
+ | `dbisf-IDBlau-MIMO-UNetPlus.wpk` | 15 MB | 32.9209 | 38.8 ms |
42
+ | the authors' code and checkpoint | 65 MB | 32.9309 | 45.9 ms |
43
+
44
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
45
+
46
+ `dbisf-IDBlau-MIMO-UNetPlus.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
47
+
48
+ ## Terms
49
+
50
+ 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.
dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-IDBlau-MIMO-UNetPlus",
3
+ "file": "dbisf-IDBlau-MIMO-UNetPlus.wpk",
4
+ "path": "dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.wpk",
5
+ "bytes": 14526470,
6
+ "sha256": "b928368fe9d65f3f3c3c7c0aad28782aa93ab38ecad232abd2c47c508fa6afa3",
7
+ "store": "qc32",
8
+ "class": "dbis.mimounet.MIMOUNet",
9
+ "args": {
10
+ "num_res": 20,
11
+ "centered": true,
12
+ "fast": true
13
+ },
14
+ "source": {
15
+ "method": "MIMO-UNet+ + ID-Blau",
16
+ "paper": "ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation",
17
+ "venue": "CVPR 2024",
18
+ "code": "https://github.com/plusgood-steven/ID-Blau",
19
+ "commit": "414a4a808034b7ed179a5f93d45caa739d54ebeb",
20
+ "license": "none stated (no LICENSE file in the repository): all rights reserved by the authors",
21
+ "group": "model_state",
22
+ "url": "https://drive.google.com/file/d/1xCDyw-KMchbWI8M53AdCKXv33eYucRMn/view",
23
+ "file": "MIMO_UNetPlus_GoPro.pth",
24
+ "md5": "5a4ef72a850f7b6acf2ab2e369cdb937",
25
+ "trained_on": "GoPro"
26
+ },
27
+ "load": "import dbis; net = dbis.load(\"dbisf-IDBlau-MIMO-UNetPlus\")",
28
+ "code": "https://github.com/illaitar/deblurring-is-solved"
29
+ }
dbisf-IDBlau-MIMO-UNetPlus/dbisf-IDBlau-MIMO-UNetPlus.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b928368fe9d65f3f3c3c7c0aad28782aa93ab38ecad232abd2c47c508fa6afa3
3
+ size 14526470
dbisf-IDBlau-Restormer/LICENSE.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-IDBlau-Restormer.wpk` | `Restormer_GoPro.pth` of [plusgood-steven/ID-Blau](https://github.com/plusgood-steven/ID-Blau) (commit 414a4a8) | **No license stated.** none stated in the repository (architecture MIT, Restormer) (no license file in the repository) |
6
+
7
+ No license stated: the repository of the source checkpoint has no license, so its authors keep all rights to it. This file is shared for research and evaluation only, as the benchmark uses it; ask the authors before any other use.
8
+
9
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-IDBlau-Restormer/README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: no-license-stated
4
+ license_link: LICENSE.md
5
+ library_name: pytorch
6
+ pipeline_tag: image-to-image
7
+ tags:
8
+ - deblurring
9
+ - motion-deblurring
10
+ - image-restoration
11
+ - dbis
12
+ ---
13
+
14
+ # dbisf-IDBlau-Restormer
15
+
16
+ > **No license stated by the authors**: this file keeps the terms of its source checkpoint, no license stated (see `LICENSE.md`); without a license, the authors keep all rights.
17
+
18
+ ID-Blau (Restormer) (ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation, CVPR 2024) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/plusgood-steven/ID-Blau.
19
+
20
+ The same checkpoint in other versions: [dbis-IDBlau-Restormer](https://huggingface.co/Illaitar/dbis/tree/main/dbis-IDBlau-Restormer).
21
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
22
+
23
+ ## Use
24
+
25
+ ```bash
26
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
27
+ python -m dbis.run dbisf-IDBlau-Restormer blurry.png sharp.png # an image, a folder of frames or a video
28
+ hf download Illaitar/dbis dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.wpk # this file alone, without the package
29
+ ```
30
+
31
+ ```python
32
+ import dbis
33
+ net = dbis.load("dbisf-IDBlau-Restormer") # fetches only this folder's file on first use and checks its sha256
34
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
35
+ ```
36
+
37
+ ## File
38
+
39
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
40
+ |---|---:|---:|---:|
41
+ | `dbisf-IDBlau-Restormer.wpk` | 26 MB | 33.5040 | 103.3 ms |
42
+ | the authors' code and checkpoint | 105 MB | 33.5110 | 151.1 ms |
43
+
44
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
45
+
46
+ `dbisf-IDBlau-Restormer.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
47
+
48
+ ## Terms
49
+
50
+ 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.
dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-IDBlau-Restormer",
3
+ "file": "dbisf-IDBlau-Restormer.wpk",
4
+ "path": "dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.wpk",
5
+ "bytes": 25791384,
6
+ "sha256": "972adb1e01779a41b295bb5a64cc7e16bd537410ec6a9f4c76b0108660da14fa",
7
+ "store": "qc48",
8
+ "class": "dbis.restormer.Restormer",
9
+ "args": {
10
+ "centered": true,
11
+ "fast": true
12
+ },
13
+ "source": {
14
+ "method": "ID-Blau (Restormer)",
15
+ "paper": "ID-Blau: Image Deblurring by Implicit Diffusion-based reBLurring AUgmentation",
16
+ "venue": "CVPR 2024",
17
+ "code": "https://github.com/plusgood-steven/ID-Blau",
18
+ "commit": "414a4a808034b7ed179a5f93d45caa739d54ebeb",
19
+ "license": "none stated in the repository (architecture MIT, Restormer)",
20
+ "group": "model_state",
21
+ "url": "https://drive.google.com/uc?id=10nYuvdK0y3MzoKjx3XvEQOAqGa93Nw3F",
22
+ "file": "Restormer_GoPro.pth",
23
+ "md5": "2d5faa5baf0141df908fbc55ecee643a",
24
+ "trained_on": "GoPro"
25
+ },
26
+ "load": "import dbis; net = dbis.load(\"dbisf-IDBlau-Restormer\")",
27
+ "code": "https://github.com/illaitar/deblurring-is-solved"
28
+ }
dbisf-IDBlau-Restormer/dbisf-IDBlau-Restormer.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:972adb1e01779a41b295bb5a64cc7e16bd537410ec6a9f4c76b0108660da14fa
3
+ size 25791384
dbisf-IR-SDE/LICENSE.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Terms of the weight file
2
+
3
+ | File | Source checkpoint | Terms |
4
+ |---|---|---|
5
+ | `dbisf-IR-SDE.wpk` | `ir-sde-deblurring.pth` of [Algolzw/image-restoration-sde](https://github.com/Algolzw/image-restoration-sde) (commit 2598d73) | MIT, Copyright (c) 2023 Ziwei Luo (`licenses/image-restoration-sde-LICENSE.txt`) |
6
+
7
+ Changes made to the source checkpoint (also stated for the Apache License 2.0, section 4): tensors renamed to the names of our code, tensors folded into the next layers where that is exact up to float rounding, fixed tensors that the code rebuilds dropped, and in dbisf files the weights rounded per output channel and entropy coded. The conversion is `python -m dbis.convert` of https://github.com/illaitar/deblurring-is-solved; it checks the md5 of every source checkpoint (listed in the file's JSON card).
dbisf-IR-SDE/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - deblurring
7
+ - motion-deblurring
8
+ - image-restoration
9
+ - dbis
10
+ ---
11
+
12
+ # dbisf-IR-SDE
13
+
14
+ IR-SDE (Image Restoration with Mean-Reverting Stochastic Differential Equations, ICML 2023) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' checkpoint (trained on GoPro) 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/image-restoration-sde.
15
+
16
+ The same checkpoint in other versions: [dbis-IR-SDE](https://huggingface.co/Illaitar/dbis/tree/main/dbis-IR-SDE).
17
+ Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis).
18
+
19
+ ## Use
20
+
21
+ ```bash
22
+ pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
23
+ python -m dbis.run dbisf-IR-SDE blurry.png sharp.png # an image, a folder of frames or a video
24
+ hf download Illaitar/dbis dbisf-IR-SDE/dbisf-IR-SDE.wpk # this file alone, without the package
25
+ ```
26
+
27
+ ```python
28
+ import dbis
29
+ net = dbis.load("dbisf-IR-SDE") # fetches only this folder's file on first use and checks its sha256
30
+ out = net.restore(frames) # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]
31
+ ```
32
+
33
+ ## File
34
+
35
+ | File | Size | GoPro PSNR, dB | Time per 720p frame |
36
+ |---|---:|---:|---:|
37
+ | `dbisf-IR-SDE.wpk` | 232 MB | 27.9622 | 6.35 s |
38
+ | the authors' code and checkpoint | 549 MB | 27.9819 | 12.59 s |
39
+
40
+ PSNR: the 1,111 GoPro test frames, 8-bit outputs, as the benchmark runs the method. Time: the benchmark's latency harness, one A100, batch 1 ([DBIS.md](https://github.com/illaitar/deblurring-is-solved/blob/main/DBIS.md)).
41
+
42
+ `dbisf-IR-SDE.json` here has the file's sha256, the source checkpoint and its md5, and the network's arguments. `.wpk` is the repository's wpack format (`dbis/wpack.py`, needs zstandard).
43
+
44
+ ## Terms
45
+
46
+ The file keeps the terms of the checkpoint it is made from: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights.
dbisf-IR-SDE/dbisf-IR-SDE.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "dbisf-IR-SDE",
3
+ "file": "dbisf-IR-SDE.wpk",
4
+ "path": "dbisf-IR-SDE/dbisf-IR-SDE.wpk",
5
+ "bytes": 232324554,
6
+ "sha256": "c30bab6563a68277d32279efbb381da13dba86a9b6a7284b7099fcb221f9aa05",
7
+ "store": "f16",
8
+ "class": "dbis.irsde.IRSDE",
9
+ "args": {
10
+ "in_nc": 3,
11
+ "out_nc": 3,
12
+ "nf": 64,
13
+ "depth": 4,
14
+ "max_sigma": 10,
15
+ "T": 100,
16
+ "eps": 0.005,
17
+ "seed": 0,
18
+ "fast": true,
19
+ "fast_dtype": "fp16",
20
+ "channels_last": true,
21
+ "fast_compile": "default"
22
+ },
23
+ "source": {
24
+ "method": "IR-SDE",
25
+ "paper": "Image Restoration with Mean-Reverting Stochastic Differential Equations",
26
+ "venue": "ICML 2023",
27
+ "code": "https://github.com/Algolzw/image-restoration-sde",
28
+ "commit": "2598d73cde3a1e2cf78c4ba4923414e1f4b90393",
29
+ "license": "MIT, Copyright (c) 2023 Ziwei Luo",
30
+ "url": "https://drive.google.com/file/d/1MZzKbY8I63id4Ro3T5TWGNYM0-JIbpB2",
31
+ "file": "ir-sde-deblurring.pth",
32
+ "md5": "f3231f9aaea97867b0198288e7f703a7",
33
+ "group": null,
34
+ "trained_on": "GoPro"
35
+ },
36
+ "load": "import dbis; net = dbis.load(\"dbisf-IR-SDE\")",
37
+ "code": "https://github.com/illaitar/deblurring-is-solved"
38
+ }
dbisf-IR-SDE/dbisf-IR-SDE.wpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c30bab6563a68277d32279efbb381da13dba86a9b6a7284b7099fcb221f9aa05
3
+ size 232324554