Datasets:
Introduce RawMoment paper datasets and link the code repository
Browse files- README.md +39 -8
- SHA256SUMS +3 -3
- rawmoment_data/README.md +15 -7
- realblur_processed_data/README.md +19 -11
README.md
CHANGED
|
@@ -1,24 +1,55 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: dataset-specific-terms
|
| 4 |
license_link: https://huggingface.co/datasets/yscript/RawMoment/blob/main/DATA_TERMS.md
|
| 5 |
task_categories:
|
| 6 |
- image-to-image
|
| 7 |
tags:
|
|
|
|
| 8 |
- raw-image-restoration
|
| 9 |
- motion-deblurring
|
| 10 |
---
|
| 11 |
-
# RawMoment
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
-
*
|
| 16 |
-
* `realblur_processed_data/`: our processed derivative of RealBlur, with 3,758 official training pairs and 980 official test pairs.
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: "RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring"
|
| 3 |
license: other
|
| 4 |
license_name: dataset-specific-terms
|
| 5 |
license_link: https://huggingface.co/datasets/yscript/RawMoment/blob/main/DATA_TERMS.md
|
| 6 |
task_categories:
|
| 7 |
- image-to-image
|
| 8 |
tags:
|
| 9 |
+
- rawmoment
|
| 10 |
- raw-image-restoration
|
| 11 |
- motion-deblurring
|
| 12 |
---
|
| 13 |
+
# RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring
|
| 14 |
|
| 15 |
+
Training and evaluation datasets accompanying the paper.
|
| 16 |
|
| 17 |
+
**Code:** [script-Yang/rawmoment](https://github.com/script-Yang/rawmoment)
|
|
|
|
| 18 |
|
| 19 |
+
## Datasets
|
| 20 |
|
| 21 |
+
| Dataset | Train | Val | Test | Evaluation size |
|
| 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
|
| 31 |
+
rawmoment_data/
|
| 32 |
+
train/ # blur_raw, blur_rgb, clean_raw, clean_rgb
|
| 33 |
+
val/ # blur_raw, blur_rgb, clean_raw, clean_rgb
|
| 34 |
+
test/ # RawMoment-Bench: blur_raw, blur_rgb, clean_rgb
|
| 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 |
+
|
| 44 |
+
Downloads require manual approval. Request access on this page, then sign in with your approved account:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 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
|
| 54 |
+
|
| 55 |
+
See [DATA_TERMS.md](DATA_TERMS.md) for RawMoment source data terms. Processed RealBlur follows the original dataset's CC BY 4.0 license; attribution and preprocessing are documented [here](realblur_processed_data/README.md).
|
SHA256SUMS
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
a5fb6342bc4b2c6fe62e47e466478afe1fc19c5e8a8ca56fecc7544d07910465 DATA_TERMS.md
|
| 2 |
-
|
| 3 |
0dd254926425c08f6e492dc05b8f0e9dcaded5c5edaa336cfa55db7446d91e4c archives.json
|
| 4 |
ec560c21706938d1886f3faecb3f59b3b5689670927370135b08fd676b076f53 dataset.json
|
| 5 |
84ded8ec21089f717364dd3aca7a06c17b1b16be6e5e8354d99b00f40807f60a files.jsonl
|
| 6 |
f6e915dc4769d6f61475fbc44dde61c414df0351d3ebb38ebb8d4d449d16c56f rawmoment_data/DATA_TERMS.md
|
| 7 |
-
|
| 8 |
d5f1316d992819b47b209d9cea2000387873f058888111abe5851ef66c620229 rawmoment_data/provenance.jsonl
|
| 9 |
f03a392da0db843695b1f71f559b0ee5ffc1a09e2a7b925f3789f5f7bf24d45c rawmoment_data/test/blur_raw/part-00000.tar
|
| 10 |
33926c3f652029b6016c32e38a33a9a1e1d7ca97e259160b8481bfc9308118a2 rawmoment_data/test/blur_rgb/part-00000.tar
|
|
@@ -116,7 +116,7 @@ e061e8f9843beeb7ffd5a4c1ec46d483ae861f7063aa31ca75c7f65a1bcdc0b8 rawmoment_data
|
|
| 116 |
06319f9f3cd4fece4c2c335abeb6b5c734a84684a23368c1445b0a83a990e232 rawmoment_data/val/stage2.jsonl
|
| 117 |
5f572046d29b96f8e1ce354388ef68a7d73e8fb009c22752ba0c98fbbd206c41 realblur_processed_data/LICENSE.txt
|
| 118 |
3285bcdbd2e670b3f5404d8cc00d82d7a7de704f1d015770926886647ec18e9d realblur_processed_data/PREPROCESSING.md
|
| 119 |
-
|
| 120 |
1bba08b76156a440eb5e5edb889841863f521162575b959a854a9394e8d556ea realblur_processed_data/test/blur_raw/part-00000.tar
|
| 121 |
7ff4d05eb644c9f35403e6f51ebcc65c24137db214d479cbac3a27e6f9d611c6 realblur_processed_data/test/blur_rgb/part-00000.tar
|
| 122 |
3145314b1a89a72ae7770f9c8a6b04e33aabc60808d5cb1a1b8a619fc842446c realblur_processed_data/test/blur_rgb/part-00001.tar
|
|
|
|
| 1 |
a5fb6342bc4b2c6fe62e47e466478afe1fc19c5e8a8ca56fecc7544d07910465 DATA_TERMS.md
|
| 2 |
+
4e25944465ebb7f8435f57c3f466531a2b47ecd8f396332c9fb754de672f96d6 README.md
|
| 3 |
0dd254926425c08f6e492dc05b8f0e9dcaded5c5edaa336cfa55db7446d91e4c archives.json
|
| 4 |
ec560c21706938d1886f3faecb3f59b3b5689670927370135b08fd676b076f53 dataset.json
|
| 5 |
84ded8ec21089f717364dd3aca7a06c17b1b16be6e5e8354d99b00f40807f60a files.jsonl
|
| 6 |
f6e915dc4769d6f61475fbc44dde61c414df0351d3ebb38ebb8d4d449d16c56f rawmoment_data/DATA_TERMS.md
|
| 7 |
+
07d7aebc2813bf45f664a56f34890434fb6f8cbbec2365a7d71711d13e89334a rawmoment_data/README.md
|
| 8 |
d5f1316d992819b47b209d9cea2000387873f058888111abe5851ef66c620229 rawmoment_data/provenance.jsonl
|
| 9 |
f03a392da0db843695b1f71f559b0ee5ffc1a09e2a7b925f3789f5f7bf24d45c rawmoment_data/test/blur_raw/part-00000.tar
|
| 10 |
33926c3f652029b6016c32e38a33a9a1e1d7ca97e259160b8481bfc9308118a2 rawmoment_data/test/blur_rgb/part-00000.tar
|
|
|
|
| 116 |
06319f9f3cd4fece4c2c335abeb6b5c734a84684a23368c1445b0a83a990e232 rawmoment_data/val/stage2.jsonl
|
| 117 |
5f572046d29b96f8e1ce354388ef68a7d73e8fb009c22752ba0c98fbbd206c41 realblur_processed_data/LICENSE.txt
|
| 118 |
3285bcdbd2e670b3f5404d8cc00d82d7a7de704f1d015770926886647ec18e9d realblur_processed_data/PREPROCESSING.md
|
| 119 |
+
532aa18453e435d0ab88051fc95eb4ec55c03dbcf456c9c9fa0e400cd3a1c0e5 realblur_processed_data/README.md
|
| 120 |
1bba08b76156a440eb5e5edb889841863f521162575b959a854a9394e8d556ea realblur_processed_data/test/blur_raw/part-00000.tar
|
| 121 |
7ff4d05eb644c9f35403e6f51ebcc65c24137db214d479cbac3a27e6f9d611c6 realblur_processed_data/test/blur_rgb/part-00000.tar
|
| 122 |
3145314b1a89a72ae7770f9c8a6b04e33aabc60808d5cb1a1b8a619fc842446c realblur_processed_data/test/blur_rgb/part-00001.tar
|
rawmoment_data/README.md
CHANGED
|
@@ -1,15 +1,23 @@
|
|
| 1 |
# RawMoment data
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# RawMoment data
|
| 2 |
|
| 3 |
+
The split contains 29,634 training samples, 366 validation samples and 200 test samples (RawMoment-Bench). Source videos are disjoint across splits.
|
| 4 |
|
| 5 |
+
## Image format
|
| 6 |
|
| 7 |
+
All images are 1024 × 1024, stored as three-channel PNG16. RAW is a sparse RGGB mosaic with normalized black level 1/16 and white level 1. Simulated noise and white balance are already included.
|
| 8 |
|
| 9 |
+
Train and val contain `blur_raw`, `blur_rgb`, `clean_raw` and `clean_rgb`. Test contains `blur_raw`, `blur_rgb` and `clean_rgb`.
|
| 10 |
|
| 11 |
+
## Manifests
|
| 12 |
|
| 13 |
+
| Use | Manifest | Images |
|
| 14 |
+
| --- | --- | --- |
|
| 15 |
+
| Stage 1 | `train/stage1.jsonl`, `val/stage1.jsonl` | All four modalities |
|
| 16 |
+
| Stage 2 | `train/stage2.jsonl`, `val/stage2.jsonl` | Blurred RAW and clean RGB |
|
| 17 |
+
| RawMoment-Bench | `test/manifest.jsonl` | Blurred RAW, blurred RGB and clean RGB |
|
| 18 |
|
| 19 |
+
Paths are relative to each manifest. Stage 2 records also provide `noise_iso`, `noise_a`, `noise_b` and `wb_gain`. Sample IDs determine inference seeds.
|
| 20 |
+
|
| 21 |
+
The [training and inference code](https://github.com/script-Yang/rawmoment) accepts these manifests through `data.manifest`. RawMoment-Bench supports 512 × 512 crops and native 1024 × 1024 inference.
|
| 22 |
+
|
| 23 |
+
Source data terms are in [DATA_TERMS.md](DATA_TERMS.md). Video sources and degradation settings are listed in `provenance.jsonl`.
|
realblur_processed_data/README.md
CHANGED
|
@@ -1,20 +1,28 @@
|
|
| 1 |
# RealBlur processed for RawMoment
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
-
* clean_rgb: registered clean RGB targets in PNG16.
|
| 11 |
-
* blur_rgb: a fixed ISP rendering for inspection.
|
| 12 |
-
* valid_mask: uint8 masks for geometrically valid target regions.
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# RealBlur processed for RawMoment
|
| 2 |
|
| 3 |
+
RealBlur data used for training and evaluation in *RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring*.
|
| 4 |
|
| 5 |
+
**Code:** [script-Yang/rawmoment](https://github.com/script-Yang/rawmoment)
|
| 6 |
|
| 7 |
+
The official split is retained: 3,758 training pairs from 182 scenes and 980 test pairs from 50 separate scenes.
|
| 8 |
|
| 9 |
+
## Format and evaluation
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
Each split contains `manifest.jsonl` and four image directories:
|
| 12 |
|
| 13 |
+
| Directory | Content |
|
| 14 |
+
| --- | --- |
|
| 15 |
+
| `blur_raw` | Sony RGGB mosaic, 14-bit DN stored in uint16 |
|
| 16 |
+
| `blur_rgb` | Fixed ISP rendering of the input |
|
| 17 |
+
| `clean_rgb` | Registered clean RGB target, PNG16 |
|
| 18 |
+
| `valid_mask` | Valid target regions, uint8 |
|
| 19 |
|
| 20 |
+
Processed images are typically 744 × 648 (height × width). Evaluation uses the valid 512 × 512 crop in `eval_crop_yxhw`. Training crop origins are listed in `valid_crop_origins_512`, on a 16-pixel grid.
|
| 21 |
|
| 22 |
+
Normalize RAW as `(DN - 512) / (16383 - 512)`, including negative values below black, and apply the recorded white balance once. `blur_noise_ab` already includes the bin4 variance factor of 1/16. See [PREPROCESSING.md](PREPROCESSING.md) for registration, target transfer and normalization details.
|
| 23 |
+
|
| 24 |
+
## Source and license
|
| 25 |
+
|
| 26 |
+
Jaesung Rim, Haeyun Lee, Jucheol Won and Sunghyun Cho. *Real-World Blur Dataset for Learning and Benchmarking Deblurring Algorithms*. ECCV 2020.
|
| 27 |
+
|
| 28 |
+
[Original RealBlur dataset](https://github.com/rimchang/RealBlur) · [CC BY 4.0](LICENSE.txt)
|