yscript commited on
Commit
823e8e6
·
verified ·
1 Parent(s): 403982e

Add processed GoPro train and test data, manifests and official citation

Browse files
DATA_TERMS.md CHANGED
@@ -1,8 +1,10 @@
1
  # Dataset-specific terms
2
 
3
- The two datasets have different source terms. No blanket code license is applied to the images.
4
 
5
  * RawMoment synthetic data: see rawmoment_data/DATA_TERMS.md for upstream OpenVid/source-collection conditions and attribution.
6
  * Processed RealBlur: CC BY 4.0, following the original RealBlur dataset. See realblur_processed_data/README.md for attribution and modifications, and realblur_processed_data/LICENSE.txt for the license link.
7
 
8
  The RawMoment software repository uses Apache-2.0; that software license does not replace the image dataset terms.
 
 
 
1
  # Dataset-specific terms
2
 
3
+ These datasets have different source terms. No blanket code license is applied to the images.
4
 
5
  * RawMoment synthetic data: see rawmoment_data/DATA_TERMS.md for upstream OpenVid/source-collection conditions and attribution.
6
  * Processed RealBlur: CC BY 4.0, following the original RealBlur dataset. See realblur_processed_data/README.md for attribution and modifications, and realblur_processed_data/LICENSE.txt for the license link.
7
 
8
  The RawMoment software repository uses Apache-2.0; that software license does not replace the image dataset terms.
9
+
10
+ * Processed GoPro: CC BY 4.0, following GOPRO_Large by Nah, Kim and Lee (CVPR 2017). See [GoPro data notes](gopro_processed_data/README.md) for attribution and modifications, and [the official dataset page](https://seungjunnah.github.io/Datasets/gopro.html) for its license.
README.md CHANGED
@@ -22,9 +22,12 @@ Training and evaluation datasets accompanying the paper.
22
  | --- | ---: | ---: | ---: | --- |
23
  | RawMoment | 29,634 | 366 | 200 (RawMoment-Bench) | 512 × 512 / 1024 × 1024 |
24
  | RealBlur, processed for RawMoment | 3,758 | — | 980 | 512 × 512 |
 
25
 
26
  RawMoment images are 1024 × 1024. RealBlur images retain their processed resolution; evaluation uses the 512 × 512 crops recorded in the manifests.
27
 
 
 
28
  ## Layout
29
 
30
  ```text
@@ -35,9 +38,12 @@ rawmoment_data/
35
  realblur_processed_data/
36
  train/ # blur_raw, blur_rgb, clean_rgb, valid_mask
37
  test/ # blur_raw, blur_rgb, clean_rgb, valid_mask
 
 
 
38
  ```
39
 
40
- Images are stored as tar archives in each modality directory, about 227 GB in total. See [RawMoment](rawmoment_data/README.md) and [processed RealBlur](realblur_processed_data/README.md) for image formats and manifests.
41
 
42
  ## Download
43
 
@@ -47,7 +53,7 @@ Downloads require manual approval. Request access on this page, then sign in wit
47
  hf auth login
48
  hf download yscript/RawMoment --repo-type dataset --local-dir RawMoment
49
  cd RawMoment
50
- find rawmoment_data realblur_processed_data -name '*.tar' -exec tar -xf {} \;
51
  ```
52
 
53
  ## Data terms
@@ -85,3 +91,17 @@ Source dataset for the processed RealBlur data. [Official citation](https://gith
85
  year={2020}
86
  }
87
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  | --- | ---: | ---: | ---: | --- |
23
  | RawMoment | 29,634 | 366 | 200 (RawMoment-Bench) | 512 × 512 / 1024 × 1024 |
24
  | RealBlur, processed for RawMoment | 3,758 | — | 980 | 512 × 512 |
25
+ | GoPro, processed for RawMoment | 6,309 (2,103 source pairs × 3 variants) | — | 1,111 | 512 × 512 |
26
 
27
  RawMoment images are 1024 × 1024. RealBlur images retain their processed resolution; evaluation uses the 512 × 512 crops recorded in the manifests.
28
 
29
+ GoPro retains the official sequence split. Its original blurred/sharp pairs are center-cropped and processed into low-light RAW inputs and sharp RGB targets; see the [GoPro data notes](gopro_processed_data/README.md).
30
+
31
  ## Layout
32
 
33
  ```text
 
38
  realblur_processed_data/
39
  train/ # blur_raw, blur_rgb, clean_rgb, valid_mask
40
  test/ # blur_raw, blur_rgb, clean_rgb, valid_mask
41
+ gopro_processed_data/
42
+ train/ # blur_raw, blur_rgb, clean_rgb; three variants per source pair
43
+ test/ # blur_raw, blur_rgb, clean_rgb; one fixed variant per source pair
44
  ```
45
 
46
+ Images are stored as tar archives in each modality directory, about 238 GB in total. See [RawMoment](rawmoment_data/README.md) and [processed RealBlur](realblur_processed_data/README.md) for image formats and manifests.
47
 
48
  ## Download
49
 
 
53
  hf auth login
54
  hf download yscript/RawMoment --repo-type dataset --local-dir RawMoment
55
  cd RawMoment
56
+ find rawmoment_data realblur_processed_data gopro_processed_data -name '*.tar' -exec tar -xf {} \;
57
  ```
58
 
59
  ## Data terms
 
91
  year={2020}
92
  }
