royguw commited on
Commit
9066b91
·
verified ·
1 Parent(s): c135cad

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +104 -0
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: mixed-upstream-licenses
4
+ license_link: https://huggingface.co/datasets/royguw/mm-olmo-images#licensing-and-attribution
5
+ pretty_name: mm-olmo images and video frames
6
+ task_categories:
7
+ - image-segmentation
8
+ - object-detection
9
+ - mask-generation
10
+ tags:
11
+ - grounding
12
+ - referring-expression-segmentation
13
+ - video-object-segmentation
14
+ - image-mirror
15
+ size_categories:
16
+ - 1M<n<10M
17
+ ---
18
+
19
+ # mm-olmo images and video frames
20
+
21
+ A **pixel mirror**: the exact set of images and video frames that a grounding/segmentation
22
+ training stack reads from outside its own annotation tree. It contains no annotations of its
23
+ own — every mask, box, caption and vocabulary lives in the annotation parquets of the
24
+ companion tree (`grounding_data`). This repo exists so that the annotations are actually
25
+ usable by someone who does not have the original cluster filesystem.
26
+
27
+ The file list is not a whole-dataset dump. It is exactly the files referenced by the
28
+ training/eval parquets, which is 5–10× smaller than mirroring the upstream datasets whole
29
+ (for example the BURST frames are 143,519 keyframes / 15.4 GiB, out of 1,574,936 files /
30
+ 171 GiB present in the source `TAO-Amodal` tree).
31
+
32
+ ## Contents
33
+
34
+ | Group | Files | Size | Upstream source |
35
+ |---|---|---|---|
36
+ | `Objects365-2020` | 345,442 | 78.6 GiB | Objects365 v2 train images |
37
+ | `SA-1B` | 71,077 | 56.8 GiB | SA-1B (high-instance-count subset) |
38
+ | `BURST` | 143,519 | 15.4 GiB | TAO-Amodal frames (BURST annotates TAO videos) |
39
+ | `LVOSv1` | 96,395 | 14.0 GiB | LVOS v1 |
40
+ | `OVIS` | 53,857 | 12.6 GiB | OVIS |
41
+ | `pixmo_images` | 56,831 | 10.0 GiB | PixMo pointing images |
42
+ | `Ref-YT-VOS` | 100,074 | 8.5 GiB | Refer-YouTube-VOS |
43
+ | `LV-VIS` | 88,577 | 8.4 GiB | LV-VIS |
44
+ | `YT-VIS` | 30,452 | 7.4 GiB | YouTube-VIS (JPEG dirs + train `.mp4`s) |
45
+ | `ADE20k` | 55,151 | 6.0 GiB | ADE20K, Supervisely format (`img/` + `ann/` + parquet caches) |
46
+ | `ReVOS` | 35,161 | 5.8 GiB | ReVOS |
47
+ | `Ref-DAVIS17` | 6,208 | 895 MiB | Refer-DAVIS17 |
48
+ | **Total** | **1,082,744** | **224.5 GiB** | 52 tar shards |
49
+
50
+ ## Layout
51
+
52
+ ```
53
+ shards/<group>/<group>-00000.tar # ~5 GiB each; tar members are paths relative to the mm-olmo root
54
+ index/<group>.parquet # path -> shard, size (for fetching selectively)
55
+ ```
56
+
57
+ Packed as tar shards rather than loose files because the Hub asks for fewer than 100k files
58
+ per repo and at most 10k entries per folder; 1.08M loose images would violate both. Note
59
+ this means the dataset viewer does not apply — the payload is a file tree, not tabular rows.
60
+
61
+ ## Reconstructing the tree
62
+
63
+ Tar members are relative paths, so extracting every shard into one directory rebuilds the
64
+ original layout:
65
+
66
+ ```bash
67
+ hf download royguw/mm-olmo-images --repo-type dataset --local-dir ./dl
68
+ MM_ROOT=/your/path/to/mm-olmo
69
+ for t in ./dl/shards/*/*.tar; do tar -xf "$t" -C "$MM_ROOT"; done
70
+ ```
71
+
72
+ You then get `$MM_ROOT/img_datasets/…`, `$MM_ROOT/images/ADE20k/…`,
73
+ `$MM_ROOT/torch_datasets/pixmo_images/…` and `$MM_ROOT/video_datasets/…`.
74
+
75
+ To grab one subset only, read its `index/<group>.parquet`, take the distinct `shard`
76
+ values, and download just those:
77
+
78
+ ```python
79
+ import pyarrow.parquet as pq
80
+ from huggingface_hub import hf_hub_download
81
+
82
+ idx = pq.read_table(hf_hub_download("royguw/mm-olmo-images", "index/ADE20k.parquet",
83
+ repo_type="dataset")).to_pydict()
84
+ for shard in dict.fromkeys(idx["shard"]):
85
+ hf_hub_download("royguw/mm-olmo-images", shard, repo_type="dataset")
86
+ ```
87
+
88
+ The annotation parquets that reference these files store absolute paths, so after extracting
89
+ you will need to rewrite their stored prefix to `$MM_ROOT`.
90
+
91
+ ## Licensing and attribution
92
+
93
+ This is a **redistribution mirror of third-party datasets**, assembled only to make the
94
+ companion annotations reproducible. It is not a new dataset and no new license is claimed
95
+ over the pixels.
96
+
97
+ Each group above remains under the license of its upstream source, and those licenses
98
+ differ — several are research/non-commercial only, and some require agreeing to upstream
99
+ terms before use. **Before using any group, check that group's upstream license and comply
100
+ with it.** If you are an author or rights-holder of any upstream dataset here and want a
101
+ subset removed, open a discussion on this repo and it will be taken down.
102
+
103
+ No attempt has been made to relicense, and the per-group provenance table above is provided
104
+ precisely so that each source stays traceable.