Datasets:

smilegeng commited on
Commit
f50742e
·
verified ·
1 Parent(s): ef0dd3b

Add TsFile (converted from 1g0rrr/demo2_frames_grab)

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/demo2_frames_grab.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - tsfile
7
+ - timeseries
8
+ - time-series
9
+ - robotics
10
+ - lerobot
11
+ pretty_name: Demo2 Frames Grab
12
+ size_categories:
13
+ - 10K<n<100K
14
+ configs:
15
+ - config_name: default
16
+ data_files:
17
+ - split: train
18
+ path: data/demo2_frames_grab.tsfile
19
+ ---
20
+
21
+ # Demo2 Frames Grab (TsFile)
22
+
23
+ Apache TsFile version of [`1g0rrr/demo2_frames_grab`](https://huggingface.co/datasets/1g0rrr/demo2_frames_grab).
24
+
25
+ ## Overview
26
+
27
+ This LeRobot v2.1 dataset records the task “Peel off protective film from adhesive tape.” It uses the `sam_two` robot type and provides numeric robot action and state observations for each frame.
28
+
29
+ - **Scale:** 64 train episodes, 28,432 frames, one task, sampled at 30 fps.
30
+ - **Source videos:** the original dataset has laptop, side, and phone camera streams. Videos are not included in this TsFile dataset; see the [source videos](https://huggingface.co/datasets/1g0rrr/demo2_frames_grab/tree/main/videos).
31
+
32
+ ## Schema (TsFile structure)
33
+
34
+ - **Time** (INT64, milliseconds) — `round(timestamp * 1000)` for each source frame; time restarts for every episode.
35
+ - **episode_index**, **task_index** (TAG) — source episode and task dimensions; query a single episode with `WHERE episode_index=0`.
36
+ - **frame_index**, **sample_index** (FIELD, INT64) — source frame index and source `index` (renamed to `sample_index`).
37
+ - **action_0** … **action_6** (FIELD, FLOAT) — flattened source `action[7]` vector.
38
+ - **observation_state_0** … **observation_state_6** (FIELD, FLOAT) — flattened source `observation.state[7]` vector.
39
+
40
+ The source `timestamp` column is represented by `Time` and is not retained as a duplicate field. Source vectors are flattened by element index, and their order is preserved.
41
+
42
+ ## Usage
43
+
44
+ Read `data/demo2_frames_grab.tsfile` with the Apache TsFile Java or Python SDK.
45
+
46
+ ## Source & license
47
+
48
+ - Original dataset: https://huggingface.co/datasets/1g0rrr/demo2_frames_grab
49
+ - Author / publisher: 1g0rrr
50
+ - Source format: LeRobot v2.1
51
+ - License: Apache-2.0
data/demo2_frames_grab.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e945e5bc902c8e564f6b20c931b57bfc0a79e5cadc56c670c804bf121592f7e
3
+ size 631375
meta/episodes.jsonl ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "tasks": ["Peel off protective film from adhesive tape."], "length": 464}
2
+ {"episode_index": 1, "tasks": ["Peel off protective film from adhesive tape."], "length": 490}
3
+ {"episode_index": 2, "tasks": ["Peel off protective film from adhesive tape."], "length": 470}
4
+ {"episode_index": 3, "tasks": ["Peel off protective film from adhesive tape."], "length": 422}
5
+ {"episode_index": 4, "tasks": ["Peel off protective film from adhesive tape."], "length": 393}
6
+ {"episode_index": 5, "tasks": ["Peel off protective film from adhesive tape."], "length": 439}
7
+ {"episode_index": 6, "tasks": ["Peel off protective film from adhesive tape."], "length": 449}
8
+ {"episode_index": 7, "tasks": ["Peel off protective film from adhesive tape."], "length": 428}
9
+ {"episode_index": 8, "tasks": ["Peel off protective film from adhesive tape."], "length": 423}
10
+ {"episode_index": 9, "tasks": ["Peel off protective film from adhesive tape."], "length": 454}
11
+ {"episode_index": 10, "tasks": ["Peel off protective film from adhesive tape."], "length": 565}
12
+ {"episode_index": 11, "tasks": ["Peel off protective film from adhesive tape."], "length": 718}
13
+ {"episode_index": 12, "tasks": ["Peel off protective film from adhesive tape."], "length": 449}
14
+ {"episode_index": 13, "tasks": ["Peel off protective film from adhesive tape."], "length": 400}
15
+ {"episode_index": 14, "tasks": ["Peel off protective film from adhesive tape."], "length": 424}
16
+ {"episode_index": 15, "tasks": ["Peel off protective film from adhesive tape."], "length": 384}
17
+ {"episode_index": 16, "tasks": ["Peel off protective film from adhesive tape."], "length": 372}
18
+ {"episode_index": 17, "tasks": ["Peel off protective film from adhesive tape."], "length": 397}
19
+ {"episode_index": 18, "tasks": ["Peel off protective film from adhesive tape."], "length": 430}
20
+ {"episode_index": 19, "tasks": ["Peel off protective film from adhesive tape."], "length": 422}
21
+ {"episode_index": 20, "tasks": ["Peel off protective film from adhesive tape."], "length": 455}
22
+ {"episode_index": 21, "tasks": ["Peel off protective film from adhesive tape."], "length": 398}
23
+ {"episode_index": 22, "tasks": ["Peel off protective film from adhesive tape."], "length": 471}
24
+ {"episode_index": 23, "tasks": ["Peel off protective film from adhesive tape."], "length": 437}
25
+ {"episode_index": 24, "tasks": ["Peel off protective film from adhesive tape."], "length": 393}
26
+ {"episode_index": 25, "tasks": ["Peel off protective film from adhesive tape."], "length": 477}
27
+ {"episode_index": 26, "tasks": ["Peel off protective film from adhesive tape."], "length": 438}
28
+ {"episode_index": 27, "tasks": ["Peel off protective film from adhesive tape."], "length": 376}
29
+ {"episode_index": 28, "tasks": ["Peel off protective film from adhesive tape."], "length": 522}
30
+ {"episode_index": 29, "tasks": ["Peel off protective film from adhesive tape."], "length": 441}
31
+ {"episode_index": 30, "tasks": ["Peel off protective film from adhesive tape."], "length": 492}
32
+ {"episode_index": 31, "tasks": ["Peel off protective film from adhesive tape."], "length": 474}
33
+ {"episode_index": 32, "tasks": ["Peel off protective film from adhesive tape."], "length": 578}
34
+ {"episode_index": 33, "tasks": ["Peel off protective film from adhesive tape."], "length": 449}
35
+ {"episode_index": 34, "tasks": ["Peel off protective film from adhesive tape."], "length": 490}
36
+ {"episode_index": 35, "tasks": ["Peel off protective film from adhesive tape."], "length": 500}
37
+ {"episode_index": 36, "tasks": ["Peel off protective film from adhesive tape."], "length": 488}
38
+ {"episode_index": 37, "tasks": ["Peel off protective film from adhesive tape."], "length": 434}
39
+ {"episode_index": 38, "tasks": ["Peel off protective film from adhesive tape."], "length": 497}
40
+ {"episode_index": 39, "tasks": ["Peel off protective film from adhesive tape."], "length": 453}
41
+ {"episode_index": 40, "tasks": ["Peel off protective film from adhesive tape."], "length": 453}
42
+ {"episode_index": 41, "tasks": ["Peel off protective film from adhesive tape."], "length": 467}
43
+ {"episode_index": 42, "tasks": ["Peel off protective film from adhesive tape."], "length": 350}
44
+ {"episode_index": 43, "tasks": ["Peel off protective film from adhesive tape."], "length": 484}
45
+ {"episode_index": 44, "tasks": ["Peel off protective film from adhesive tape."], "length": 431}
46
+ {"episode_index": 45, "tasks": ["Peel off protective film from adhesive tape."], "length": 466}
47
+ {"episode_index": 46, "tasks": ["Peel off protective film from adhesive tape."], "length": 398}
48
+ {"episode_index": 47, "tasks": ["Peel off protective film from adhesive tape."], "length": 382}
49
+ {"episode_index": 48, "tasks": ["Peel off protective film from adhesive tape."], "length": 416}
50
+ {"episode_index": 49, "tasks": ["Peel off protective film from adhesive tape."], "length": 484}
51
+ {"episode_index": 50, "tasks": ["Peel off protective film from adhesive tape."], "length": 523}
52
+ {"episode_index": 51, "tasks": ["Peel off protective film from adhesive tape."], "length": 448}
53
+ {"episode_index": 52, "tasks": ["Peel off protective film from adhesive tape."], "length": 367}
54
+ {"episode_index": 53, "tasks": ["Peel off protective film from adhesive tape."], "length": 376}
55
+ {"episode_index": 54, "tasks": ["Peel off protective film from adhesive tape."], "length": 373}
56
+ {"episode_index": 55, "tasks": ["Peel off protective film from adhesive tape."], "length": 398}
57
+ {"episode_index": 56, "tasks": ["Peel off protective film from adhesive tape."], "length": 385}
58
+ {"episode_index": 57, "tasks": ["Peel off protective film from adhesive tape."], "length": 422}
59
+ {"episode_index": 58, "tasks": ["Peel off protective film from adhesive tape."], "length": 456}
60
+ {"episode_index": 59, "tasks": ["Peel off protective film from adhesive tape."], "length": 410}
61
+ {"episode_index": 60, "tasks": ["Peel off protective film from adhesive tape."], "length": 441}
62
+ {"episode_index": 61, "tasks": ["Peel off protective film from adhesive tape."], "length": 391}
63
+ {"episode_index": 62, "tasks": ["Peel off protective film from adhesive tape."], "length": 447}
64
+ {"episode_index": 63, "tasks": ["Peel off protective film from adhesive tape."], "length": 408}
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,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.1",
3
+ "robot_type": "sam_two",
4
+ "total_episodes": 64,
5
+ "total_frames": 28432,
6
+ "total_tasks": 1,
7
+ "total_videos": 192,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "fps": 30,
11
+ "splits": {
12
+ "train": "0:64"
13
+ },
14
+ "data_path": "data/demo2_frames_grab.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
+ "observation_state_0": {
102
+ "dtype": "float32",
103
+ "shape": [
104
+ 1
105
+ ],
106
+ "tsfile_role": "FIELD"
107
+ },
108
+ "observation_state_1": {
109
+ "dtype": "float32",
110
+ "shape": [
111
+ 1
112
+ ],
113
+ "tsfile_role": "FIELD"
114
+ },
115
+ "observation_state_2": {
116
+ "dtype": "float32",
117
+ "shape": [
118
+ 1
119
+ ],
120
+ "tsfile_role": "FIELD"
121
+ },
122
+ "observation_state_3": {
123
+ "dtype": "float32",
124
+ "shape": [
125
+ 1
126
+ ],
127
+ "tsfile_role": "FIELD"
128
+ },
129
+ "observation_state_4": {
130
+ "dtype": "float32",
131
+ "shape": [
132
+ 1
133
+ ],
134
+ "tsfile_role": "FIELD"
135
+ },
136
+ "observation_state_5": {
137
+ "dtype": "float32",
138
+ "shape": [
139
+ 1
140
+ ],
141
+ "tsfile_role": "FIELD"
142
+ },
143
+ "observation_state_6": {
144
+ "dtype": "float32",
145
+ "shape": [
146
+ 1
147
+ ],
148
+ "tsfile_role": "FIELD"
149
+ }
150
+ },
151
+ "video_path_original": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
152
+ "tsfile_conversion": {
153
+ "source_dataset": "1g0rrr/demo2_frames_grab",
154
+ "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
155
+ "converted_data_path": "data/demo2_frames_grab.tsfile",
156
+ "table_name": "demo2_frames_grab",
157
+ "granularity": "merged",
158
+ "time_precision": "ms",
159
+ "time_mapping": {
160
+ "source": "auto",
161
+ "fps": 30,
162
+ "unit": "milliseconds"
163
+ },
164
+ "tag_columns": [
165
+ "episode_index",
166
+ "task_index"
167
+ ],
168
+ "row_count": 28432,
169
+ "feature_source": "features describe the converted TsFile schema",
170
+ "flattened_features": {
171
+ "action": [
172
+ "action_0",
173
+ "action_1",
174
+ "action_2",
175
+ "action_3",
176
+ "action_4",
177
+ "action_5",
178
+ "action_6"
179
+ ],
180
+ "observation.state": [
181
+ "observation_state_0",
182
+ "observation_state_1",
183
+ "observation_state_2",
184
+ "observation_state_3",
185
+ "observation_state_4",
186
+ "observation_state_5",
187
+ "observation_state_6"
188
+ ]
189
+ },
190
+ "renamed_features": {
191
+ "index": "sample_index"
192
+ },
193
+ "dropped_features": [
194
+ "timestamp"
195
+ ],
196
+ "omitted_features": [
197
+ "observation.images.laptop",
198
+ "observation.images.side",
199
+ "observation.images.phone"
200
+ ],
201
+ "original_video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
202
+ "original_video_features": {
203
+ "observation.images.laptop": {
204
+ "dtype": "video",
205
+ "shape": [
206
+ 480,
207
+ 640,
208
+ 3
209
+ ],
210
+ "names": [
211
+ "height",
212
+ "width",
213
+ "channels"
214
+ ],
215
+ "info": {
216
+ "video.fps": 30.0,
217
+ "video.height": 480,
218
+ "video.width": 640,
219
+ "video.channels": 3,
220
+ "video.codec": "av1",
221
+ "video.pix_fmt": "yuv420p",
222
+ "video.is_depth_map": false,
223
+ "has_audio": false
224
+ }
225
+ },
226
+ "observation.images.side": {
227
+ "dtype": "video",
228
+ "shape": [
229
+ 480,
230
+ 640,
231
+ 3
232
+ ],
233
+ "names": [
234
+ "height",
235
+ "width",
236
+ "channels"
237
+ ],
238
+ "info": {
239
+ "video.fps": 30.0,
240
+ "video.height": 480,
241
+ "video.width": 640,
242
+ "video.channels": 3,
243
+ "video.codec": "av1",
244
+ "video.pix_fmt": "yuv420p",
245
+ "video.is_depth_map": false,
246
+ "has_audio": false
247
+ }
248
+ },
249
+ "observation.images.phone": {
250
+ "dtype": "video",
251
+ "shape": [
252
+ 480,
253
+ 640,
254
+ 3
255
+ ],
256
+ "names": [
257
+ "height",
258
+ "width",
259
+ "channels"
260
+ ],
261
+ "info": {
262
+ "video.fps": 30.0,
263
+ "video.height": 480,
264
+ "video.width": 640,
265
+ "video.channels": 3,
266
+ "video.codec": "av1",
267
+ "video.pix_fmt": "yuv420p",
268
+ "video.is_depth_map": false,
269
+ "has_audio": false
270
+ }
271
+ }
272
+ },
273
+ "original_video_source": "https://huggingface.co/datasets/1g0rrr/demo2_frames_grab/tree/main/videos",
274
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
275
+ }
276
+ }
meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task_index": 0, "task": "Peel off protective film from adhesive tape."}