Joocjun commited on
Commit
efd205d
·
verified ·
1 Parent(s): 3476428

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +123 -0
README.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - GR00T
8
+ - GR1
9
+ - robocasa
10
+ - simulation
11
+ - manipulation
12
+ size_categories:
13
+ - 10K<n<100K
14
+ ---
15
+
16
+ # GR1 Tabletop Merged LeRobot Datasets
17
+
18
+ Merged and subsampled versions of the GR1 tabletop manipulation datasets from the [NVIDIA PhysicalAI-Robotics-GR00T-X-Embodiment-Sim](https://huggingface.co/datasets/nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim) collection, formatted in **LeRobot v2.0** format.
19
+
20
+ ## Dataset Variants
21
+
22
+ | Variant | Demos/Task | Tasks | Total Episodes | Total Frames | Approx Size |
23
+ |---------|-----------|-------|----------------|--------------|-------------|
24
+ | `1000x24/` | 1000 | 24 folders, 186 unique tasks | 24,000 | 6,020,058 | ~40 GB |
25
+ | `300x24/` | 300 | 24 folders, 186 unique tasks | 7,200 | 1,803,236 | ~12 GB |
26
+ | `100x24/` | 100 | 24 folders, 185 unique tasks | 2,400 | 602,846 | ~4 GB |
27
+
28
+ ## Source Dataset
29
+
30
+ The original per-task datasets were downloaded from:
31
+ **[nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim](https://huggingface.co/datasets/nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim)**
32
+
33
+ To download the original dataset:
34
+ ```bash
35
+ # Install huggingface_hub
36
+ pip install huggingface_hub
37
+
38
+ # Download specific task datasets
39
+ from huggingface_hub import snapshot_download
40
+ snapshot_download(
41
+ repo_id="nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim",
42
+ repo_type="dataset",
43
+ allow_patterns="gr1_unified.PnP*", # or specific task patterns
44
+ local_dir="./original_data"
45
+ )
46
+ ```
47
+
48
+ The 24 source task folders used (each with 1000 demos):
49
+ - 6 **PnP** tasks: Bottle→Cabinet, Can→Drawer, Cup→Drawer, Milk→Microwave, Potato→Microwave, Wine→Cabinet
50
+ - 18 **PosttrainPnPNovel** tasks: Various object transfers between surfaces (Cuttingboard→{Basket,Cardboardbox,Pan,Pot,Tieredbasket}, Placemat→{Basket,Bowl,Plate,Tieredshelf}, Plate→{Bowl,Cardboardbox,Pan,Plate}, Tray→{Cardboardbox,Plate,Pot,Tieredbasket,Tieredshelf})
51
+
52
+ ## Processing
53
+
54
+ Each merged dataset was created by:
55
+
56
+ 1. **Subsampling**: Randomly sampling N episodes (with seed=42) from each of the 24 task folders
57
+ 2. **Merging**: Combining all sampled episodes into a single dataset with:
58
+ - Re-indexed episode IDs (0 to total-1)
59
+ - Globally re-indexed task IDs across all source folders
60
+ - Updated parquet files with corrected `episode_index`, `task_index`, and `index` columns
61
+ - Consolidated `meta/` files (`info.json`, `episodes.jsonl`, `tasks.jsonl`, `modality.json`)
62
+
63
+ ### Note on task counts
64
+
65
+ The `100x24` variant has 185 unique tasks instead of 186. This is because some task folders contain multiple task variants (e.g., the `PosttrainPnPNovelFromTrayToTieredbasket` folder has 10 different object variants like eggplant, tomato, etc.). The "eggplant" variant only appears in 58 out of 1000 source episodes, so when randomly sampling only 100 episodes, none of the eggplant episodes were selected. This is expected behavior with random subsampling.
66
+
67
+ ## Dataset Structure (LeRobot v2.0)
68
+
69
+ ```
70
+ <variant>/
71
+ ├── data/
72
+ │ └── chunk-000/
73
+ │ ├── episode_000000.parquet
74
+ │ ├── episode_000001.parquet
75
+ │ └── ...
76
+ ├── videos/
77
+ │ └── chunk-000/
78
+ │ └── observation.images.ego_view/
79
+ │ ├── episode_000000.mp4
80
+ │ ├── episode_000001.mp4
81
+ │ └── ...
82
+ └── meta/
83
+ ├── info.json
84
+ ├── episodes.jsonl
85
+ ├── tasks.jsonl
86
+ ├── modality.json
87
+ ├── stats.json
88
+ └── relative_stats.json
89
+ ```
90
+
91
+ ### Features
92
+
93
+ | Feature | Type | Shape |
94
+ |---------|------|-------|
95
+ | `observation.images.ego_view` | video (h264) | [256, 256, 3] @ 20fps |
96
+ | `observation.state` | float64 | [44] |
97
+ | `action` | float64 | [44] |
98
+ | `timestamp` | float64 | [1] |
99
+ | `next.reward` | float64 | [1] |
100
+ | `next.done` | bool | [1] |
101
+ | `task_index` | int64 | [1] |
102
+ | `episode_index` | int64 | [1] |
103
+ | `annotation.human.coarse_action` | int64 | [1] |
104
+
105
+ Robot: **GR1ArmsAndWaistFourierHands** (44-DOF: arms, hands, legs, neck, waist)
106
+
107
+ ## Usage
108
+
109
+ ```python
110
+ # Download a specific variant
111
+ from huggingface_hub import snapshot_download
112
+
113
+ snapshot_download(
114
+ repo_id="Joocjun/GR1-Tabletop-Merged-LeRobot",
115
+ repo_type="dataset",
116
+ allow_patterns="100x24/**", # or "300x24/**" or "1000x24/**"
117
+ local_dir="./gr1_merged"
118
+ )
119
+ ```
120
+
121
+ ## License
122
+
123
+ Apache 2.0 (following the original NVIDIA dataset license)