XNX25 commited on
Commit
42affaf
·
verified ·
1 Parent(s): 3bdc203

Add TsFile (converted from LSY-lab/libero_plus_spatial_camera_all_failures)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/libero_plus_spatial_camera_all_failures.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - libero
8
+ - libero-plus
9
+ - panda
10
+ - multicam
11
+ - camera
12
+ - tsfile
13
+ - timeseries
14
+ - format:tsfile
15
+ pretty_name: libero_plus_spatial_camera_all_failures
16
+ modality: timeseries
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: data/libero_plus_spatial_camera_all_failures.tsfile
22
+ ---
23
+
24
+ # libero_plus_spatial_camera_all_failures (TsFile)
25
+
26
+ Apache TsFile version of [`LSY-lab/libero_plus_spatial_camera_all_failures`](https://huggingface.co/datasets/LSY-lab/libero_plus_spatial_camera_all_failures).
27
+
28
+ ## Overview
29
+
30
+ A [LeRobot](https://github.com/huggingface/lerobot) robot-manipulation dataset — LIBERO-plus spatial-camera manipulation rollouts on a Franka Panda (multi-camera, all-failure episodes). The source card is auto-generated ("This dataset was created using LeRobot") and does not add a free-text description; the facts below are taken from the source `meta/info.json`.
31
+
32
+ - **Robot:** Franka Panda
33
+ - **Episodes:** 106
34
+ - **Frames:** 14068
35
+ - **Sampling rate:** 20 fps
36
+ - **Tasks:** 1
37
+ - **Splits:** a single `train` split (`0:106`)
38
+
39
+ ## Schema (TsFile structure)
40
+
41
+ - **Time** (INT64, milliseconds) — `round(timestamp * 1000)`; the source `timestamp` column (seconds) is dropped because it equals `Time / 1000`.
42
+ - **episode_index** (TAG), **task_index** (TAG) — device dimensions; query one episode with `WHERE episode_index = <n>`.
43
+ - **frame_index** (FIELD, INT64), **sample_index** (FIELD, INT64, from the source `index`) — per-frame bookkeeping.
44
+ - Vector columns (single-precision FLOAT, source name with `.` → `_` and an element index appended):
45
+ - observation.state → `observation_state_0`..`observation_state_7` (FLOAT)
46
+ - observation.states.ee_state → `observation_states_ee_state_0`..`observation_states_ee_state_5` (FLOAT)
47
+ - observation.states.joint_state → `observation_states_joint_state_0`..`observation_states_joint_state_6` (FLOAT)
48
+ - observation.states.gripper_state → `observation_states_gripper_state_0`..`observation_states_gripper_state_1` (FLOAT)
49
+ - action → `action_0`..`action_6` (FLOAT)
50
+
51
+ Camera video streams are **not** included in this repository; see the original dataset for the videos: https://huggingface.co/datasets/LSY-lab/libero_plus_spatial_camera_all_failures (`videos/` directory).
52
+
53
+ ## Usage
54
+
55
+ Read the `.tsfile` files with the Apache TsFile Java or Python SDK.
56
+
57
+ ## Source & license
58
+
59
+ - Original dataset: https://huggingface.co/datasets/LSY-lab/libero_plus_spatial_camera_all_failures
60
+ - Author / publisher: LSY-lab
61
+ - License: apache-2.0
data/libero_plus_spatial_camera_all_failures.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39a9d465b5ab9ddc99c4166bfaf01b10c84a3cd68bbb59e1df48d7a35721b29a
3
+ size 1872252
meta/info.json ADDED
@@ -0,0 +1,458 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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],
18
+ "tsfile_role": "TAG"
19
+ },
20
+ "task_index": {
21
+ "dtype": "int64",
22
+ "shape": [
23
+ 1
24
+ ],
25
+ "tsfile_role": "TAG"
26
+ },
27
+ "frame_index": {
28
+ "dtype": "int64",
29
+ "shape": [
30
+ 1
31
+ ],
32
+ "tsfile_role": "FIELD"
33
+ },
34
+ "sample_index": {
35
+ "dtype": "int64",
36
+ "shape": [
37
+ 1
38
+ ],
39
+ "tsfile_role": "FIELD"
40
+ },
41
+ "observation_state_0": {
42
+ "dtype": "float32",
43
+ "shape": [
44
+ 1
45
+ ],
46
+ "tsfile_role": "FIELD"
47
+ },
48
+ "observation_state_1": {
49
+ "dtype": "float32",
50
+ "shape": [
51
+ 1
52
+ ],
53
+ "tsfile_role": "FIELD"
54
+ },
55
+ "observation_state_2": {
56
+ "dtype": "float32",
57
+ "shape": [
58
+ 1
59
+ ],
60
+ "tsfile_role": "FIELD"
61
+ },
62
+ "observation_state_3": {
63
+ "dtype": "float32",
64
+ "shape": [
65
+ 1
66
+ ],
67
+ "tsfile_role": "FIELD"
68
+ },
69
+ "observation_state_4": {
70
+ "dtype": "float32",
71
+ "shape": [
72
+ 1
73
+ ],
74
+ "tsfile_role": "FIELD"
75
+ },
76
+ "observation_state_5": {
77
+ "dtype": "float32",
78
+ "shape": [
79
+ 1
80
+ ],
81
+ "tsfile_role": "FIELD"
82
+ },
83
+ "observation_state_6": {
84
+ "dtype": "float32",
85
+ "shape": [
86
+ 1
87
+ ],
88
+ "tsfile_role": "FIELD"
89
+ },
90
+ "observation_state_7": {
91
+ "dtype": "float32",
92
+ "shape": [
93
+ 1
94
+ ],
95
+ "tsfile_role": "FIELD"
96
+ },
97
+ "observation_states_ee_state_0": {
98
+ "dtype": "float32",
99
+ "shape": [
100
+ 1
101
+ ],
102
+ "tsfile_role": "FIELD"
103
+ },
104
+ "observation_states_ee_state_1": {
105
+ "dtype": "float32",
106
+ "shape": [
107
+ 1
108
+ ],
109
+ "tsfile_role": "FIELD"
110
+ },
111
+ "observation_states_ee_state_2": {
112
+ "dtype": "float32",
113
+ "shape": [
114
+ 1
115
+ ],
116
+ "tsfile_role": "FIELD"
117
+ },
118
+ "observation_states_ee_state_3": {
119
+ "dtype": "float32",
120
+ "shape": [
121
+ 1
122
+ ],
123
+ "tsfile_role": "FIELD"
124
+ },
125
+ "observation_states_ee_state_4": {
126
+ "dtype": "float32",
127
+ "shape": [
128
+ 1
129
+ ],
130
+ "tsfile_role": "FIELD"
131
+ },
132
+ "observation_states_ee_state_5": {
133
+ "dtype": "float32",
134
+ "shape": [
135
+ 1
136
+ ],
137
+ "tsfile_role": "FIELD"
138
+ },
139
+ "observation_states_joint_state_0": {
140
+ "dtype": "float32",
141
+ "shape": [
142
+ 1
143
+ ],
144
+ "tsfile_role": "FIELD"
145
+ },
146
+ "observation_states_joint_state_1": {
147
+ "dtype": "float32",
148
+ "shape": [
149
+ 1
150
+ ],
151
+ "tsfile_role": "FIELD"
152
+ },
153
+ "observation_states_joint_state_2": {
154
+ "dtype": "float32",
155
+ "shape": [
156
+ 1
157
+ ],
158
+ "tsfile_role": "FIELD"
159
+ },
160
+ "observation_states_joint_state_3": {
161
+ "dtype": "float32",
162
+ "shape": [
163
+ 1
164
+ ],
165
+ "tsfile_role": "FIELD"
166
+ },
167
+ "observation_states_joint_state_4": {
168
+ "dtype": "float32",
169
+ "shape": [
170
+ 1
171
+ ],
172
+ "tsfile_role": "FIELD"
173
+ },
174
+ "observation_states_joint_state_5": {
175
+ "dtype": "float32",
176
+ "shape": [
177
+ 1
178
+ ],
179
+ "tsfile_role": "FIELD"
180
+ },
181
+ "observation_states_joint_state_6": {
182
+ "dtype": "float32",
183
+ "shape": [
184
+ 1
185
+ ],
186
+ "tsfile_role": "FIELD"
187
+ },
188
+ "observation_states_gripper_state_0": {
189
+ "dtype": "float32",
190
+ "shape": [
191
+ 1
192
+ ],
193
+ "tsfile_role": "FIELD"
194
+ },
195
+ "observation_states_gripper_state_1": {
196
+ "dtype": "float32",
197
+ "shape": [
198
+ 1
199
+ ],
200
+ "tsfile_role": "FIELD"
201
+ },
202
+ "action_0": {
203
+ "dtype": "float32",
204
+ "shape": [
205
+ 1
206
+ ],
207
+ "tsfile_role": "FIELD"
208
+ },
209
+ "action_1": {
210
+ "dtype": "float32",
211
+ "shape": [
212
+ 1
213
+ ],
214
+ "tsfile_role": "FIELD"
215
+ },
216
+ "action_2": {
217
+ "dtype": "float32",
218
+ "shape": [
219
+ 1
220
+ ],
221
+ "tsfile_role": "FIELD"
222
+ },
223
+ "action_3": {
224
+ "dtype": "float32",
225
+ "shape": [
226
+ 1
227
+ ],
228
+ "tsfile_role": "FIELD"
229
+ },
230
+ "action_4": {
231
+ "dtype": "float32",
232
+ "shape": [
233
+ 1
234
+ ],
235
+ "tsfile_role": "FIELD"
236
+ },
237
+ "action_5": {
238
+ "dtype": "float32",
239
+ "shape": [
240
+ 1
241
+ ],
242
+ "tsfile_role": "FIELD"
243
+ },
244
+ "action_6": {
245
+ "dtype": "float32",
246
+ "shape": [
247
+ 1
248
+ ],
249
+ "tsfile_role": "FIELD"
250
+ }
251
+ },
252
+ "total_episodes": 106,
253
+ "total_frames": 14068,
254
+ "total_tasks": 10,
255
+ "chunks_size": 1000,
256
+ "data_files_size_in_mb": 100,
257
+ "video_files_size_in_mb": 1e-06,
258
+ "data_path": "data/libero_plus_spatial_camera_all_failures.tsfile",
259
+ "robot_type": "franka",
260
+ "splits": {
261
+ "train": "0:106"
262
+ },
263
+ "video_path_original": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
264
+ "tsfile_conversion": {
265
+ "source_dataset": "LSY-lab/libero_plus_spatial_camera_all_failures",
266
+ "source_data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
267
+ "converted_data_path": "data/libero_plus_spatial_camera_all_failures.tsfile",
268
+ "table_name": "libero_plus_spatial_camera_all_failures",
269
+ "granularity": "merged",
270
+ "time_precision": "ms",
271
+ "time_mapping": {
272
+ "source": "auto",
273
+ "fps": 30,
274
+ "unit": "milliseconds"
275
+ },
276
+ "tag_columns": [
277
+ "episode_index",
278
+ "task_index"
279
+ ],
280
+ "row_count": 14068,
281
+ "feature_source": "features describe the converted TsFile schema",
282
+ "flattened_features": {
283
+ "observation.state": [
284
+ "observation_state_0",
285
+ "observation_state_1",
286
+ "observation_state_2",
287
+ "observation_state_3",
288
+ "observation_state_4",
289
+ "observation_state_5",
290
+ "observation_state_6",
291
+ "observation_state_7"
292
+ ],
293
+ "observation.states.ee_state": [
294
+ "observation_states_ee_state_0",
295
+ "observation_states_ee_state_1",
296
+ "observation_states_ee_state_2",
297
+ "observation_states_ee_state_3",
298
+ "observation_states_ee_state_4",
299
+ "observation_states_ee_state_5"
300
+ ],
301
+ "observation.states.joint_state": [
302
+ "observation_states_joint_state_0",
303
+ "observation_states_joint_state_1",
304
+ "observation_states_joint_state_2",
305
+ "observation_states_joint_state_3",
306
+ "observation_states_joint_state_4",
307
+ "observation_states_joint_state_5",
308
+ "observation_states_joint_state_6"
309
+ ],
310
+ "observation.states.gripper_state": [
311
+ "observation_states_gripper_state_0",
312
+ "observation_states_gripper_state_1"
313
+ ],
314
+ "action": [
315
+ "action_0",
316
+ "action_1",
317
+ "action_2",
318
+ "action_3",
319
+ "action_4",
320
+ "action_5",
321
+ "action_6"
322
+ ]
323
+ },
324
+ "renamed_features": {
325
+ "index": "sample_index"
326
+ },
327
+ "dropped_features": [
328
+ "timestamp"
329
+ ],
330
+ "omitted_features": [
331
+ "observation.images.image",
332
+ "observation.images.wrist_image",
333
+ "observation.images.frontview_image",
334
+ "observation.images.sideview_image"
335
+ ],
336
+ "original_video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
337
+ "original_video_features": {
338
+ "observation.images.image": {
339
+ "dtype": "video",
340
+ "shape": [
341
+ 256,
342
+ 256,
343
+ 3
344
+ ],
345
+ "names": [
346
+ "height",
347
+ "width",
348
+ "rgb"
349
+ ],
350
+ "info": {
351
+ "video.height": 256,
352
+ "video.width": 256,
353
+ "video.codec": "av1",
354
+ "video.pix_fmt": "yuv420p",
355
+ "video.is_depth_map": false,
356
+ "video.fps": 20,
357
+ "video.channels": 3,
358
+ "has_audio": false,
359
+ "video.g": 2,
360
+ "video.crf": 30,
361
+ "video.preset": 12,
362
+ "video.fast_decode": 0,
363
+ "video.video_backend": "pyav",
364
+ "video.extra_options": {}
365
+ }
366
+ },
367
+ "observation.images.wrist_image": {
368
+ "dtype": "video",
369
+ "shape": [
370
+ 256,
371
+ 256,
372
+ 3
373
+ ],
374
+ "names": [
375
+ "height",
376
+ "width",
377
+ "rgb"
378
+ ],
379
+ "info": {
380
+ "video.height": 256,
381
+ "video.width": 256,
382
+ "video.codec": "av1",
383
+ "video.pix_fmt": "yuv420p",
384
+ "video.is_depth_map": false,
385
+ "video.fps": 20,
386
+ "video.channels": 3,
387
+ "has_audio": false,
388
+ "video.g": 2,
389
+ "video.crf": 30,
390
+ "video.preset": 12,
391
+ "video.fast_decode": 0,
392
+ "video.video_backend": "pyav",
393
+ "video.extra_options": {}
394
+ }
395
+ },
396
+ "observation.images.frontview_image": {
397
+ "dtype": "video",
398
+ "shape": [
399
+ 256,
400
+ 256,
401
+ 3
402
+ ],
403
+ "names": [
404
+ "height",
405
+ "width",
406
+ "rgb"
407
+ ],
408
+ "info": {
409
+ "video.height": 256,
410
+ "video.width": 256,
411
+ "video.codec": "av1",
412
+ "video.pix_fmt": "yuv420p",
413
+ "video.is_depth_map": false,
414
+ "video.fps": 20,
415
+ "video.channels": 3,
416
+ "has_audio": false,
417
+ "video.g": 2,
418
+ "video.crf": 30,
419
+ "video.preset": 12,
420
+ "video.fast_decode": 0,
421
+ "video.video_backend": "pyav",
422
+ "video.extra_options": {}
423
+ }
424
+ },
425
+ "observation.images.sideview_image": {
426
+ "dtype": "video",
427
+ "shape": [
428
+ 256,
429
+ 256,
430
+ 3
431
+ ],
432
+ "names": [
433
+ "height",
434
+ "width",
435
+ "rgb"
436
+ ],
437
+ "info": {
438
+ "video.height": 256,
439
+ "video.width": 256,
440
+ "video.codec": "av1",
441
+ "video.pix_fmt": "yuv420p",
442
+ "video.is_depth_map": false,
443
+ "video.fps": 20,
444
+ "video.channels": 3,
445
+ "has_audio": false,
446
+ "video.g": 2,
447
+ "video.crf": 30,
448
+ "video.preset": 12,
449
+ "video.fast_decode": 0,
450
+ "video.video_backend": "pyav",
451
+ "video.extra_options": {}
452
+ }
453
+ }
454
+ },
455
+ "original_video_source": "https://huggingface.co/datasets/LSY-lab/libero_plus_spatial_camera_all_failures/tree/main/videos",
456
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
457
+ }
458
+ }