XNX25 commited on
Commit
4ce8e1c
·
verified ·
1 Parent(s): 09750ea

Add TsFile (converted from pietroom/first_task_short)

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/first_task_short.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - tsfile
8
+ - format:tsfile
9
+ - time-series
10
+ modality:
11
+ - timeseries
12
+ configs:
13
+ - config_name: default
14
+ data_files:
15
+ - split: train
16
+ path: data/first_task_short.tsfile
17
+ ---
18
+
19
+ # first_task_short (TsFile)
20
+
21
+ Apache TsFile version of [`pietroom/first_task_short`](https://huggingface.co/datasets/pietroom/first_task_short).
22
+
23
+ ## Overview
24
+
25
+ This dataset is a LeRobot v2.1 dataset of an SO-100 arm (a short first-task recording).
26
+
27
+ - **Robot:** SO-100 (so100)
28
+ - **Scale:** 90 episodes, 53,830 frames, 30 fps
29
+ - **Split:** train
30
+ - **Cameras (not uploaded):** `laptop`, `phone`
31
+
32
+ ## Schema (TsFile structure)
33
+
34
+ The TsFile table is named `first_task_short`.
35
+
36
+ | Role | Columns |
37
+ | --- | --- |
38
+ | Time | `Time`, INT64 milliseconds |
39
+ | TAG | `episode_index`, `task_index` |
40
+ | FIELD | `frame_index`, `sample_index` |
41
+ | FIELD | `action_0` … `action_5`, FLOAT |
42
+ | FIELD | `observation_state_0` … `observation_state_5`, FLOAT |
43
+
44
+ Vector columns are flattened into scalar FLOAT measurements (single precision). The source `index` column is retained as `sample_index`.
45
+
46
+ ## Conversion notes
47
+
48
+ - `Time = round(timestamp * 1000)` with millisecond precision; time restarts inside each episode, while `episode_index` and `task_index` identify the TsFile device.
49
+ - The original `timestamp` field is omitted because it is exactly represented by `Time / 1000`.
50
+ - Camera video streams are NOT included in this repository; they remain in the [source videos tree](https://huggingface.co/datasets/pietroom/first_task_short/tree/main/videos).
51
+ - `meta/` is mirrored from the source. Aside from the redundant `timestamp` column and the excluded videos, no source rows or numeric fields are dropped.
52
+
53
+ ## Read example
54
+
55
+ ```python
56
+ from tsfile import TsFileReader
57
+
58
+ with TsFileReader("data/first_task_short.tsfile") as reader:
59
+ print(reader.get_all_table_schemas()["first_task_short"])
60
+ ```
61
+
62
+ ## Source & license
63
+
64
+ - Original dataset: https://huggingface.co/datasets/pietroom/first_task_short
65
+ - Author: pietroom
66
+ - License: apache-2.0
data/first_task_short.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6a2d8874b858f359e115ab402bb0b693e3598f13545c7213f0835b59666d390
3
+ size 1064693
meta/episodes.jsonl ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "tasks": ["Pass the marker."], "length": 598}
2
+ {"episode_index": 1, "tasks": ["Pass the marker."], "length": 598}
3
+ {"episode_index": 2, "tasks": ["Pass the marker."], "length": 599}
4
+ {"episode_index": 3, "tasks": ["Pass the marker."], "length": 598}
5
+ {"episode_index": 4, "tasks": ["Pass the marker."], "length": 598}
6
+ {"episode_index": 5, "tasks": ["Pass the marker."], "length": 598}
7
+ {"episode_index": 6, "tasks": ["Pass the marker."], "length": 598}
8
+ {"episode_index": 7, "tasks": ["Pass the marker."], "length": 598}
9
+ {"episode_index": 8, "tasks": ["Pass the marker."], "length": 598}
10
+ {"episode_index": 9, "tasks": ["Pass the marker."], "length": 598}
11
+ {"episode_index": 10, "tasks": ["Pass the marker."], "length": 598}
12
+ {"episode_index": 11, "tasks": ["Pass the marker."], "length": 598}
13
+ {"episode_index": 12, "tasks": ["Pass the marker."], "length": 598}
14
+ {"episode_index": 13, "tasks": ["Pass the marker."], "length": 598}
15
+ {"episode_index": 14, "tasks": ["Pass the marker."], "length": 598}
16
+ {"episode_index": 15, "tasks": ["Pass the marker."], "length": 598}
17
+ {"episode_index": 16, "tasks": ["Pass the marker."], "length": 598}
18
+ {"episode_index": 17, "tasks": ["Pass the marker."], "length": 598}
19
+ {"episode_index": 18, "tasks": ["Pass the marker."], "length": 598}
20
+ {"episode_index": 19, "tasks": ["Pass the marker."], "length": 598}
21
+ {"episode_index": 20, "tasks": ["Pass the marker."], "length": 599}
22
+ {"episode_index": 21, "tasks": ["Pass the marker."], "length": 598}
23
+ {"episode_index": 22, "tasks": ["Pass the marker."], "length": 598}
24
+ {"episode_index": 23, "tasks": ["Pass the marker."], "length": 598}
25
+ {"episode_index": 24, "tasks": ["Pass the marker."], "length": 598}
26
+ {"episode_index": 25, "tasks": ["Pass the marker."], "length": 598}
27
+ {"episode_index": 26, "tasks": ["Pass the marker."], "length": 598}
28
+ {"episode_index": 27, "tasks": ["Pass the marker."], "length": 598}
29
+ {"episode_index": 28, "tasks": ["Pass the marker."], "length": 598}
30
+ {"episode_index": 29, "tasks": ["Pass the marker."], "length": 598}
31
+ {"episode_index": 30, "tasks": ["Pass the marker."], "length": 599}
32
+ {"episode_index": 31, "tasks": ["Pass the marker."], "length": 598}
33
+ {"episode_index": 32, "tasks": ["Pass the marker."], "length": 598}
34
+ {"episode_index": 33, "tasks": ["Pass the marker."], "length": 598}
35
+ {"episode_index": 34, "tasks": ["Pass the marker."], "length": 598}
36
+ {"episode_index": 35, "tasks": ["Pass the marker."], "length": 598}
37
+ {"episode_index": 36, "tasks": ["Pass the marker."], "length": 598}
38
+ {"episode_index": 37, "tasks": ["Pass the marker."], "length": 598}
39
+ {"episode_index": 38, "tasks": ["Pass the marker."], "length": 598}
40
+ {"episode_index": 39, "tasks": ["Pass the marker."], "length": 598}
41
+ {"episode_index": 40, "tasks": ["Pass the marker."], "length": 598}
42
+ {"episode_index": 41, "tasks": ["Pass the marker."], "length": 598}
43
+ {"episode_index": 42, "tasks": ["Pass the marker."], "length": 598}
44
+ {"episode_index": 43, "tasks": ["Pass the marker."], "length": 598}
45
+ {"episode_index": 44, "tasks": ["Pass the marker."], "length": 598}
46
+ {"episode_index": 45, "tasks": ["Pass the marker."], "length": 598}
47
+ {"episode_index": 46, "tasks": ["Pass the marker."], "length": 598}
48
+ {"episode_index": 47, "tasks": ["Pass the marker."], "length": 598}
49
+ {"episode_index": 48, "tasks": ["Pass the marker."], "length": 598}
50
+ {"episode_index": 49, "tasks": ["Pass the marker."], "length": 598}
51
+ {"episode_index": 50, "tasks": ["Pass the marker."], "length": 599}
52
+ {"episode_index": 51, "tasks": ["Pass the marker."], "length": 599}
53
+ {"episode_index": 52, "tasks": ["Pass the marker."], "length": 599}
54
+ {"episode_index": 53, "tasks": ["Pass the marker."], "length": 598}
55
+ {"episode_index": 54, "tasks": ["Pass the marker."], "length": 599}
56
+ {"episode_index": 55, "tasks": ["Pass the marker."], "length": 599}
57
+ {"episode_index": 56, "tasks": ["Pass the marker."], "length": 598}
58
+ {"episode_index": 57, "tasks": ["Pass the marker."], "length": 598}
59
+ {"episode_index": 58, "tasks": ["Pass the marker."], "length": 598}
60
+ {"episode_index": 59, "tasks": ["Pass the marker."], "length": 598}
61
+ {"episode_index": 60, "tasks": ["Pass the marker."], "length": 598}
62
+ {"episode_index": 61, "tasks": ["Pass the marker."], "length": 598}
63
+ {"episode_index": 62, "tasks": ["Pass the marker."], "length": 598}
64
+ {"episode_index": 63, "tasks": ["Pass the marker."], "length": 598}
65
+ {"episode_index": 64, "tasks": ["Pass the marker."], "length": 599}
66
+ {"episode_index": 65, "tasks": ["Pass the marker."], "length": 598}
67
+ {"episode_index": 66, "tasks": ["Pass the marker."], "length": 598}
68
+ {"episode_index": 67, "tasks": ["Pass the marker."], "length": 598}
69
+ {"episode_index": 68, "tasks": ["Pass the marker."], "length": 598}
70
+ {"episode_index": 69, "tasks": ["Pass the marker."], "length": 599}
71
+ {"episode_index": 70, "tasks": ["Pass the marker."], "length": 598}
72
+ {"episode_index": 71, "tasks": ["Pass the marker."], "length": 598}
73
+ {"episode_index": 72, "tasks": ["Pass the marker."], "length": 598}
74
+ {"episode_index": 73, "tasks": ["Pass the marker."], "length": 598}
75
+ {"episode_index": 74, "tasks": ["Pass the marker."], "length": 598}
76
+ {"episode_index": 75, "tasks": ["Pass the marker."], "length": 598}
77
+ {"episode_index": 76, "tasks": ["Pass the marker."], "length": 598}
78
+ {"episode_index": 77, "tasks": ["Pass the marker."], "length": 598}
79
+ {"episode_index": 78, "tasks": ["Pass the marker."], "length": 598}
80
+ {"episode_index": 79, "tasks": ["Pass the marker."], "length": 598}
81
+ {"episode_index": 80, "tasks": ["Pass the marker."], "length": 598}
82
+ {"episode_index": 81, "tasks": ["Pass the marker."], "length": 598}
83
+ {"episode_index": 82, "tasks": ["Pass the marker."], "length": 598}
84
+ {"episode_index": 83, "tasks": ["Pass the marker."], "length": 598}
85
+ {"episode_index": 84, "tasks": ["Pass the marker."], "length": 598}
86
+ {"episode_index": 85, "tasks": ["Pass the marker."], "length": 598}
87
+ {"episode_index": 86, "tasks": ["Pass the marker."], "length": 598}
88
+ {"episode_index": 87, "tasks": ["Pass the marker."], "length": 598}
89
+ {"episode_index": 88, "tasks": ["Pass the marker."], "length": 598}
90
+ {"episode_index": 89, "tasks": ["Pass the marker."], "length": 598}
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,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.1",
3
+ "robot_type": "so100",
4
+ "total_episodes": 90,
5
+ "total_frames": 53830,
6
+ "total_tasks": 1,
7
+ "total_videos": 180,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "fps": 30,
11
+ "splits": {
12
+ "train": "0:90"
13
+ },
14
+ "data_path": "data/first_task_short.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
+ "observation_state_0": {
95
+ "dtype": "float32",
96
+ "shape": [
97
+ 1
98
+ ],
99
+ "tsfile_role": "FIELD"
100
+ },
101
+ "observation_state_1": {
102
+ "dtype": "float32",
103
+ "shape": [
104
+ 1
105
+ ],
106
+ "tsfile_role": "FIELD"
107
+ },
108
+ "observation_state_2": {
109
+ "dtype": "float32",
110
+ "shape": [
111
+ 1
112
+ ],
113
+ "tsfile_role": "FIELD"
114
+ },
115
+ "observation_state_3": {
116
+ "dtype": "float32",
117
+ "shape": [
118
+ 1
119
+ ],
120
+ "tsfile_role": "FIELD"
121
+ },
122
+ "observation_state_4": {
123
+ "dtype": "float32",
124
+ "shape": [
125
+ 1
126
+ ],
127
+ "tsfile_role": "FIELD"
128
+ },
129
+ "observation_state_5": {
130
+ "dtype": "float32",
131
+ "shape": [
132
+ 1
133
+ ],
134
+ "tsfile_role": "FIELD"
135
+ }
136
+ },
137
+ "video_path_original": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
138
+ "tsfile_conversion": {
139
+ "source_dataset": "pietroom/first_task_short",
140
+ "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
141
+ "converted_data_path": "data/first_task_short.tsfile",
142
+ "table_name": "first_task_short",
143
+ "granularity": "merged",
144
+ "time_precision": "ms",
145
+ "time_mapping": {
146
+ "source": "auto",
147
+ "fps": 30,
148
+ "unit": "milliseconds"
149
+ },
150
+ "tag_columns": [
151
+ "episode_index",
152
+ "task_index"
153
+ ],
154
+ "row_count": 53830,
155
+ "feature_source": "features describe the converted TsFile schema",
156
+ "flattened_features": {
157
+ "action": [
158
+ "action_0",
159
+ "action_1",
160
+ "action_2",
161
+ "action_3",
162
+ "action_4",
163
+ "action_5"
164
+ ],
165
+ "observation.state": [
166
+ "observation_state_0",
167
+ "observation_state_1",
168
+ "observation_state_2",
169
+ "observation_state_3",
170
+ "observation_state_4",
171
+ "observation_state_5"
172
+ ]
173
+ },
174
+ "renamed_features": {
175
+ "index": "sample_index"
176
+ },
177
+ "dropped_features": [
178
+ "timestamp"
179
+ ],
180
+ "omitted_features": [
181
+ "observation.images.laptop",
182
+ "observation.images.phone"
183
+ ],
184
+ "original_video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
185
+ "original_video_features": {
186
+ "observation.images.laptop": {
187
+ "dtype": "video",
188
+ "shape": [
189
+ 480,
190
+ 640,
191
+ 3
192
+ ],
193
+ "names": [
194
+ "height",
195
+ "width",
196
+ "channels"
197
+ ],
198
+ "info": {
199
+ "video.fps": 30.0,
200
+ "video.height": 480,
201
+ "video.width": 640,
202
+ "video.channels": 3,
203
+ "video.codec": "av1",
204
+ "video.pix_fmt": "yuv420p",
205
+ "video.is_depth_map": false,
206
+ "has_audio": false
207
+ }
208
+ },
209
+ "observation.images.phone": {
210
+ "dtype": "video",
211
+ "shape": [
212
+ 480,
213
+ 640,
214
+ 3
215
+ ],
216
+ "names": [
217
+ "height",
218
+ "width",
219
+ "channels"
220
+ ],
221
+ "info": {
222
+ "video.fps": 30.0,
223
+ "video.height": 480,
224
+ "video.width": 640,
225
+ "video.channels": 3,
226
+ "video.codec": "av1",
227
+ "video.pix_fmt": "yuv420p",
228
+ "video.is_depth_map": false,
229
+ "has_audio": false
230
+ }
231
+ }
232
+ },
233
+ "original_video_source": "https://huggingface.co/datasets/pietroom/first_task_short/tree/main/videos",
234
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
235
+ }
236
+ }
meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task_index": 0, "task": "Pass the marker."}