adhdmi commited on
Commit
36ce907
·
verified ·
1 Parent(s): aa5431a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +303 -92
README.md CHANGED
@@ -1,112 +1,323 @@
1
  ---
2
  license: apache-2.0
3
- pretty_name: KAPEX teleop · mug
4
- language:
5
- - en
6
  task_categories:
7
- - robotics
8
  tags:
9
- - lerobot
10
- - imitation-learning
11
- - manipulation
12
- - humanoid
13
- - kapex
14
- - teleoperation
15
- size_categories:
16
- - 10K<n<100K
17
  ---
18
- # KAPEX teleop · mug
19
 
20
- A [LeRobot](https://github.com/huggingface/lerobot)-format dataset captured
21
- through KAPEX humanoid teleoperation (Manus gloves + Vive trackers, plus
22
- optional VR head cameras).
23
 
24
- - **Repo id:** `adhdmi/mug`
25
- - **LeRobot codebase version:** `v3.0`
26
- - **Episodes / Frames:** 100 / 16893
27
- - **Control rate:** 20 fps
28
- - **State / Action dim:** 59 / 59
29
- **Task instruction (per episode):** *Pick up the mug with the right hand and place it on top of the cube*
30
 
 
 
 
 
31
 
32
- ## Schema
33
 
34
- | Feature | dtype | shape | rate |
35
- |---|---|---|---|
36
- | `observation.state` | float32 | (59,) | 20 fps |
37
- | `action` | float32 | (59,) | 20 fps |
38
- | `observation.images.cam_left` | video (av1) | (3, 480, 640) | 20 fps |
39
- | `observation.images.cam_right` | video (av1) | (3, 480, 640) | 20 fps |
40
- | `observation.images.cam_wrist_left` | video (av1) | (3, 480, 640) | 20 fps |
41
- | `observation.images.cam_wrist_right` | video (av1) | (3, 480, 640) | 20 fps |
42
 
43
- The 59-dimensional KAPEX joint layout (when full body is recorded):
44
- `3 waist + 2 head + 7 left arm + 7 right arm + 20 left hand + 20 right hand`.
45
- `observation.state` holds the *current* joint positions; `action` holds the
46
- *target* joint positions issued that tick. A learned policy that emits a
47
- 59-d vector in this layout is plug-compatible with `BaseEnv._apply_action`
48
- in the [Kapex Benchmark](https://github.com/) repository.
49
 
50
- ## Cameras
51
 
52
- All camera streams are stored as videos at 20 fps, channel-first `(3, H, W)`
53
- RGB layout (decoded by LeRobot's `VideoFrame` reader at load time).
 
54
 
55
- - `observation.images.cam_left` — head left eye (mounted on `HL2`)
56
- - `observation.images.cam_right` — head right eye (mounted on `HL2`)
57
- - `observation.images.cam_wrist_left` — left wrist camera (mounted on `LA7`)
58
- - `observation.images.cam_wrist_right` — right wrist camera (mounted on `RA7`)
59
 
60
- ## Loading the dataset
61
-
62
- ```python
63
- from lerobot.datasets.lerobot_dataset import LeRobotDataset
64
-
65
- ds = LeRobotDataset("adhdmi/mug") # downloads on first call
66
- print(len(ds), ds.meta.fps, list(ds.meta.features))
67
-
68
- sample = ds[0]
69
- print(sample["observation.state"].shape) # (59,)
70
- print(sample["action"].shape) # (59,)
71
- ```
72
-
73
- ## Training
74
-
75
- LeRobot 0.5.x ships training entry points as console scripts. Replace
76
- `act` with `diffusion`, `tdmpc`, `vqbet`, ... for other policy families.
77
-
78
- ```bash
79
- # Action-Chunking Transformer (ACT)
80
- lerobot-train \
81
- --policy.type=act \
82
- --dataset.repo_id=adhdmi/mug \
83
- --output_dir=./outputs/act_mug
84
-
85
- # Diffusion Policy
86
- lerobot-train \
87
- --policy.type=diffusion \
88
- --dataset.repo_id=adhdmi/mug \
89
- --output_dir=./outputs/diffusion_mug
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  ```
91
 
92
- ## Visualization
93
-
94
- ```bash
95
- # Interactive Rerun-based viewer
96
- lerobot-dataset-viz \
97
- --repo-id adhdmi/mug \
98
- --episode-index 0
99
- ```
100
 
101
- If `lerobot-dataset-viz` is not on your `$PATH`, run
102
- `python -m lerobot.scripts.visualize_dataset --repo-id adhdmi/mug --episode-index 0`
103
- on older releases.
104
 
105
- ## Authoring info
106
 
107
- - Recorded with `scripts/tabletop_teleop/run_teleop.py`.
108
- - Converted to LeRobot format with
109
- `scripts/tabletop_teleop/lerobot_pipeline/convert_record_data.py`.
110
- - Pushed to the Hub with
111
- `scripts/tabletop_teleop/lerobot_pipeline/export_and_upload.py`.
112
- - Maintainer: `adhdmi` (Hugging Face Hub).
 
1
  ---
2
  license: apache-2.0
 
 
 
3
  task_categories:
4
+ - robotics
5
  tags:
6
+ - LeRobot
7
+ configs:
8
+ - config_name: default
9
+ data_files: data/*/*.parquet
 
 
 
 
10
  ---
 
11
 
12
+ This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
 
 
13
 
 
 
 
 
 
 
14
 
15
+ <a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=adhdmi/mug">
16
+ <img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
17
+ <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
18
+ </a>
19
 
 
20
 
21
+ ## Dataset Description
 
 
 
 
 
 
 
22
 
 
 
 
 
 
 
23
 
 
24
 
25
+ - **Homepage:** [More Information Needed]
26
+ - **Paper:** [More Information Needed]
27
+ - **License:** apache-2.0
28
 
29
+ ## Dataset Structure
 
 
 
30
 
31
+ [meta/info.json](meta/info.json):
32
+ ```json
33
+ {
34
+ "codebase_version": "v3.0",
35
+ "robot_type": null,
36
+ "total_episodes": 100,
37
+ "total_frames": 16893,
38
+ "total_tasks": 1,
39
+ "chunks_size": 1000,
40
+ "data_files_size_in_mb": 100,
41
+ "video_files_size_in_mb": 200,
42
+ "fps": 20,
43
+ "splits": {
44
+ "train": "0:100",
45
+ "val_fraction": 0.1,
46
+ "val_seed": 42
47
+ },
48
+ "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
49
+ "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
50
+ "features": {
51
+ "observation.state": {
52
+ "dtype": "float32",
53
+ "shape": [
54
+ 59
55
+ ],
56
+ "names": [
57
+ "state_0",
58
+ "state_1",
59
+ "state_2",
60
+ "state_3",
61
+ "state_4",
62
+ "state_5",
63
+ "state_6",
64
+ "state_7",
65
+ "state_8",
66
+ "state_9",
67
+ "state_10",
68
+ "state_11",
69
+ "state_12",
70
+ "state_13",
71
+ "state_14",
72
+ "state_15",
73
+ "state_16",
74
+ "state_17",
75
+ "state_18",
76
+ "state_19",
77
+ "state_20",
78
+ "state_21",
79
+ "state_22",
80
+ "state_23",
81
+ "state_24",
82
+ "state_25",
83
+ "state_26",
84
+ "state_27",
85
+ "state_28",
86
+ "state_29",
87
+ "state_30",
88
+ "state_31",
89
+ "state_32",
90
+ "state_33",
91
+ "state_34",
92
+ "state_35",
93
+ "state_36",
94
+ "state_37",
95
+ "state_38",
96
+ "state_39",
97
+ "state_40",
98
+ "state_41",
99
+ "state_42",
100
+ "state_43",
101
+ "state_44",
102
+ "state_45",
103
+ "state_46",
104
+ "state_47",
105
+ "state_48",
106
+ "state_49",
107
+ "state_50",
108
+ "state_51",
109
+ "state_52",
110
+ "state_53",
111
+ "state_54",
112
+ "state_55",
113
+ "state_56",
114
+ "state_57",
115
+ "state_58"
116
+ ]
117
+ },
118
+ "action": {
119
+ "dtype": "float32",
120
+ "shape": [
121
+ 59
122
+ ],
123
+ "names": [
124
+ "action_0",
125
+ "action_1",
126
+ "action_2",
127
+ "action_3",
128
+ "action_4",
129
+ "action_5",
130
+ "action_6",
131
+ "action_7",
132
+ "action_8",
133
+ "action_9",
134
+ "action_10",
135
+ "action_11",
136
+ "action_12",
137
+ "action_13",
138
+ "action_14",
139
+ "action_15",
140
+ "action_16",
141
+ "action_17",
142
+ "action_18",
143
+ "action_19",
144
+ "action_20",
145
+ "action_21",
146
+ "action_22",
147
+ "action_23",
148
+ "action_24",
149
+ "action_25",
150
+ "action_26",
151
+ "action_27",
152
+ "action_28",
153
+ "action_29",
154
+ "action_30",
155
+ "action_31",
156
+ "action_32",
157
+ "action_33",
158
+ "action_34",
159
+ "action_35",
160
+ "action_36",
161
+ "action_37",
162
+ "action_38",
163
+ "action_39",
164
+ "action_40",
165
+ "action_41",
166
+ "action_42",
167
+ "action_43",
168
+ "action_44",
169
+ "action_45",
170
+ "action_46",
171
+ "action_47",
172
+ "action_48",
173
+ "action_49",
174
+ "action_50",
175
+ "action_51",
176
+ "action_52",
177
+ "action_53",
178
+ "action_54",
179
+ "action_55",
180
+ "action_56",
181
+ "action_57",
182
+ "action_58"
183
+ ]
184
+ },
185
+ "observation.images.cam_left": {
186
+ "dtype": "video",
187
+ "shape": [
188
+ 3,
189
+ 480,
190
+ 640
191
+ ],
192
+ "names": [
193
+ "channels",
194
+ "height",
195
+ "width"
196
+ ],
197
+ "info": {
198
+ "video.height": 480,
199
+ "video.width": 640,
200
+ "video.codec": "av1",
201
+ "video.pix_fmt": "yuv420p",
202
+ "video.is_depth_map": false,
203
+ "video.fps": 20,
204
+ "video.channels": 3,
205
+ "has_audio": false
206
+ }
207
+ },
208
+ "observation.images.cam_right": {
209
+ "dtype": "video",
210
+ "shape": [
211
+ 3,
212
+ 480,
213
+ 640
214
+ ],
215
+ "names": [
216
+ "channels",
217
+ "height",
218
+ "width"
219
+ ],
220
+ "info": {
221
+ "video.height": 480,
222
+ "video.width": 640,
223
+ "video.codec": "av1",
224
+ "video.pix_fmt": "yuv420p",
225
+ "video.is_depth_map": false,
226
+ "video.fps": 20,
227
+ "video.channels": 3,
228
+ "has_audio": false
229
+ }
230
+ },
231
+ "observation.images.cam_wrist_left": {
232
+ "dtype": "video",
233
+ "shape": [
234
+ 3,
235
+ 480,
236
+ 640
237
+ ],
238
+ "names": [
239
+ "channels",
240
+ "height",
241
+ "width"
242
+ ],
243
+ "info": {
244
+ "video.height": 480,
245
+ "video.width": 640,
246
+ "video.codec": "av1",
247
+ "video.pix_fmt": "yuv420p",
248
+ "video.is_depth_map": false,
249
+ "video.fps": 20,
250
+ "video.channels": 3,
251
+ "has_audio": false
252
+ }
253
+ },
254
+ "observation.images.cam_wrist_right": {
255
+ "dtype": "video",
256
+ "shape": [
257
+ 3,
258
+ 480,
259
+ 640
260
+ ],
261
+ "names": [
262
+ "channels",
263
+ "height",
264
+ "width"
265
+ ],
266
+ "info": {
267
+ "video.height": 480,
268
+ "video.width": 640,
269
+ "video.codec": "av1",
270
+ "video.pix_fmt": "yuv420p",
271
+ "video.is_depth_map": false,
272
+ "video.fps": 20,
273
+ "video.channels": 3,
274
+ "has_audio": false
275
+ }
276
+ },
277
+ "timestamp": {
278
+ "dtype": "float32",
279
+ "shape": [
280
+ 1
281
+ ],
282
+ "names": null
283
+ },
284
+ "frame_index": {
285
+ "dtype": "int64",
286
+ "shape": [
287
+ 1
288
+ ],
289
+ "names": null
290
+ },
291
+ "episode_index": {
292
+ "dtype": "int64",
293
+ "shape": [
294
+ 1
295
+ ],
296
+ "names": null
297
+ },
298
+ "index": {
299
+ "dtype": "int64",
300
+ "shape": [
301
+ 1
302
+ ],
303
+ "names": null
304
+ },
305
+ "task_index": {
306
+ "dtype": "int64",
307
+ "shape": [
308
+ 1
309
+ ],
310
+ "names": null
311
+ }
312
+ }
313
+ }
314
  ```
315
 
 
 
 
 
 
 
 
 
316
 
317
+ ## Citation
 
 
318
 
319
+ **BibTeX:**
320
 
321
+ ```bibtex
322
+ [More Information Needed]
323
+ ```