File size: 7,610 Bytes
5a35349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d64e37c
5a35349
d64e37c
 
 
5a35349
 
d64e37c
5a35349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d64e37c
5a35349
 
 
 
 
 
 
 
 
d64e37c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a35349
 
d64e37c
5a35349
 
 
 
 
 
 
 
 
d64e37c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a35349
 
 
 
d64e37c
5a35349
 
d64e37c
 
 
 
5a35349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d64e37c
 
5a35349
 
 
 
 
 
 
 
d64e37c
5a35349
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
---
license: apache-2.0
task_categories:
- robotics
tags:
- LeRobot
configs:
- config_name: default
  data_files: data/*/*.parquet
---

This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).


<a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=arkojit1/mj_stack_red_yellow">
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
</a>


## Dataset Description

Expert demonstrations of `stack the red block on the yellow block`, `stack the red block on the other`, `put the red block on top of the yellow block`, `put the red block on the other`, `stack the yellow block on the red block`, `stack the yellow block on the other`, `put the yellow block on top of the red block`, `put the yellow block on the other` in the mj_pick_block MuJoCo Franka Panda scene.

- **Source:** dataset recipe `stack_red_yellow` (`record_expert_dataset.py`)
  - `stack_red_on_yellow`: 50 episodes
  - `stack_yellow_on_red`: 50 episodes
- **Control rate:** 50 Hz
- **Frames:** `action.ee.delta_xyz` is a gripper-site translation in the MuJoCo world frame (meters). `action.ee.orientation` is the first two rows of the gripper site's **world-frame** rotation matrix (site axes expressed in world).
- **Observations:** `observation.image.front`, `observation.image.wrist` (224×224 RGB, MP4 under `videos/`); `observation.state` (`cartesian_position`: `x`, `y`, `z`, `gripper`) is world-frame end-effector xyz (gripper site, meters) plus gripper opening in `[0, 1]` (0 = closed, 1 = open)
- **Scene init:** repeated each frame; MuJoCo free-joint qpos `[x, y, z, qw, qx, qy, qz]` at episode start:
  - `scene_init.block_red.pose`: shape (7,), names ['x', 'y', 'z', 'qw', 'qx', 'qy', 'qz']
  - `scene_init.block_yellow.pose`: shape (7,), names ['x', 'y', 'z', 'qw', 'qx', 'qy', 'qz']
- **Gripper:** target opening in `[0, 1]` (0 = closed, 1 = open)
- **Recorded actions:**
  - `action.ee.delta_xyz`: shape (3,), names ['dx', 'dy', 'dz']
  - `action.ee.orientation`: shape (6,), names ['r00', 'r01', 'r02', 'r10', 'r11', 'r12']
  - `action.joint.delta_angles`: shape (7,), names ['joint1', 'joint2', 'joint3', 'joint4', 'joint5', 'joint6', 'joint7']
  - `action.gripper.target`: shape (1,), names ['gripper']

- **Homepage:** [More Information Needed]
- **Paper:** [More Information Needed]
- **License:** apache-2.0

## Dataset Structure

[meta/info.json](meta/info.json):
```json
{
    "codebase_version": "v3.0",
    "fps": 50,
    "features": {
        "observation.image.front": {
            "dtype": "video",
            "shape": [
                3,
                224,
                224
            ],
            "names": [
                "C",
                "H",
                "W"
            ],
            "info": {
                "video.height": 224,
                "video.width": 224,
                "video.codec": "av1",
                "video.pix_fmt": "yuv420p",
                "video.fps": 50,
                "video.channels": 3,
                "has_audio": false,
                "video.g": 2,
                "video.crf": 30,
                "video.preset": 12,
                "video.fast_decode": 0,
                "video.video_backend": "pyav",
                "video.extra_options": {},
                "is_depth_map": false
            }
        },
        "observation.image.wrist": {
            "dtype": "video",
            "shape": [
                3,
                224,
                224
            ],
            "names": [
                "C",
                "H",
                "W"
            ],
            "info": {
                "video.height": 224,
                "video.width": 224,
                "video.codec": "av1",
                "video.pix_fmt": "yuv420p",
                "video.fps": 50,
                "video.channels": 3,
                "has_audio": false,
                "video.g": 2,
                "video.crf": 30,
                "video.preset": 12,
                "video.fast_decode": 0,
                "video.video_backend": "pyav",
                "video.extra_options": {},
                "is_depth_map": false
            }
        },
        "observation.state": {
            "dtype": "float32",
            "shape": [
                4
            ],
            "names": [
                "x",
                "y",
                "z",
                "gripper"
            ]
        },
        "action.ee.delta_xyz": {
            "dtype": "float32",
            "shape": [
                3
            ],
            "names": [
                "dx",
                "dy",
                "dz"
            ]
        },
        "action.ee.orientation": {
            "dtype": "float32",
            "shape": [
                6
            ],
            "names": [
                "r00",
                "r01",
                "r02",
                "r10",
                "r11",
                "r12"
            ]
        },
        "action.joint.delta_angles": {
            "dtype": "float32",
            "shape": [
                7
            ],
            "names": [
                "joint1",
                "joint2",
                "joint3",
                "joint4",
                "joint5",
                "joint6",
                "joint7"
            ]
        },
        "action.gripper.target": {
            "dtype": "float32",
            "shape": [
                1
            ],
            "names": [
                "gripper"
            ]
        },
        "scene_init.block_red.pose": {
            "dtype": "float32",
            "shape": [
                7
            ],
            "names": [
                "x",
                "y",
                "z",
                "qw",
                "qx",
                "qy",
                "qz"
            ]
        },
        "scene_init.block_yellow.pose": {
            "dtype": "float32",
            "shape": [
                7
            ],
            "names": [
                "x",
                "y",
                "z",
                "qw",
                "qx",
                "qy",
                "qz"
            ]
        },
        "timestamp": {
            "dtype": "float32",
            "shape": [
                1
            ],
            "names": null
        },
        "frame_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "episode_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        },
        "task_index": {
            "dtype": "int64",
            "shape": [
                1
            ],
            "names": null
        }
    },
    "total_episodes": 100,
    "total_frames": 46585,
    "total_tasks": 8,
    "chunks_size": 1000,
    "data_files_size_in_mb": 100,
    "video_files_size_in_mb": 200,
    "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
    "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
    "robot_type": "panda",
    "splits": {
        "train": "0:100"
    }
}
```


## Citation

**BibTeX:**

```bibtex
[More Information Needed]
```