Datasets:
Commit ·
6eaedb9
1
Parent(s): e76f7c3
Show each sample as one viewer row: add per-split metadata pairing input and target (#8)
Browse files- Show each sample as one viewer row: add per-split metadata pairing input and target (40b9e77877a604646bc1d6c25641fcdad2b688cd)
Files changed (3)
- README.md+22-18
- Test/metadata.jsonlAdded
- Train/metadata.jsonlAdded
21 unmodified lines22232425262728293031323334353637383940414243444546474837 unmodified lines86878889909126 unmodified lines11811912012112212321 unmodified lines- 10K<n<100Kconfigs:- config_name: snowdrop_labels: truedata_files:- split: trainpath: Train/Snow/*.png- split: testpath: Test/Snow/*.png- config_name: gtdrop_labels: truedata_files:- split: trainpath: Train/Gt/*.png- split: testpath: Test/Gt/*.png- config_name: maskdrop_labels: truedata_files:- split: trainpath: Train/Mask/*.png- split: testpath: Test/Mask/*.png---# CSD: Comprehensive Snow Dataset (Unofficial Mirror)37 unmodified lines# Changes from the Official ReleaseNo images added or removed, and no relabeling. The `Train/{Gt,Mask,Snow}` and `Test/{Gt,Mask,Snow}` directory layout matches the official archive's structure exactly, this is a full mirror, not a subsample.**File format only:** the official archive ships LZW-compressed `.tif` files, which most browsers (and so the Hugging Face Dataset Viewer) cannot display. Every image was converted to `.png`, which is also lossless. Each conversion was checked pixel for pixel (identical values, color mode and size) against its source `.tif`, and each source `.tif` was first matched by SHA-256 against the file previously mirrored here. Filenames are unchanged apart from the extension (`1000.tif` is now `1000.png`). The PNGs take less than half the space of the original TIFFs (9.8 GB vs 23.7 GB). The original `.tif` files remain available in this repository's commit history.26 unmodified lines---# Usage with ClearViewThis dataset is designed to be used directly with [ClearView](https://github.com/dronefreak/clearview), an open-source PyTorch framework for image restoration.21 unmodified lines2223242526272829303132333435363737 unmodified lines757677787980818226 unmodified lines10911011111211311411511611711811912012112212312412512612721 unmodified lines- 10K<n<100Kconfigs:- config_name: defaultdata_files:- split: trainpath:- Train/metadata.jsonl- Train/*/*.png- split: testpath:- Test/metadata.jsonl- Test/*/*.png---# CSD: Comprehensive Snow Dataset (Unofficial Mirror)37 unmodified lines# Changes from the Official Release**Added: one `metadata.jsonl` per split folder** (`Train/` and `Test/`). Each line links the files of one sample, so the Dataset Viewer and `load_dataset` show every sample as one row: `snow`, `clean` and `mask` (the binary snow mask), plus its `id`. The image files themselves are untouched.No images added or removed, and no relabeling. The `Train/{Gt,Mask,Snow}` and `Test/{Gt,Mask,Snow}` directory layout matches the official archive's structure exactly, this is a full mirror, not a subsample.**File format only:** the official archive ships LZW-compressed `.tif` files, which most browsers (and so the Hugging Face Dataset Viewer) cannot display. Every image was converted to `.png`, which is also lossless. Each conversion was checked pixel for pixel (identical values, color mode and size) against its source `.tif`, and each source `.tif` was first matched by SHA-256 against the file previously mirrored here. Filenames are unchanged apart from the extension (`1000.tif` is now `1000.png`). The PNGs take less than half the space of the original TIFFs (9.8 GB vs 23.7 GB). The original `.tif` files remain available in this repository's commit history.26 unmodified lines---# Usage with 🤗 Datasets```pythonfrom datasets import load_datasetds = load_dataset("dronefreak/CSD", split="train") # splits: train, testrow = ds[0]row["snow"], row["clean"], row["mask"] # PIL imagesrow["id"] # e.g. "1"```---# Usage with ClearViewThis dataset is designed to be used directly with [ClearView](https://github.com/dronefreak/clearview), an open-source PyTorch framework for image restoration.
README.md+22-18
Test/metadata.jsonlAdded
Train/metadata.jsonlAdded