Datasets:

THUgewu commited on
Commit
540bead
·
verified ·
1 Parent(s): 58dd364

Add TsFile (converted from griffinlabs/tej_test4)

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/tej_test4.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - tsfile
5
+ - timeseries
6
+ - format:tsfile
7
+ - time-series
8
+ configs:
9
+ - config_name: default
10
+ data_files:
11
+ - split: train
12
+ path: data/tej_test4.tsfile
13
+ ---
14
+
15
+ # tej_test4
16
+
17
+ Converted from the Hugging Face dataset [`griffinlabs/tej_test4`](https://huggingface.co/datasets/griffinlabs/tej_test4) to Apache TsFile format.
18
+
19
+ ## Source Dataset
20
+
21
+ - **Original dataset:** [`griffinlabs/tej_test4`](https://huggingface.co/datasets/griffinlabs/tej_test4)
22
+ - **Authors:** griffinlabs
23
+ - **License:** apache-2.0
24
+
25
+ ## Conversion Notes
26
+
27
+ - Conversion mode: `script`
28
+ - Time precision: `ms`
29
+ - TsFile data files: `['data/tej_test4.tsfile']`
30
+ - Converter: `scripts/converters/lerobot.py`
31
+
32
+ ## Usage
33
+
34
+
35
+ Install the Apache TsFile Python SDK (`pip install tsfile`) and read a converted file:
36
+
37
+ ```python
38
+ from pathlib import Path
39
+ from tsfile import TsFileReader
40
+
41
+ path = Path("data/tej_test4.tsfile")
42
+ with TsFileReader(str(path)) as reader:
43
+ schemas = reader.get_all_table_schemas()
44
+ print("tables:", list(schemas))
45
+ table_name = next(iter(schemas))
46
+ table = schemas[table_name]
47
+ columns = [column.get_column_name() for column in table.get_columns()]
48
+ print("columns:", columns)
49
+ field_names = [
50
+ column.get_column_name()
51
+ for column in table.get_columns()
52
+ if column.get_column_name() not in {"Time", "time"}
53
+ ]
54
+ if field_names:
55
+ with reader.query_table(table_name, field_names[:3], batch_size=1024) as result:
56
+ batch = result.read_arrow_batch()
57
+ if batch is not None:
58
+ print(batch.to_pandas().head())
59
+ ```
data/tej_test4.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7b4f4cb2da5be81604a169238ab1469542dc3e391a8eadd6a95ee474fd84740
3
+ size 1234488
meta/episodes.jsonl ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "tasks": ["Clean the countertop"], "length": 2241}
2
+ {"episode_index": 1, "tasks": ["Clean the countertop"], "length": 2350}
3
+ {"episode_index": 2, "tasks": ["Clean the countertop"], "length": 2295}
4
+ {"episode_index": 3, "tasks": ["Clean the countertop"], "length": 2146}
5
+ {"episode_index": 4, "tasks": ["Clean the countertop"], "length": 2499}
6
+ {"episode_index": 5, "tasks": ["Clean the countertop"], "length": 2250}
7
+ {"episode_index": 6, "tasks": ["Clean the countertop"], "length": 2051}
8
+ {"episode_index": 7, "tasks": ["Clean the countertop"], "length": 2013}
9
+ {"episode_index": 8, "tasks": ["Clean the countertop"], "length": 2266}
10
+ {"episode_index": 9, "tasks": ["Clean the countertop"], "length": 2317}
11
+ {"episode_index": 10, "tasks": ["Clean the countertop"], "length": 2170}
12
+ {"episode_index": 11, "tasks": ["Clean the countertop"], "length": 2083}
13
+ {"episode_index": 12, "tasks": ["Clean the countertop"], "length": 2182}
14
+ {"episode_index": 13, "tasks": ["Clean the countertop"], "length": 1812}
15
+ {"episode_index": 14, "tasks": ["Clean the countertop"], "length": 2005}
16
+ {"episode_index": 15, "tasks": ["Clean the countertop"], "length": 2119}
17
+ {"episode_index": 16, "tasks": ["Clean the countertop"], "length": 2199}
18
+ {"episode_index": 17, "tasks": ["Clean the countertop"], "length": 2041}
19
+ {"episode_index": 18, "tasks": ["Clean the countertop"], "length": 1708}
20
+ {"episode_index": 19, "tasks": ["Clean the countertop"], "length": 2061}
21
+ {"episode_index": 20, "tasks": ["Clean the countertop"], "length": 2137}
22
+ {"episode_index": 21, "tasks": ["Clean the countertop"], "length": 1718}
23
+ {"episode_index": 22, "tasks": ["Clean the countertop"], "length": 1823}
24
+ {"episode_index": 23, "tasks": ["Clean the countertop"], "length": 2310}
25
+ {"episode_index": 24, "tasks": ["Clean the countertop"], "length": 1921}
26
+ {"episode_index": 25, "tasks": ["Clean the countertop"], "length": 1961}
27
+ {"episode_index": 26, "tasks": ["Clean the countertop"], "length": 1744}
28
+ {"episode_index": 27, "tasks": ["Clean the countertop"], "length": 1979}
29
+ {"episode_index": 28, "tasks": ["Clean the countertop"], "length": 1935}
30
+ {"episode_index": 29, "tasks": ["Clean the countertop"], "length": 1901}
31
+ {"episode_index": 30, "tasks": ["Clean the countertop"], "length": 1993}
32
+ {"episode_index": 31, "tasks": ["Clean the countertop"], "length": 2278}
33
+ {"episode_index": 32, "tasks": ["Clean the countertop"], "length": 1939}
34
+ {"episode_index": 33, "tasks": ["Clean the countertop"], "length": 2155}
35
+ {"episode_index": 34, "tasks": ["Clean the countertop"], "length": 1849}
36
+ {"episode_index": 35, "tasks": ["Clean the countertop"], "length": 1971}
37
+ {"episode_index": 36, "tasks": ["Clean the countertop"], "length": 1781}
38
+ {"episode_index": 37, "tasks": ["Clean the countertop"], "length": 1754}
39
+ {"episode_index": 38, "tasks": ["Clean the countertop"], "length": 1582}
40
+ {"episode_index": 39, "tasks": ["Clean the countertop"], "length": 1819}
41
+ {"episode_index": 40, "tasks": ["Clean the countertop"], "length": 1742}
42
+ {"episode_index": 41, "tasks": ["Clean the countertop"], "length": 1723}
43
+ {"episode_index": 42, "tasks": ["Clean the countertop"], "length": 1798}
44
+ {"episode_index": 43, "tasks": ["Clean the countertop"], "length": 1610}
45
+ {"episode_index": 44, "tasks": ["Clean the countertop"], "length": 1845}
46
+ {"episode_index": 45, "tasks": ["Clean the countertop"], "length": 1789}
47
+ {"episode_index": 46, "tasks": ["Clean the countertop"], "length": 2043}
48
+ {"episode_index": 47, "tasks": ["Clean the countertop"], "length": 1722}
49
+ {"episode_index": 48, "tasks": ["Clean the countertop"], "length": 1810}
50
+ {"episode_index": 49, "tasks": ["Clean the countertop"], "length": 1539}
51
+ {"episode_index": 50, "tasks": ["Clean the countertop"], "length": 1595}
52
+ {"episode_index": 51, "tasks": ["Clean the countertop"], "length": 1644}
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,388 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.1",
3
+ "robot_type": "bi_piper",
4
+ "total_episodes": 52,
5
+ "total_frames": 102218,
6
+ "total_tasks": 1,
7
+ "total_videos": 156,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "fps": 30,
11
+ "splits": {
12
+ "train": "0:52"
13
+ },
14
+ "data_path": "data/tej_test4.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
+ "action_12": {
137
+ "dtype": "float32",
138
+ "shape": [
139
+ 1
140
+ ],
141
+ "tsfile_role": "FIELD"
142
+ },
143
+ "action_13": {
144
+ "dtype": "float32",
145
+ "shape": [
146
+ 1
147
+ ],
148
+ "tsfile_role": "FIELD"
149
+ },
150
+ "observation_state_0": {
151
+ "dtype": "float32",
152
+ "shape": [
153
+ 1
154
+ ],
155
+ "tsfile_role": "FIELD"
156
+ },
157
+ "observation_state_1": {
158
+ "dtype": "float32",
159
+ "shape": [
160
+ 1
161
+ ],
162
+ "tsfile_role": "FIELD"
163
+ },
164
+ "observation_state_2": {
165
+ "dtype": "float32",
166
+ "shape": [
167
+ 1
168
+ ],
169
+ "tsfile_role": "FIELD"
170
+ },
171
+ "observation_state_3": {
172
+ "dtype": "float32",
173
+ "shape": [
174
+ 1
175
+ ],
176
+ "tsfile_role": "FIELD"
177
+ },
178
+ "observation_state_4": {
179
+ "dtype": "float32",
180
+ "shape": [
181
+ 1
182
+ ],
183
+ "tsfile_role": "FIELD"
184
+ },
185
+ "observation_state_5": {
186
+ "dtype": "float32",
187
+ "shape": [
188
+ 1
189
+ ],
190
+ "tsfile_role": "FIELD"
191
+ },
192
+ "observation_state_6": {
193
+ "dtype": "float32",
194
+ "shape": [
195
+ 1
196
+ ],
197
+ "tsfile_role": "FIELD"
198
+ },
199
+ "observation_state_7": {
200
+ "dtype": "float32",
201
+ "shape": [
202
+ 1
203
+ ],
204
+ "tsfile_role": "FIELD"
205
+ },
206
+ "observation_state_8": {
207
+ "dtype": "float32",
208
+ "shape": [
209
+ 1
210
+ ],
211
+ "tsfile_role": "FIELD"
212
+ },
213
+ "observation_state_9": {
214
+ "dtype": "float32",
215
+ "shape": [
216
+ 1
217
+ ],
218
+ "tsfile_role": "FIELD"
219
+ },
220
+ "observation_state_10": {
221
+ "dtype": "float32",
222
+ "shape": [
223
+ 1
224
+ ],
225
+ "tsfile_role": "FIELD"
226
+ },
227
+ "observation_state_11": {
228
+ "dtype": "float32",
229
+ "shape": [
230
+ 1
231
+ ],
232
+ "tsfile_role": "FIELD"
233
+ },
234
+ "observation_state_12": {
235
+ "dtype": "float32",
236
+ "shape": [
237
+ 1
238
+ ],
239
+ "tsfile_role": "FIELD"
240
+ },
241
+ "observation_state_13": {
242
+ "dtype": "float32",
243
+ "shape": [
244
+ 1
245
+ ],
246
+ "tsfile_role": "FIELD"
247
+ }
248
+ },
249
+ "video_path_original": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
250
+ "tsfile_conversion": {
251
+ "source_dataset": "griffinlabs/tej_test4",
252
+ "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
253
+ "converted_data_path": "data/tej_test4.tsfile",
254
+ "table_name": "tej_test4",
255
+ "granularity": "merged",
256
+ "time_precision": "ms",
257
+ "time_mapping": {
258
+ "source": "auto",
259
+ "fps": 30,
260
+ "unit": "milliseconds"
261
+ },
262
+ "tag_columns": [
263
+ "episode_index",
264
+ "task_index"
265
+ ],
266
+ "row_count": 102218,
267
+ "feature_source": "features describe the converted TsFile schema",
268
+ "flattened_features": {
269
+ "action": [
270
+ "action_0",
271
+ "action_1",
272
+ "action_2",
273
+ "action_3",
274
+ "action_4",
275
+ "action_5",
276
+ "action_6",
277
+ "action_7",
278
+ "action_8",
279
+ "action_9",
280
+ "action_10",
281
+ "action_11",
282
+ "action_12",
283
+ "action_13"
284
+ ],
285
+ "observation.state": [
286
+ "observation_state_0",
287
+ "observation_state_1",
288
+ "observation_state_2",
289
+ "observation_state_3",
290
+ "observation_state_4",
291
+ "observation_state_5",
292
+ "observation_state_6",
293
+ "observation_state_7",
294
+ "observation_state_8",
295
+ "observation_state_9",
296
+ "observation_state_10",
297
+ "observation_state_11",
298
+ "observation_state_12",
299
+ "observation_state_13"
300
+ ]
301
+ },
302
+ "renamed_features": {
303
+ "index": "sample_index"
304
+ },
305
+ "dropped_features": [
306
+ "timestamp"
307
+ ],
308
+ "omitted_features": [
309
+ "observation.images.top",
310
+ "observation.images.right",
311
+ "observation.images.left"
312
+ ],
313
+ "original_video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
314
+ "original_video_features": {
315
+ "observation.images.top": {
316
+ "dtype": "video",
317
+ "shape": [
318
+ 480,
319
+ 640,
320
+ 3
321
+ ],
322
+ "names": [
323
+ "height",
324
+ "width",
325
+ "channels"
326
+ ],
327
+ "info": {
328
+ "video.height": 480,
329
+ "video.width": 640,
330
+ "video.codec": "av1",
331
+ "video.pix_fmt": "yuv420p",
332
+ "video.is_depth_map": false,
333
+ "video.fps": 30,
334
+ "video.channels": 3,
335
+ "has_audio": false
336
+ }
337
+ },
338
+ "observation.images.right": {
339
+ "dtype": "video",
340
+ "shape": [
341
+ 240,
342
+ 424,
343
+ 3
344
+ ],
345
+ "names": [
346
+ "height",
347
+ "width",
348
+ "channels"
349
+ ],
350
+ "info": {
351
+ "video.height": 240,
352
+ "video.width": 424,
353
+ "video.codec": "av1",
354
+ "video.pix_fmt": "yuv420p",
355
+ "video.is_depth_map": false,
356
+ "video.fps": 30,
357
+ "video.channels": 3,
358
+ "has_audio": false
359
+ }
360
+ },
361
+ "observation.images.left": {
362
+ "dtype": "video",
363
+ "shape": [
364
+ 240,
365
+ 424,
366
+ 3
367
+ ],
368
+ "names": [
369
+ "height",
370
+ "width",
371
+ "channels"
372
+ ],
373
+ "info": {
374
+ "video.height": 240,
375
+ "video.width": 424,
376
+ "video.codec": "av1",
377
+ "video.pix_fmt": "yuv420p",
378
+ "video.is_depth_map": false,
379
+ "video.fps": 30,
380
+ "video.channels": 3,
381
+ "has_audio": false
382
+ }
383
+ }
384
+ },
385
+ "original_video_source": "https://huggingface.co/datasets/griffinlabs/tej_test4/tree/main/videos",
386
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
387
+ }
388
+ }
meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task_index": 0, "task": "Clean the countertop"}