93
  ```
94
+
95
+ ### GoPro
96
+
97
+ Source dataset for the processed GoPro data. [Official citation](https://github.com/SeungjunNah/DeepDeblur_release#deepdeblur_release).
98
+
99
+ ```bibtex
100
+ @InProceedings{Nah_2017_CVPR,
101
+ author = {Nah, Seungjun and Kim, Tae Hyun and Lee, Kyoung Mu},
102
+ title = {Deep Multi-Scale Convolutional Neural Network for Dynamic Scene Deblurring},
103
+ booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
104
+ month = {July},
105
+ year = {2017}
106
+ }
107
+ ```
SHA256SUMS CHANGED
@@ -1,8 +1,31 @@
1
- a5fb6342bc4b2c6fe62e47e466478afe1fc19c5e8a8ca56fecc7544d07910465 DATA_TERMS.md
2
- fe6eee22368d6bfbf4cfc5b8d3e81bf6e7a1f9ce186ba0e95faae15d9a8147ad README.md
3
- 0dd254926425c08f6e492dc05b8f0e9dcaded5c5edaa336cfa55db7446d91e4c archives.json
4
- ec560c21706938d1886f3faecb3f59b3b5689670927370135b08fd676b076f53 dataset.json
5
- 84ded8ec21089f717364dd3aca7a06c17b1b16be6e5e8354d99b00f40807f60a files.jsonl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  f6e915dc4769d6f61475fbc44dde61c414df0351d3ebb38ebb8d4d449d16c56f rawmoment_data/DATA_TERMS.md
7
  eac634cbade1cfcf2a3da63be11db434bd07cd1d485575dc4e551bfa803b5541 rawmoment_data/README.md
8
  d5f1316d992819b47b209d9cea2000387873f058888111abe5851ef66c620229 rawmoment_data/provenance.jsonl
@@ -134,5 +157,5 @@ c501c70da8f34364bf954623909d6b02034cbfdf3fa0a0a3035a986b54a2aa15 realblur_proce
134
  bc376ce595f920e6dd65630b06caa61358ebfc1a5db53a956dfeb2e202363c29 realblur_processed_data/train/clean_rgb/part-00002.tar
135
  9c03703dc011fe0e278f8b4c38817dc6913a39a4a68cafe091c8ef6bf196bc69 realblur_processed_data/train/manifest.jsonl
136
  200063859889953aaddc458a61f1706bf9b034381d360d1594889adc15e53839 realblur_processed_data/train/valid_mask/part-00000.tar
137
- 21061431f74088dcc874cecb6e5388b91ebd76574fa479efba6cd970c46c3975 validation.json
138
- 605b598468c28d940881e7e5b531ee526096eb6ee735ac7c1b1850f583a155e5 verify_release.py
 
1
+ ad27a6055f75f3aa3ff40a8236442358efa9eddcf5c5908e68fcbdeb5377bd16 DATA_TERMS.md
2
+ fff8d8e17ed3e3841e1409eb26cc2fc77362ff415fdd1a37f4800a7f83880175 README.md
3
+ 17281d76979e30ac1fb49af257f62bf351fb1df4328ccca30cb323b954efaa21 archives.json
4
+ ba837ed38a6091bec69787f9c72ed5ec53fa0355db66bd8fe1d2a7328e187d45 dataset.json
5
+ 16db4ba2b4485443d6b9df233479c450cc966b7ee44c12405a1259b714d6f078 files.jsonl
6
+ 32650a98fb08abc2d24c5599f7c674a024fffc10c8820cb505e646be8f85c18a gopro_processed_data/LICENSE.txt
7
+ 4eb603ac0e48d054495334c4702a2d88378dcd898e7052efe6b5c25f4befa470 gopro_processed_data/README.md
8
+ f4c29d0440da4ced36f3b18374813e06fa3b689d0ab36a258ab6a8d899b78451 gopro_processed_data/SHA256SUMS
9
+ 9e8274e80512edf8c2ab12e3d56143489f47cc74bb980ace1c2b679d88388653 gopro_processed_data/archives.json
10
+ 803629373bbfe96f8abb203864cd26896efa0e5d85488aae3fc576f826e51816 gopro_processed_data/dataset.json
11
+ a8a76b2fd0a4fd0cdec232138bd0cb64945aa38da103a9e068d557cd0254a4b9 gopro_processed_data/files.jsonl
12
+ 0e6e6c05146245925ba82299ee2f26012d608c73a921035154b03149c326521c gopro_processed_data/test/blur_raw/part-00000.tar
13
+ 0ae5214f1c4fd6118b607ef095cda545305c33b139bc263ddd387867d04ec1d4 gopro_processed_data/test/blur_rgb/part-00000.tar
14
+ 512c6a2a27cd5462ec794ee3ee734f6d0c7166630d11b7b3a6580f91ccc34f68 gopro_processed_data/test/clean_rgb/part-00000.tar
15
+ 309688e16e32e607eb9bfa5a88049aac0f3e6c087f4fd4f1cee41c1ff2278f51 gopro_processed_data/test/manifest.jsonl
16
+ 2254f9152962dd42aa83141ad658edab0a9d8bfab0f89f92f70c33863b57cc68 gopro_processed_data/train/blur_raw/part-00000.tar
17
+ 81376a94b94d5ac10a9f65ebbccf6776905a62d7b6873c02200678d0e5603c5e gopro_processed_data/train/blur_raw/part-00001.tar
18
+ 04551ac4adc0006c3fe575dcf8e3c938887168c23783f6aff5a945a648cf7202 gopro_processed_data/train/blur_raw/part-00002.tar
19
+ e7f81d765c1ff85d17017149391b67d24fa4698d7621d620fc2001faacbd88e0 gopro_processed_data/train/blur_raw/part-00003.tar
20
+ 79d4ccb9b9b451cdc8ffc0db152c19541f74aa19c12fcb2018904fcc7251ac52 gopro_processed_data/train/blur_raw/part-00004.tar
21
+ 020c877300daddd9893b27b17215a840b8a8e49eddcd4d5966648243c3a6fc41 gopro_processed_data/train/blur_rgb/part-00000.tar
22
+ f577dcf400a93aa36196216ba5125f21d72b0b4c2651434ea00cf7a88ad66cf6 gopro_processed_data/train/blur_rgb/part-00001.tar
23
+ d509547d60e3ef9163c5f0cc43fa3a4520d078f4e1c3d36cd38b9c53d816c729 gopro_processed_data/train/blur_rgb/part-00002.tar
24
+ c9b7834d5de27d58a4d5402b41944dcc0bb74a484b36faec808280ba423b3647 gopro_processed_data/train/clean_rgb/part-00000.tar
25
+ 17ca6120fa725336eb0b2219d50a822a6acb7b8d5934f97c6d931b3951504eeb gopro_processed_data/train/clean_rgb/part-00001.tar
26
+ ee079ca509dc87dc09544936bc9d093ddf1cf4e11da65d29dcfc09c8c10eb846 gopro_processed_data/train/clean_rgb/part-00002.tar
27
+ df45085aa623e593e95db56f89feef773910982a43fe77307f1b70535375421a gopro_processed_data/train/manifest.jsonl
28
+ c4714c2ffe07e58d6f5563c2b5ee93f64f673ea711953801de02930c6f195d8a gopro_processed_data/validation.json
29
  f6e915dc4769d6f61475fbc44dde61c414df0351d3ebb38ebb8d4d449d16c56f rawmoment_data/DATA_TERMS.md
30
  eac634cbade1cfcf2a3da63be11db434bd07cd1d485575dc4e551bfa803b5541 rawmoment_data/README.md
31
  d5f1316d992819b47b209d9cea2000387873f058888111abe5851ef66c620229 rawmoment_data/provenance.jsonl
 
157
  bc376ce595f920e6dd65630b06caa61358ebfc1a5db53a956dfeb2e202363c29 realblur_processed_data/train/clean_rgb/part-00002.tar
158
  9c03703dc011fe0e278f8b4c38817dc6913a39a4a68cafe091c8ef6bf196bc69 realblur_processed_data/train/manifest.jsonl
159
  200063859889953aaddc458a61f1706bf9b034381d360d1594889adc15e53839 realblur_processed_data/train/valid_mask/part-00000.tar
160
+ 2ebcc83562e343cadae545407913a8bdd128488cb0cf38af7336dfd8a52b8305 validation.json
161
+ 65c1f104c68fc5bac3060e0ead38deadbd10eb4efa0d58e4f64d818d8c064f96 verify_release.py
archives.json CHANGED
@@ -706,5 +706,89 @@
706
  "bytes": 15912960,
707
  "sha256": "200063859889953aaddc458a61f1706bf9b034381d360d1594889adc15e53839",
708
  "images": 3758
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  }
710
  ]
 
706
  "bytes": 15912960,
707
  "sha256": "200063859889953aaddc458a61f1706bf9b034381d360d1594889adc15e53839",
708
  "images": 3758
709
+ },
710
+ {
711
+ "path": "gopro_processed_data/test/blur_raw/part-00000.tar",
712
+ "bytes": 855480320,
713
+ "sha256": "0e6e6c05146245925ba82299ee2f26012d608c73a921035154b03149c326521c",
714
+ "images": 1111
715
+ },
716
+ {
717
+ "path": "gopro_processed_data/test/blur_rgb/part-00000.tar",
718
+ "bytes": 415242240,
719
+ "sha256": "0ae5214f1c4fd6118b607ef095cda545305c33b139bc263ddd387867d04ec1d4",
720
+ "images": 1111
721
+ },
722
+ {
723
+ "path": "gopro_processed_data/test/clean_rgb/part-00000.tar",
724
+ "bytes": 457779200,
725
+ "sha256": "512c6a2a27cd5462ec794ee3ee734f6d0c7166630d11b7b3a6580f91ccc34f68",
726
+ "images": 1111
727
+ },
728
+ {
729
+ "path": "gopro_processed_data/train/blur_raw/part-00000.tar",
730
+ "bytes": 1075077120,
731
+ "sha256": "2254f9152962dd42aa83141ad658edab0a9d8bfab0f89f92f70c33863b57cc68",
732
+ "images": 1405
733
+ },
734
+ {
735
+ "path": "gopro_processed_data/train/blur_raw/part-00001.tar",
736
+ "bytes": 1074821120,
737
+ "sha256": "81376a94b94d5ac10a9f65ebbccf6776905a62d7b6873c02200678d0e5603c5e",
738
+ "images": 1400
739
+ },
740
+ {
741
+ "path": "gopro_processed_data/train/blur_raw/part-00002.tar",
742
+ "bytes": 1075415040,
743
+ "sha256": "04551ac4adc0006c3fe575dcf8e3c938887168c23783f6aff5a945a648cf7202",
744
+ "images": 1404
745
+ },
746
+ {
747
+ "path": "gopro_processed_data/train/blur_raw/part-00003.tar",
748
+ "bytes": 1075537920,
749
+ "sha256": "e7f81d765c1ff85d17017149391b67d24fa4698d7621d620fc2001faacbd88e0",
750
+ "images": 1411
751
+ },
752
+ {
753
+ "path": "gopro_processed_data/train/blur_raw/part-00004.tar",
754
+ "bytes": 518164480,
755
+ "sha256": "79d4ccb9b9b451cdc8ffc0db152c19541f74aa19c12fcb2018904fcc7251ac52",
756
+ "images": 689
757
+ },
758
+ {
759
+ "path": "gopro_processed_data/train/blur_rgb/part-00000.tar",
760
+ "bytes": 1076244480,
761
+ "sha256": "020c877300daddd9893b27b17215a840b8a8e49eddcd4d5966648243c3a6fc41",
762
+ "images": 3117
763
+ },
764
+ {
765
+ "path": "gopro_processed_data/train/blur_rgb/part-00001.tar",
766
+ "bytes": 1076305920,
767
+ "sha256": "f577dcf400a93aa36196216ba5125f21d72b0b4c2651434ea00cf7a88ad66cf6",
768
+ "images": 3105
769
+ },
770
+ {
771
+ "path": "gopro_processed_data/train/blur_rgb/part-00002.tar",
772
+ "bytes": 32245760,
773
+ "sha256": "d509547d60e3ef9163c5f0cc43fa3a4520d078f4e1c3d36cd38b9c53d816c729",
774
+ "images": 87
775
+ },
776
+ {
777
+ "path": "gopro_processed_data/train/clean_rgb/part-00000.tar",
778
+ "bytes": 1076142080,
779
+ "sha256": "c9b7834d5de27d58a4d5402b41944dcc0bb74a484b36faec808280ba423b3647",
780
+ "images": 2825
781
+ },
782
+ {
783
+ "path": "gopro_processed_data/train/clean_rgb/part-00001.tar",
784
+ "bytes": 1075988480,
785
+ "sha256": "17ca6120fa725336eb0b2219d50a822a6acb7b8d5934f97c6d931b3951504eeb",
786
+ "images": 2767
787
+ },
788
+ {
789
+ "path": "gopro_processed_data/train/clean_rgb/part-00002.tar",
790
+ "bytes": 260433920,
791
+ "sha256": "ee079ca509dc87dc09544936bc9d093ddf1cf4e11da65d29dcfc09c8c10eb846",
792
+ "images": 717
793
  }
794
  ]
dataset.json CHANGED
@@ -33,10 +33,29 @@
33
  512
34
  ],
35
  "license": "CC-BY-4.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
  },
38
- "unique_images": 99552,
39
- "image_bytes": 226734005223,
40
- "archives": 118,
41
- "archive_bytes": 226811289600
42
  }
 
33
  512
34
  ],
35
  "license": "CC-BY-4.0"
36
+ },
37
+ "gopro_processed_data": {
38
+ "records": {
39
+ "train": 6309,
40
+ "test": 1111
41
+ },
42
+ "source_pairs": {
43
+ "train": 2103,
44
+ "test": 1111
45
+ },
46
+ "sequence_counts": {
47
+ "train": 22,
48
+ "test": 11
49
+ },
50
+ "sequence_overlap": 0,
51
+ "processed": true,
52
+ "training_variants_per_source": 3,
53
+ "image_format": "512x512 RGB PNG16; RAW is sparse RGGB; RGB source is 8-bit",
54
+ "license": "CC-BY-4.0"
55
  }
56
  },
57
+ "unique_images": 121812,
58
+ "image_bytes": 237861678275,
59
+ "archives": 132,
60
+ "archive_bytes": 237956167680
61
  }
files.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84ded8ec21089f717364dd3aca7a06c17b1b16be6e5e8354d99b00f40807f60a
3
- size 25327439
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16db4ba2b4485443d6b9df233479c450cc966b7ee44c12405a1259b714d6f078
3
+ size 31320220
gopro_processed_data/LICENSE.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ CC BY 4.0
2
+ https://creativecommons.org/licenses/by/4.0/
3
+
4
+ Source: Seungjun Nah, Tae Hyun Kim, Kyoung Mu Lee, GOPRO_Large (CVPR 2017).
5
+ https://seungjunnah.github.io/Datasets/gopro.html
6
+
7
+ Modifications: RawMoment center crops, low-light RAW degradation and training variants; see README.md.
gopro_processed_data/README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GoPro, processed for RawMoment
2
+
3
+ Prepared training and test data for **RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring**.
4
+
5
+ | Split | Official source pairs | Degraded samples | Size |
6
+ | --- | ---: | ---: | --- |
7
+ | Train | 2,103 | 6,309 (three variants per pair) | 512 × 512 |
8
+ | Test | 1,111 | 1,111 (one fixed variant per pair) | 512 × 512 |
9
+
10
+ The official GOPRO_Large train/test sequence split is retained. There is no separate validation split. Training variants share the source crop and sharp target; their RAW degradations differ.
11
+
12
+ ## Images and manifests
13
+
14
+ Each split contains `blur_raw/`, `blur_rgb/`, `clean_rgb/` and `manifest.jsonl`. Images are packed as tar archives; extract them from the dataset repository root. Archive members include the `gopro_processed_data/` prefix. File paths in each manifest are relative to its directory.
15
+
16
+ `RAW` maps to `blur_raw`: three-channel sparse RGGB RAW. `BLUR_RGB` maps to `blur_rgb`: the cropped original GoPro blur image, before low-light degradation. `RGB` maps to `clean_rgb`: the matching sharp target. There is no clean RAW modality. These data support Stage 2 training, rather than four-modality Stage 1 training.
17
+
18
+ Images are PNG16. Source GoPro RGB values are 8-bit and are stored as uint16 by multiplication by 257; this does not add source precision. Manifests retain the original sample IDs for reproducibility; `record_id` additionally distinguishes degradation variants. They include source sequence, variant index, crop origin, noise seed, ISO, noise coefficients and white balance gains.
19
+
20
+ ## Preprocessing
21
+
22
+ Official `blur_gamma` and `sharp` pairs are synchronously center-cropped from 1280 × 720 to 512 × 512, without resizing (y=104, x=384). GoPro motion blur is preserved. The RAW input follows the RawMoment low-light pipeline: gamma 1.6 darkening, calibrated OV50Q noise and white balance, black-level handling and RGGB sampling. ISO is sampled from 100, 400, 3200 and 12800. Sharp targets receive no low-light or noise degradation. Test samples use a fixed degradation realization.
23
+
24
+ ## Download
25
+
26
+ Request access to the dataset and sign in with an approved account:
27
+
28
+ ```bash
29
+ hf auth login
30
+ hf download yscript/RawMoment --repo-type dataset --local-dir RawMoment --include 'gopro_processed_data/*'
31
+ cd RawMoment
32
+ find gopro_processed_data -name '*.tar' -exec tar -xf {} \;
33
+ sha256sum -c gopro_processed_data/SHA256SUMS
34
+ ```
35
+
36
+ `files.jsonl` records individual image hashes; `archives.json` records archive hashes and sizes. Extraction preserves image bytes.
37
+
38
+ ## Source and license
39
+
40
+ Derived from [GOPRO_Large](https://seungjunnah.github.io/Datasets/gopro.html) by Seungjun Nah, Tae Hyun Kim and Kyoung Mu Lee, released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Changes comprise the crops, low-light RAW processing, training variants and packaging described above. Please retain source attribution and cite the original paper. This is the RawMoment derivative, not the unmodified official dataset.
41
+
42
+ ## Citation
43
+
44
+ [Official citation](https://github.com/SeungjunNah/DeepDeblur_release#deepdeblur_release):
45
+
46
+ ```bibtex
47
+ @InProceedings{Nah_2017_CVPR,
48
+ author = {Nah, Seungjun and Kim, Tae Hyun and Lee, Kyoung Mu},
49
+ title = {Deep Multi-Scale Convolutional Neural Network for Dynamic Scene Deblurring},
50
+ booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
51
+ month = {July},
52
+ year = {2017}
53
+ }
54
+ ```
gopro_processed_data/SHA256SUMS ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 32650a98fb08abc2d24c5599f7c674a024fffc10c8820cb505e646be8f85c18a gopro_processed_data/LICENSE.txt
2
+ 4eb603ac0e48d054495334c4702a2d88378dcd898e7052efe6b5c25f4befa470 gopro_processed_data/README.md
3
+ 9e8274e80512edf8c2ab12e3d56143489f47cc74bb980ace1c2b679d88388653 gopro_processed_data/archives.json
4
+ 803629373bbfe96f8abb203864cd26896efa0e5d85488aae3fc576f826e51816 gopro_processed_data/dataset.json
5
+ a8a76b2fd0a4fd0cdec232138bd0cb64945aa38da103a9e068d557cd0254a4b9 gopro_processed_data/files.jsonl
6
+ 0e6e6c05146245925ba82299ee2f26012d608c73a921035154b03149c326521c gopro_processed_data/test/blur_raw/part-00000.tar
7
+ 0ae5214f1c4fd6118b607ef095cda545305c33b139bc263ddd387867d04ec1d4 gopro_processed_data/test/blur_rgb/part-00000.tar
8
+ 512c6a2a27cd5462ec794ee3ee734f6d0c7166630d11b7b3a6580f91ccc34f68 gopro_processed_data/test/clean_rgb/part-00000.tar
9
+ 309688e16e32e607eb9bfa5a88049aac0f3e6c087f4fd4f1cee41c1ff2278f51 gopro_processed_data/test/manifest.jsonl
10
+ 2254f9152962dd42aa83141ad658edab0a9d8bfab0f89f92f70c33863b57cc68 gopro_processed_data/train/blur_raw/part-00000.tar
11
+ 81376a94b94d5ac10a9f65ebbccf6776905a62d7b6873c02200678d0e5603c5e gopro_processed_data/train/blur_raw/part-00001.tar
12
+ 04551ac4adc0006c3fe575dcf8e3c938887168c23783f6aff5a945a648cf7202 gopro_processed_data/train/blur_raw/part-00002.tar
13
+ e7f81d765c1ff85d17017149391b67d24fa4698d7621d620fc2001faacbd88e0 gopro_processed_data/train/blur_raw/part-00003.tar
14
+ 79d4ccb9b9b451cdc8ffc0db152c19541f74aa19c12fcb2018904fcc7251ac52 gopro_processed_data/train/blur_raw/part-00004.tar
15
+ 020c877300daddd9893b27b17215a840b8a8e49eddcd4d5966648243c3a6fc41 gopro_processed_data/train/blur_rgb/part-00000.tar
16
+ f577dcf400a93aa36196216ba5125f21d72b0b4c2651434ea00cf7a88ad66cf6 gopro_processed_data/train/blur_rgb/part-00001.tar
17
+ d509547d60e3ef9163c5f0cc43fa3a4520d078f4e1c3d36cd38b9c53d816c729 gopro_processed_data/train/blur_rgb/part-00002.tar
18
+ c9b7834d5de27d58a4d5402b41944dcc0bb74a484b36faec808280ba423b3647 gopro_processed_data/train/clean_rgb/part-00000.tar
19
+ 17ca6120fa725336eb0b2219d50a822a6acb7b8d5934f97c6d931b3951504eeb gopro_processed_data/train/clean_rgb/part-00001.tar
20
+ ee079ca509dc87dc09544936bc9d093ddf1cf4e11da65d29dcfc09c8c10eb846 gopro_processed_data/train/clean_rgb/part-00002.tar
21
+ df45085aa623e593e95db56f89feef773910982a43fe77307f1b70535375421a gopro_processed_data/train/manifest.jsonl
22
+ c4714c2ffe07e58d6f5563c2b5ee93f64f673ea711953801de02930c6f195d8a gopro_processed_data/validation.json
gopro_processed_data/archives.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "gopro_processed_data/test/blur_raw/part-00000.tar",
4
+ "bytes": 855480320,
5
+ "sha256": "0e6e6c05146245925ba82299ee2f26012d608c73a921035154b03149c326521c",
6
+ "images": 1111
7
+ },
8
+ {
9
+ "path": "gopro_processed_data/test/blur_rgb/part-00000.tar",
10
+ "bytes": 415242240,
11
+ "sha256": "0ae5214f1c4fd6118b607ef095cda545305c33b139bc263ddd387867d04ec1d4",
12
+ "images": 1111
13
+ },
14
+ {
15
+ "path": "gopro_processed_data/test/clean_rgb/part-00000.tar",
16
+ "bytes": 457779200,
17
+ "sha256": "512c6a2a27cd5462ec794ee3ee734f6d0c7166630d11b7b3a6580f91ccc34f68",
18
+ "images": 1111
19
+ },
20
+ {
21
+ "path": "gopro_processed_data/train/blur_raw/part-00000.tar",
22
+ "bytes": 1075077120,
23
+ "sha256": "2254f9152962dd42aa83141ad658edab0a9d8bfab0f89f92f70c33863b57cc68",
24
+ "images": 1405
25
+ },
26
+ {
27
+ "path": "gopro_processed_data/train/blur_raw/part-00001.tar",
28
+ "bytes": 1074821120,
29
+ "sha256": "81376a94b94d5ac10a9f65ebbccf6776905a62d7b6873c02200678d0e5603c5e",
30
+ "images": 1400
31
+ },
32
+ {
33
+ "path": "gopro_processed_data/train/blur_raw/part-00002.tar",
34
+ "bytes": 1075415040,
35
+ "sha256": "04551ac4adc0006c3fe575dcf8e3c938887168c23783f6aff5a945a648cf7202",
36
+ "images": 1404
37
+ },
38
+ {
39
+ "path": "gopro_processed_data/train/blur_raw/part-00003.tar",
40
+ "bytes": 1075537920,
41
+ "sha256": "e7f81d765c1ff85d17017149391b67d24fa4698d7621d620fc2001faacbd88e0",
42
+ "images": 1411
43
+ },
44
+ {
45
+ "path": "gopro_processed_data/train/blur_raw/part-00004.tar",
46
+ "bytes": 518164480,
47
+ "sha256": "79d4ccb9b9b451cdc8ffc0db152c19541f74aa19c12fcb2018904fcc7251ac52",
48
+ "images": 689
49
+ },
50
+ {
51
+ "path": "gopro_processed_data/train/blur_rgb/part-00000.tar",
52
+ "bytes": 1076244480,
53
+ "sha256": "020c877300daddd9893b27b17215a840b8a8e49eddcd4d5966648243c3a6fc41",
54
+ "images": 3117
55
+ },
56
+ {
57
+ "path": "gopro_processed_data/train/blur_rgb/part-00001.tar",
58
+ "bytes": 1076305920,
59
+ "sha256": "f577dcf400a93aa36196216ba5125f21d72b0b4c2651434ea00cf7a88ad66cf6",
60
+ "images": 3105
61
+ },
62
+ {
63
+ "path": "gopro_processed_data/train/blur_rgb/part-00002.tar",
64
+ "bytes": 32245760,
65
+ "sha256": "d509547d60e3ef9163c5f0cc43fa3a4520d078f4e1c3d36cd38b9c53d816c729",
66
+ "images": 87
67
+ },
68
+ {
69
+ "path": "gopro_processed_data/train/clean_rgb/part-00000.tar",
70
+ "bytes": 1076142080,
71
+ "sha256": "c9b7834d5de27d58a4d5402b41944dcc0bb74a484b36faec808280ba423b3647",
72
+ "images": 2825
73
+ },
74
+ {
75
+ "path": "gopro_processed_data/train/clean_rgb/part-00001.tar",
76
+ "bytes": 1075988480,
77
+ "sha256": "17ca6120fa725336eb0b2219d50a822a6acb7b8d5934f97c6d931b3951504eeb",
78
+ "images": 2767
79
+ },
80
+ {
81
+ "path": "gopro_processed_data/train/clean_rgb/part-00002.tar",
82
+ "bytes": 260433920,
83
+ "sha256": "ee079ca509dc87dc09544936bc9d093ddf1cf4e11da65d29dcfc09c8c10eb846",
84
+ "images": 717
85
+ }
86
+ ]
gopro_processed_data/dataset.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "GoPro, processed for RawMoment",
3
+ "splits": {
4
+ "train": 6309,
5
+ "test": 1111
6
+ },
7
+ "source_pairs": {
8
+ "train": 2103,
9
+ "test": 1111
10
+ },
11
+ "training_variants_per_source": 3,
12
+ "test_variants_per_source": 1,
13
+ "size": [
14
+ 512,
15
+ 512
16
+ ],
17
+ "modalities": [
18
+ "blur_raw",
19
+ "blur_rgb",
20
+ "clean_rgb"
21
+ ],
22
+ "source": "https://seungjunnah.github.io/Datasets/gopro.html",
23
+ "license": "CC-BY-4.0",
24
+ "source_manifest_sha256": "8ad8d4a71b65ec0682269ebf997a37c514b1337b949f813e8f293d6028f6fb55",
25
+ "complete": true
26
+ }
gopro_processed_data/files.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a76b2fd0a4fd0cdec232138bd0cb64945aa38da103a9e068d557cd0254a4b9
3
+ size 5992781
gopro_processed_data/test/manifest.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:309688e16e32e607eb9bfa5a88049aac0f3e6c087f4fd4f1cee41c1ff2278f51
3
+ size 1189757
gopro_processed_data/train/manifest.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df45085aa623e593e95db56f89feef773910982a43fe77307f1b70535375421a
3
+ size 6800400
gopro_processed_data/validation.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "passed": true,
3
+ "pairs": 7420,
4
+ "png_files_verified_during_packing": 22260,
5
+ "archives": 14,
6
+ "archive_bytes": 11144878080,
7
+ "official_sequence_overlap": 0,
8
+ "independent_source_validation": {
9
+ "passed": true,
10
+ "pairs": 7420,
11
+ "source_pairs": 3214,
12
+ "splits": {
13
+ "test": 1111,
14
+ "train": 6309
15
+ },
16
+ "all_file_hashes_decoded_shapes_and_CFA_verified": 7420,
17
+ "legacy_replay_sources": 33,
18
+ "legacy_replay_variants": 77,
19
+ "legacy_replay_pixel_exact": true,
20
+ "compared_smoke_variants": 77,
21
+ "actual_stage2_loader_samples": 132,
22
+ "official_sequence_overlap": 0,
23
+ "manifest_sha256": "8ad8d4a71b65ec0682269ebf997a37c514b1337b949f813e8f293d6028f6fb55"
24
+ }
25
+ }
validation.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
  "passed": true,
3
  "layout_version": 2,
4
- "archives": 118,
5
- "full_archive_hashes": true,
6
- "sampled_images": 118,
7
- "verification_workers": 2,
8
- "unique_images": 99552,
9
- "referenced_images": 99552,
10
  "records": {
11
  "rawmoment_data/train/stage1.jsonl": 29634,
12
  "rawmoment_data/train/stage2.jsonl": 29634,
@@ -14,9 +14,13 @@
14
  "rawmoment_data/val/stage2.jsonl": 366,
15
  "rawmoment_data/test/manifest.jsonl": 200,
16
  "realblur_processed_data/train/manifest.jsonl": 3758,
17
- "realblur_processed_data/test/manifest.jsonl": 980
 
 
18
  },
19
  "rawmoment_video_group_overlap": 0,
20
  "realblur_scene_overlap": 0,
21
- "source_png_checksums_verified_during_packing": 99552
 
 
22
  }
 
1
  {
2
  "passed": true,
3
  "layout_version": 2,
4
+ "archives": 132,
5
+ "full_archive_hashes": false,
6
+ "sampled_images": 132,
7
+ "verification_workers": 1,
8
+ "unique_images": 121812,
9
+ "referenced_images": 121812,
10
  "records": {
11
  "rawmoment_data/train/stage1.jsonl": 29634,
12
  "rawmoment_data/train/stage2.jsonl": 29634,
 
14
  "rawmoment_data/val/stage2.jsonl": 366,
15
  "rawmoment_data/test/manifest.jsonl": 200,
16
  "realblur_processed_data/train/manifest.jsonl": 3758,
17
+ "realblur_processed_data/test/manifest.jsonl": 980,
18
+ "gopro_processed_data/train/manifest.jsonl": 6309,
19
+ "gopro_processed_data/test/manifest.jsonl": 1111
20
  },
21
  "rawmoment_video_group_overlap": 0,
22
  "realblur_scene_overlap": 0,
23
+ "source_png_checksums_verified_during_packing": 121812,
24
+ "gopro_full_archive_hashes": true,
25
+ "gopro_source_png_checksums_verified_during_packing": 22260
26
  }
verify_release.py CHANGED
@@ -1,4 +1,4 @@
1
- """Verify the two-dataset release without extracting images or writing temporary files."""
2
 
3
  import argparse
4
  import hashlib
@@ -41,8 +41,8 @@ def verify(root, full=False, checksums=True, workers=2):
41
  assert 1 <= workers <= 16
42
  summary = json.loads((root / "dataset.json").read_text())
43
  assert summary["complete"] and summary["layout_version"] == 2
44
- allowed_roots = {"rawmoment_data", "realblur_processed_data"}
45
- assert {p.name for p in root.iterdir() if p.is_dir()} == allowed_roots
46
  if checksums:
47
  for line in (root / "SHA256SUMS").read_text().splitlines():
48
  expected, relative = line.split(" ", 1)
@@ -54,20 +54,22 @@ def verify(root, full=False, checksums=True, workers=2):
54
  files = {r["path"]: r for r in catalog_rows}
55
  assert len(files) == len(catalog_rows) == summary["unique_images"]
56
  referenced, groups, scenes, counts = set(), {}, {}, {}
 
57
  manifests = [
58
  (f"rawmoment_data/{split}/{stage}.jsonl", split, stage)
59
  for split in ("train", "val") for stage in ("stage1", "stage2")
60
  ] + [("rawmoment_data/test/manifest.jsonl", "test", "test")]
61
  manifests += [(f"realblur_processed_data/{split}/manifest.jsonl", split, "realblur")
62
  for split in ("train", "test")]
 
63
  for name, split, kind in manifests:
64
  records = rows(root / name)
65
- assert len({r["sample_id"] for r in records}) == len(records)
66
  parent = PurePosixPath(name).parent
67
  for row in records:
68
  assert row["split"] == split
69
  for relative in row["files"].values():
70
- path = PurePosixPath(relative)
71
  assert not path.is_absolute() and ".." not in path.parts
72
  public_path = (parent / path).as_posix()
73
  assert public_path in files
@@ -82,6 +84,10 @@ def verify(root, full=False, checksums=True, workers=2):
82
  assert h == w == 512 and y >= 0 and x >= 0
83
  assert y + h <= height and x + w <= width and y % 16 == x % 16 == 0
84
  assert [y, x] in row["valid_crop_origins_512"]
 
 
 
 
85
  else:
86
  groups.setdefault(split, set()).add(row["group"])
87
  if kind == "stage1":
@@ -89,6 +95,8 @@ def verify(root, full=False, checksums=True, workers=2):
89
  elif kind == "stage2":
90
  assert set(row["files"]) == {"RAW", "RGB"}
91
  counts[name] = len(records)
 
 
92
  assert referenced == set(files)
93
  assert not groups["train"] & groups["val"]
94
  assert not (groups["train"] | groups["val"]) & groups["test"]
@@ -106,6 +114,7 @@ def verify(root, full=False, checksums=True, workers=2):
106
  "realblur_processed_data/train/manifest.jsonl": real_counts["train"],
107
  "realblur_processed_data/test/manifest.jsonl": real_counts["test"],
108
  }
 
109
  assert counts == expected_counts
110
  archives = json.loads((root / "archives.json").read_text())
111
  assert len(archives) == summary["archives"]
 
1
+ """Verify the dataset release without extracting images or writing temporary files."""
2
 
3
  import argparse
4
  import hashlib
 
41
  assert 1 <= workers <= 16
42
  summary = json.loads((root / "dataset.json").read_text())
43
  assert summary["complete"] and summary["layout_version"] == 2
44
+ allowed_roots = set(summary["datasets"])
45
+ assert all((root / name).is_dir() for name in allowed_roots)
46
  if checksums:
47
  for line in (root / "SHA256SUMS").read_text().splitlines():
48
  expected, relative = line.split(" ", 1)
 
54
  files = {r["path"]: r for r in catalog_rows}
55
  assert len(files) == len(catalog_rows) == summary["unique_images"]
56
  referenced, groups, scenes, counts = set(), {}, {}, {}
57
+ gopro_groups = {}
58
  manifests = [
59
  (f"rawmoment_data/{split}/{stage}.jsonl", split, stage)
60
  for split in ("train", "val") for stage in ("stage1", "stage2")
61
  ] + [("rawmoment_data/test/manifest.jsonl", "test", "test")]
62
  manifests += [(f"realblur_processed_data/{split}/manifest.jsonl", split, "realblur")
63
  for split in ("train", "test")]
64
+ manifests += [(f"gopro_processed_data/{split}/manifest.jsonl", split, "gopro") for split in ("train", "test")]
65
  for name, split, kind in manifests:
66
  records = rows(root / name)
67
+ assert len({r.get("record_id", r["sample_id"]) for r in records}) == len(records)
68
  parent = PurePosixPath(name).parent
69
  for row in records:
70
  assert row["split"] == split
71
  for relative in row["files"].values():
72
+ path = PurePosixPath(relative["path"] if isinstance(relative, dict) else relative)
73
  assert not path.is_absolute() and ".." not in path.parts
74
  public_path = (parent / path).as_posix()
75
  assert public_path in files
 
84
  assert h == w == 512 and y >= 0 and x >= 0
85
  assert y + h <= height and x + w <= width and y % 16 == x % 16 == 0
86
  assert [y, x] in row["valid_crop_origins_512"]
87
+ elif kind == "gopro":
88
+ gopro_groups.setdefault(split, set()).add(row["group"])
89
+ assert set(row["files"]) == {"RAW", "RGB", "BLUR_RGB"}
90
+ assert (row["height"], row["width"]) == (512, 512)
91
  else:
92
  groups.setdefault(split, set()).add(row["group"])
93
  if kind == "stage1":
 
95
  elif kind == "stage2":
96
  assert set(row["files"]) == {"RAW", "RGB"}
97
  counts[name] = len(records)
98
+ assert not gopro_groups["train"] & gopro_groups["test"]
99
+ assert {k: len(v) for k, v in gopro_groups.items()} == {"train":22,"test":11}
100
  assert referenced == set(files)
101
  assert not groups["train"] & groups["val"]
102
  assert not (groups["train"] | groups["val"]) & groups["test"]
 
114
  "realblur_processed_data/train/manifest.jsonl": real_counts["train"],
115
  "realblur_processed_data/test/manifest.jsonl": real_counts["test"],
116
  }
117
+ expected_counts.update({f"gopro_processed_data/{s}/manifest.jsonl":n for s,n in summary["datasets"]["gopro_processed_data"]["records"].items()})
118
  assert counts == expected_counts
119
  archives = json.loads((root / "archives.json").read_text())
120
  assert len(archives) == summary["archives"]