jzpeng commited on
Commit
bdd89c2
·
verified ·
1 Parent(s): cefa522

Add TsFile (converted from woohyunwoo/boxing_a_first_aid_kit)

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/boxing_a_first_aid_kit_train.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - tsfile
7
+ - time-series
8
+ - robotics
9
+ - modality:timeseries
10
+ - library:datasets
11
+ - library:pandas
12
+ - library:polars
13
+ modality:
14
+ - timeseries
15
+ pretty_name: Boxing a First Aid Kit (TsFile)
16
+ size_categories:
17
+ - 10K<n<100K
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/boxing_a_first_aid_kit_train.tsfile
23
+ ---
24
+
25
+ # Boxing a First Aid Kit (TsFile)
26
+
27
+ Apache TsFile version of [`woohyunwoo/boxing_a_first_aid_kit`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit). Modalities: Time-series.
28
+
29
+ ## Overview
30
+
31
+ This LeRobot dataset contains dual-arm SO100 demonstrations for the source task labeled `boxing_a_first_aid_kit`.
32
+
33
+ ## Dataset Scale
34
+
35
+ - 50 episodes, 48,777 frames, one task, sampled at 30 fps.
36
+ - The `train` split contains 48,777 TsFile rows in `data/boxing_a_first_aid_kit_train.tsfile`.
37
+
38
+ ## Conversion details
39
+
40
+ `Time` is `round(timestamp * 1000)` in milliseconds. The source `timestamp` column is therefore not stored as a separate FIELD; `frame_index` is retained and source `index` is named `sample_index`. Camera videos are not included in this time-series repository and remain in the [original dataset](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/main/videos).
41
+
42
+ ## Schema (TsFile structure)
43
+
44
+ - `Time` (INT64, milliseconds) is the per-episode sample time.
45
+ - `episode_index` and `task_index` are TAG columns identifying the device series.
46
+ - `frame_index` and `sample_index` are INT64 FIELD columns.
47
+ - `action_0` through `_11` and `observation_state_0` through `_11` are FLOAT FIELD columns for the two SO100 arms.
48
+
49
+ For example, select one device with `WHERE episode_index='0' AND task_index='0'`.
50
+
51
+ ## Usage
52
+
53
+ Read `data/boxing_a_first_aid_kit_train.tsfile` with the Apache TsFile Java or Python SDK.
54
+
55
+ ## Source & license
56
+
57
+ - Original dataset: https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit
58
+ - Author / publisher: woohyunwoo
59
+ - License: Apache-2.0
data/boxing_a_first_aid_kit_train.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3178403e981089ca848121987f59e29454ce037a2d1a94b90d7a884aeda76c33
3
+ size 1778540
meta/episodes.jsonl ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "tasks": ["boxing_a_first_aid_kit"], "length": 1319}
2
+ {"episode_index": 1, "tasks": ["boxing_a_first_aid_kit"], "length": 1139}
3
+ {"episode_index": 2, "tasks": ["boxing_a_first_aid_kit"], "length": 1158}
4
+ {"episode_index": 3, "tasks": ["boxing_a_first_aid_kit"], "length": 1154}
5
+ {"episode_index": 4, "tasks": ["boxing_a_first_aid_kit"], "length": 1368}
6
+ {"episode_index": 5, "tasks": ["boxing_a_first_aid_kit"], "length": 1263}
7
+ {"episode_index": 6, "tasks": ["boxing_a_first_aid_kit"], "length": 1201}
8
+ {"episode_index": 7, "tasks": ["boxing_a_first_aid_kit"], "length": 1329}
9
+ {"episode_index": 8, "tasks": ["boxing_a_first_aid_kit"], "length": 1232}
10
+ {"episode_index": 9, "tasks": ["boxing_a_first_aid_kit"], "length": 1284}
11
+ {"episode_index": 10, "tasks": ["boxing_a_first_aid_kit"], "length": 1110}
12
+ {"episode_index": 11, "tasks": ["boxing_a_first_aid_kit"], "length": 1121}
13
+ {"episode_index": 12, "tasks": ["boxing_a_first_aid_kit"], "length": 1237}
14
+ {"episode_index": 13, "tasks": ["boxing_a_first_aid_kit"], "length": 969}
15
+ {"episode_index": 14, "tasks": ["boxing_a_first_aid_kit"], "length": 1184}
16
+ {"episode_index": 15, "tasks": ["boxing_a_first_aid_kit"], "length": 1063}
17
+ {"episode_index": 16, "tasks": ["boxing_a_first_aid_kit"], "length": 1051}
18
+ {"episode_index": 17, "tasks": ["boxing_a_first_aid_kit"], "length": 1027}
19
+ {"episode_index": 18, "tasks": ["boxing_a_first_aid_kit"], "length": 1057}
20
+ {"episode_index": 19, "tasks": ["boxing_a_first_aid_kit"], "length": 1010}
21
+ {"episode_index": 20, "tasks": ["boxing_a_first_aid_kit"], "length": 958}
22
+ {"episode_index": 21, "tasks": ["boxing_a_first_aid_kit"], "length": 1001}
23
+ {"episode_index": 22, "tasks": ["boxing_a_first_aid_kit"], "length": 1140}
24
+ {"episode_index": 23, "tasks": ["boxing_a_first_aid_kit"], "length": 945}
25
+ {"episode_index": 24, "tasks": ["boxing_a_first_aid_kit"], "length": 1068}
26
+ {"episode_index": 25, "tasks": ["boxing_a_first_aid_kit"], "length": 887}
27
+ {"episode_index": 26, "tasks": ["boxing_a_first_aid_kit"], "length": 1015}
28
+ {"episode_index": 27, "tasks": ["boxing_a_first_aid_kit"], "length": 883}
29
+ {"episode_index": 28, "tasks": ["boxing_a_first_aid_kit"], "length": 925}
30
+ {"episode_index": 29, "tasks": ["boxing_a_first_aid_kit"], "length": 872}
31
+ {"episode_index": 30, "tasks": ["boxing_a_first_aid_kit"], "length": 814}
32
+ {"episode_index": 31, "tasks": ["boxing_a_first_aid_kit"], "length": 717}
33
+ {"episode_index": 32, "tasks": ["boxing_a_first_aid_kit"], "length": 755}
34
+ {"episode_index": 33, "tasks": ["boxing_a_first_aid_kit"], "length": 860}
35
+ {"episode_index": 34, "tasks": ["boxing_a_first_aid_kit"], "length": 838}
36
+ {"episode_index": 35, "tasks": ["boxing_a_first_aid_kit"], "length": 802}
37
+ {"episode_index": 36, "tasks": ["boxing_a_first_aid_kit"], "length": 835}
38
+ {"episode_index": 37, "tasks": ["boxing_a_first_aid_kit"], "length": 1036}
39
+ {"episode_index": 38, "tasks": ["boxing_a_first_aid_kit"], "length": 727}
40
+ {"episode_index": 39, "tasks": ["boxing_a_first_aid_kit"], "length": 804}
41
+ {"episode_index": 40, "tasks": ["boxing_a_first_aid_kit"], "length": 902}
42
+ {"episode_index": 41, "tasks": ["boxing_a_first_aid_kit"], "length": 935}
43
+ {"episode_index": 42, "tasks": ["boxing_a_first_aid_kit"], "length": 810}
44
+ {"episode_index": 43, "tasks": ["boxing_a_first_aid_kit"], "length": 851}
45
+ {"episode_index": 44, "tasks": ["boxing_a_first_aid_kit"], "length": 817}
46
+ {"episode_index": 45, "tasks": ["boxing_a_first_aid_kit"], "length": 806}
47
+ {"episode_index": 46, "tasks": ["boxing_a_first_aid_kit"], "length": 813}
48
+ {"episode_index": 47, "tasks": ["boxing_a_first_aid_kit"], "length": 799}
49
+ {"episode_index": 48, "tasks": ["boxing_a_first_aid_kit"], "length": 824}
50
+ {"episode_index": 49, "tasks": ["boxing_a_first_aid_kit"], "length": 62}
meta/episodes_stats.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
meta/info.json ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.1",
3
+ "robot_type": "so100",
4
+ "total_episodes": 50,
5
+ "total_frames": 48777,
6
+ "total_tasks": 1,
7
+ "total_videos": 150,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "fps": 30,
11
+ "splits": {
12
+ "train": "0:50"
13
+ },
14
+ "data_path": "data/boxing_a_first_aid_kit_train.tsfile",
15
+ "features": {
16
+ "Time": {
17
+ "dtype": "int64",
18
+ "shape": [
19
+ 1
20
+ ],
21
+ "tsfile_role": "TIME",
22
+ "unit": "ms"
23
+ },
24
+ "episode_index": {
25
+ "dtype": "int64",
26
+ "shape": [
27
+ 1
28
+ ],
29
+ "tsfile_role": "TAG"
30
+ },
31
+ "task_index": {
32
+ "dtype": "int64",
33
+ "shape": [
34
+ 1
35
+ ],
36
+ "tsfile_role": "TAG"
37
+ },
38
+ "frame_index": {
39
+ "dtype": "int64",
40
+ "shape": [
41
+ 1
42
+ ],
43
+ "tsfile_role": "FIELD"
44
+ },
45
+ "sample_index": {
46
+ "dtype": "int64",
47
+ "shape": [
48
+ 1
49
+ ],
50
+ "tsfile_role": "FIELD"
51
+ },
52
+ "action_0": {
53
+ "dtype": "float32",
54
+ "shape": [
55
+ 1
56
+ ],
57
+ "tsfile_role": "FIELD"
58
+ },
59
+ "action_1": {
60
+ "dtype": "float32",
61
+ "shape": [
62
+ 1
63
+ ],
64
+ "tsfile_role": "FIELD"
65
+ },
66
+ "action_2": {
67
+ "dtype": "float32",
68
+ "shape": [
69
+ 1
70
+ ],
71
+ "tsfile_role": "FIELD"
72
+ },
73
+ "action_3": {
74
+ "dtype": "float32",
75
+ "shape": [
76
+ 1
77
+ ],
78
+ "tsfile_role": "FIELD"
79
+ },
80
+ "action_4": {
81
+ "dtype": "float32",
82
+ "shape": [
83
+ 1
84
+ ],
85
+ "tsfile_role": "FIELD"
86
+ },
87
+ "action_5": {
88
+ "dtype": "float32",
89
+ "shape": [
90
+ 1
91
+ ],
92
+ "tsfile_role": "FIELD"
93
+ },
94
+ "action_6": {
95
+ "dtype": "float32",
96
+ "shape": [
97
+ 1
98
+ ],
99
+ "tsfile_role": "FIELD"
100
+ },
101
+ "action_7": {
102
+ "dtype": "float32",
103
+ "shape": [
104
+ 1
105
+ ],
106
+ "tsfile_role": "FIELD"
107
+ },
108
+ "action_8": {
109
+ "dtype": "float32",
110
+ "shape": [
111
+ 1
112
+ ],
113
+ "tsfile_role": "FIELD"
114
+ },
115
+ "action_9": {
116
+ "dtype": "float32",
117
+ "shape": [
118
+ 1
119
+ ],
120
+ "tsfile_role": "FIELD"
121
+ },
122
+ "action_10": {
123
+ "dtype": "float32",
124
+ "shape": [
125
+ 1
126
+ ],
127
+ "tsfile_role": "FIELD"
128
+ },
129
+ "action_11": {
130
+ "dtype": "float32",
131
+ "shape": [
132
+ 1
133
+ ],
134
+ "tsfile_role": "FIELD"
135
+ },
136
+ "observation_state_0": {
137
+ "dtype": "float32",
138
+ "shape": [
139
+ 1
140
+ ],
141
+ "tsfile_role": "FIELD"
142
+ },
143
+ "observation_state_1": {
144
+ "dtype": "float32",
145
+ "shape": [
146
+ 1
147
+ ],
148
+ "tsfile_role": "FIELD"
149
+ },
150
+ "observation_state_2": {
151
+ "dtype": "float32",
152
+ "shape": [
153
+ 1
154
+ ],
155
+ "tsfile_role": "FIELD"
156
+ },
157
+ "observation_state_3": {
158
+ "dtype": "float32",
159
+ "shape": [
160
+ 1
161
+ ],
162
+ "tsfile_role": "FIELD"
163
+ },
164
+ "observation_state_4": {
165
+ "dtype": "float32",
166
+ "shape": [
167
+ 1
168
+ ],
169
+ "tsfile_role": "FIELD"
170
+ },
171
+ "observation_state_5": {
172
+ "dtype": "float32",
173
+ "shape": [
174
+ 1
175
+ ],
176
+ "tsfile_role": "FIELD"
177
+ },
178
+ "observation_state_6": {
179
+ "dtype": "float32",
180
+ "shape": [
181
+ 1
182
+ ],
183
+ "tsfile_role": "FIELD"
184
+ },
185
+ "observation_state_7": {
186
+ "dtype": "float32",
187
+ "shape": [
188
+ 1
189
+ ],
190
+ "tsfile_role": "FIELD"
191
+ },
192
+ "observation_state_8": {
193
+ "dtype": "float32",
194
+ "shape": [
195
+ 1
196
+ ],
197
+ "tsfile_role": "FIELD"
198
+ },
199
+ "observation_state_9": {
200
+ "dtype": "float32",
201
+ "shape": [
202
+ 1
203
+ ],
204
+ "tsfile_role": "FIELD"
205
+ },
206
+ "observation_state_10": {
207
+ "dtype": "float32",
208
+ "shape": [
209
+ 1
210
+ ],
211
+ "tsfile_role": "FIELD"
212
+ },
213
+ "observation_state_11": {
214
+ "dtype": "float32",
215
+ "shape": [
216
+ 1
217
+ ],
218
+ "tsfile_role": "FIELD"
219
+ }
220
+ },
221
+ "video_path_original": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
222
+ "tsfile_conversion": {
223
+ "source_dataset": "woohyunwoo/boxing_a_first_aid_kit",
224
+ "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
225
+ "converted_data_path": "data/boxing_a_first_aid_kit_train.tsfile",
226
+ "table_name": "boxing_a_first_aid_kit",
227
+ "granularity": "per_split",
228
+ "time_precision": "ms",
229
+ "time_mapping": {
230
+ "source": "timestamp",
231
+ "fps": 30,
232
+ "unit": "milliseconds"
233
+ },
234
+ "tag_columns": [
235
+ "episode_index",
236
+ "task_index"
237
+ ],
238
+ "row_count": 48777,
239
+ "feature_source": "features describe the converted TsFile schema",
240
+ "flattened_features": {
241
+ "action": [
242
+ "action_0",
243
+ "action_1",
244
+ "action_2",
245
+ "action_3",
246
+ "action_4",
247
+ "action_5",
248
+ "action_6",
249
+ "action_7",
250
+ "action_8",
251
+ "action_9",
252
+ "action_10",
253
+ "action_11"
254
+ ],
255
+ "observation.state": [
256
+ "observation_state_0",
257
+ "observation_state_1",
258
+ "observation_state_2",
259
+ "observation_state_3",
260
+ "observation_state_4",
261
+ "observation_state_5",
262
+ "observation_state_6",
263
+ "observation_state_7",
264
+ "observation_state_8",
265
+ "observation_state_9",
266
+ "observation_state_10",
267
+ "observation_state_11"
268
+ ]
269
+ },
270
+ "renamed_features": {
271
+ "index": "sample_index"
272
+ },
273
+ "dropped_features": [
274
+ "timestamp"
275
+ ],
276
+ "omitted_features": [
277
+ "observation.images.overviewCamera",
278
+ "observation.images.leftCamera",
279
+ "observation.images.rightCamera"
280
+ ],
281
+ "original_video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
282
+ "original_video_features": {
283
+ "observation.images.overviewCamera": {
284
+ "dtype": "video",
285
+ "shape": [
286
+ 480,
287
+ 640,
288
+ 3
289
+ ],
290
+ "names": [
291
+ "height",
292
+ "width",
293
+ "channels"
294
+ ],
295
+ "info": {
296
+ "video.height": 480,
297
+ "video.width": 640,
298
+ "video.codec": "av1",
299
+ "video.pix_fmt": "yuv420p",
300
+ "video.is_depth_map": false,
301
+ "video.fps": 30,
302
+ "video.channels": 3,
303
+ "has_audio": false
304
+ }
305
+ },
306
+ "observation.images.leftCamera": {
307
+ "dtype": "video",
308
+ "shape": [
309
+ 480,
310
+ 640,
311
+ 3
312
+ ],
313
+ "names": [
314
+ "height",
315
+ "width",
316
+ "channels"
317
+ ],
318
+ "info": {
319
+ "video.height": 480,
320
+ "video.width": 640,
321
+ "video.codec": "av1",
322
+ "video.pix_fmt": "yuv420p",
323
+ "video.is_depth_map": false,
324
+ "video.fps": 30,
325
+ "video.channels": 3,
326
+ "has_audio": false
327
+ }
328
+ },
329
+ "observation.images.rightCamera": {
330
+ "dtype": "video",
331
+ "shape": [
332
+ 480,
333
+ 640,
334
+ 3
335
+ ],
336
+ "names": [
337
+ "height",
338
+ "width",
339
+ "channels"
340
+ ],
341
+ "info": {
342
+ "video.height": 480,
343
+ "video.width": 640,
344
+ "video.codec": "av1",
345
+ "video.pix_fmt": "yuv420p",
346
+ "video.is_depth_map": false,
347
+ "video.fps": 30,
348
+ "video.channels": 3,
349
+ "has_audio": false
350
+ }
351
+ }
352
+ },
353
+ "original_video_source": "https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/main/videos",
354
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
355
+ }
356
+ }
meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task_index": 0, "task": "boxing_a_first_aid_kit"}