mickeykang commited on
Commit
f9ab57d
·
verified ·
1 Parent(s): 21734d3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +312 -0
README.md ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - robotics
8
+ - mujoco
9
+ - robosuite
10
+ - manipulation
11
+ - event-camera
12
+ - dvs
13
+ configs:
14
+ - config_name: default
15
+ data_files: data/*/*.parquet
16
+ ---
17
+
18
+ This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
19
+
20
+ ## Dataset Description
21
+
22
+ # dvla-can-250hz-events (250 fps native) - event frames accumulating 4 ms each
23
+
24
+ 1016 episodes / 1,356,080 frames at the native 250 Hz rate. Same v2e settings as the 250->25 fps
25
+ variant, but kept at full rate: each event frame covers 4 ms, so the polarity images are sparser
26
+ (roughly a third of the pixels of the 40 ms version).
27
+
28
+ Two extra video columns on top of the 3 RGB cameras:
29
+ `observation.images.opst_cam_events`, `observation.images.wrist_cam_events`.
30
+
31
+ Note on encoding: SVT-AV1 refuses frame rates above 240 fps, so every video column here is H.264
32
+ rather than AV1. The 25 fps variants use AV1 for the base and H.264 after the trim re-encode.
33
+
34
+ The 250 Hz RGB counterpart of this dataset trains to only **36%** place success versus 61% at
35
+ 25 Hz, and the deficit is entirely on *moving* cans (static cans stay at 100%). This dataset
36
+ exists to test whether event input recovers that gap.
37
+
38
+ ### Task
39
+
40
+ MuJoCo / robosuite (Panda + OSC-or-IK) `place`: pick a can off the table and drop it into a
41
+ bowl. In 80% of the episodes the can is **rolling** when the episode starts (speed sampled from
42
+ 0.25-0.75 m/s); the rest are static. Demonstrations come from a scripted state machine that
43
+ reads privileged simulator state, and only successful attempts are kept.
44
+
45
+ ### Layout
46
+
47
+ LeRobot v2.1, `robot_type: panda`, 3 RGB cameras at 360x480 (`wrist_cam`, `side_cam`,
48
+ `opst_cam`). Training uses `opst_cam` + `wrist_cam` only.
49
+
50
+ - `action` (10,) = `[dx, dy, dz, sin/cos of the 3 euler angles, gripper]`
51
+ - `observation.state` (9,) = `[x, y, z, sin/cos of the 3 euler angles]`
52
+ - `observation.environment_state` (9,) = privileged object pose/velocity. Dropped during
53
+ training (it is not available on a real robot).
54
+
55
+ `action` is a **delta**: the absolute target minus the state of that same frame. At evaluation
56
+ the policy output is decoded as `target = live_state + predicted_delta`, re-anchored every step.
57
+
58
+ The absolute target it encodes is a **future-EE relabel**: instead of the pose the state machine
59
+ commanded at time t, the label is the pose the arm had actually *reached* 320 ms later. A sweep
60
+ over that offset found it matters enormously - replaying the labels open-loop succeeds 20/20 at
61
+ 320 ms but 5/20 at 200 ms and 0/20 at 40 ms.
62
+
63
+ `-delta-trim` additionally drops the leading frames where the arm is still holding position, so
64
+ that `action[0]` is a real motion rather than a placeholder (which otherwise causes a cold-start
65
+ stall).
66
+
67
+ `meta/camera.jsonl` maps each `episode_index` back to its source HDF5 filename. Conversion
68
+ shards round-robin, so episode order is **not** source order and this file is the only way back.
69
+
70
+ ### Reproducing
71
+
72
+ Generation, conversion, training and evaluation scripts, plus the measured results and the
73
+ gotchas that cost the most time, are documented at https://github.com/mickeykang16/DynamicVLA/tree/mujoco.
74
+
75
+ - **Homepage:** https://github.com/mickeykang16/DynamicVLA/tree/mujoco
76
+ - **Paper:** [More Information Needed]
77
+ - **License:** apache-2.0
78
+
79
+ ## Dataset Structure
80
+
81
+ [meta/info.json](meta/info.json):
82
+ ```json
83
+ {
84
+ "codebase_version": "v2.1",
85
+ "robot_type": "panda",
86
+ "total_episodes": 1016,
87
+ "total_frames": 1356080,
88
+ "total_tasks": 3,
89
+ "total_videos": 5080,
90
+ "total_chunks": 2,
91
+ "chunks_size": 1000,
92
+ "fps": 250,
93
+ "splits": {
94
+ "train": "0:1016"
95
+ },
96
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
97
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
98
+ "features": {
99
+ "action": {
100
+ "dtype": "float32",
101
+ "shape": [
102
+ 10
103
+ ],
104
+ "names": [
105
+ "ee_pos_x",
106
+ "ee_pos_y",
107
+ "ee_pos_z",
108
+ "ee_rot_x_sin",
109
+ "ee_rot_x_cos",
110
+ "ee_rot_y_sin",
111
+ "ee_rot_y_cos",
112
+ "ee_rot_z_sin",
113
+ "ee_rot_z_cos",
114
+ "gripper"
115
+ ]
116
+ },
117
+ "observation.state": {
118
+ "dtype": "float32",
119
+ "shape": [
120
+ 9
121
+ ],
122
+ "names": [
123
+ "ee_pos_x",
124
+ "ee_pos_y",
125
+ "ee_pos_z",
126
+ "ee_rot_x_sin",
127
+ "ee_rot_x_cos",
128
+ "ee_rot_y_sin",
129
+ "ee_rot_y_cos",
130
+ "ee_rot_z_sin",
131
+ "ee_rot_z_cos"
132
+ ]
133
+ },
134
+ "observation.environment_state": {
135
+ "dtype": "float32",
136
+ "shape": [
137
+ 9
138
+ ],
139
+ "names": [
140
+ "o0",
141
+ "o1",
142
+ "o2",
143
+ "o3",
144
+ "o4",
145
+ "o5",
146
+ "o6",
147
+ "o7",
148
+ "o8"
149
+ ]
150
+ },
151
+ "observation.images.wrist_cam": {
152
+ "dtype": "video",
153
+ "shape": [
154
+ 360,
155
+ 480,
156
+ 3
157
+ ],
158
+ "names": [
159
+ "height",
160
+ "width",
161
+ "channel"
162
+ ],
163
+ "info": {
164
+ "video.height": 360,
165
+ "video.width": 480,
166
+ "video.codec": "h264",
167
+ "video.pix_fmt": "yuv420p",
168
+ "video.is_depth_map": false,
169
+ "video.fps": 250,
170
+ "video.channels": 3,
171
+ "has_audio": false
172
+ }
173
+ },
174
+ "observation.images.side_cam": {
175
+ "dtype": "video",
176
+ "shape": [
177
+ 360,
178
+ 480,
179
+ 3
180
+ ],
181
+ "names": [
182
+ "height",
183
+ "width",
184
+ "channel"
185
+ ],
186
+ "info": {
187
+ "video.height": 360,
188
+ "video.width": 480,
189
+ "video.codec": "h264",
190
+ "video.pix_fmt": "yuv420p",
191
+ "video.is_depth_map": false,
192
+ "video.fps": 250,
193
+ "video.channels": 3,
194
+ "has_audio": false
195
+ }
196
+ },
197
+ "observation.images.opst_cam": {
198
+ "dtype": "video",
199
+ "shape": [
200
+ 360,
201
+ 480,
202
+ 3
203
+ ],
204
+ "names": [
205
+ "height",
206
+ "width",
207
+ "channel"
208
+ ],
209
+ "info": {
210
+ "video.height": 360,
211
+ "video.width": 480,
212
+ "video.codec": "h264",
213
+ "video.pix_fmt": "yuv420p",
214
+ "video.is_depth_map": false,
215
+ "video.fps": 250,
216
+ "video.channels": 3,
217
+ "has_audio": false
218
+ }
219
+ },
220
+ "observation.images.wrist_cam_events": {
221
+ "dtype": "video",
222
+ "shape": [
223
+ 360,
224
+ 480,
225
+ 3
226
+ ],
227
+ "names": [
228
+ "height",
229
+ "width",
230
+ "channel"
231
+ ],
232
+ "info": {
233
+ "video.height": 360,
234
+ "video.width": 480,
235
+ "video.codec": "h264",
236
+ "video.pix_fmt": "yuv420p",
237
+ "video.is_depth_map": false,
238
+ "video.fps": 250,
239
+ "video.channels": 3,
240
+ "has_audio": false
241
+ }
242
+ },
243
+ "observation.images.opst_cam_events": {
244
+ "dtype": "video",
245
+ "shape": [
246
+ 360,
247
+ 480,
248
+ 3
249
+ ],
250
+ "names": [
251
+ "height",
252
+ "width",
253
+ "channel"
254
+ ],
255
+ "info": {
256
+ "video.height": 360,
257
+ "video.width": 480,
258
+ "video.codec": "h264",
259
+ "video.pix_fmt": "yuv420p",
260
+ "video.is_depth_map": false,
261
+ "video.fps": 250,
262
+ "video.channels": 3,
263
+ "has_audio": false
264
+ }
265
+ },
266
+ "timestamp": {
267
+ "dtype": "float32",
268
+ "shape": [
269
+ 1
270
+ ],
271
+ "names": null
272
+ },
273
+ "frame_index": {
274
+ "dtype": "int64",
275
+ "shape": [
276
+ 1
277
+ ],
278
+ "names": null
279
+ },
280
+ "episode_index": {
281
+ "dtype": "int64",
282
+ "shape": [
283
+ 1
284
+ ],
285
+ "names": null
286
+ },
287
+ "index": {
288
+ "dtype": "int64",
289
+ "shape": [
290
+ 1
291
+ ],
292
+ "names": null
293
+ },
294
+ "task_index": {
295
+ "dtype": "int64",
296
+ "shape": [
297
+ 1
298
+ ],
299
+ "names": null
300
+ }
301
+ }
302
+ }
303
+ ```
304
+
305
+
306
+ ## Citation
307
+
308
+ **BibTeX:**
309
+
310
+ ```bibtex
311
+ [More Information Needed]
312
+ ```