wangdx25 commited on
Commit
bf036a1
·
verified ·
1 Parent(s): ba0b59f

Add TsFile (converted from lerobot/fmb)

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +52 -0
  3. data/fmb.tsfile +3 -0
  4. meta/info.json +312 -0
.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/fmb.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - LeRobot
7
+ - tsfile
8
+ - timeseries
9
+ - format:tsfile
10
+ pretty_name: fmb
11
+ modality: timeseries
12
+ configs:
13
+ - config_name: default
14
+ data_files:
15
+ - split: train
16
+ path: data/fmb.tsfile
17
+ ---
18
+
19
+ # fmb (TsFile)
20
+
21
+ Apache TsFile version of [`lerobot/fmb`](https://huggingface.co/datasets/lerobot/fmb).
22
+
23
+ ## Overview
24
+
25
+ A [LeRobot](https://github.com/huggingface/lerobot) robot-manipulation dataset. 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`.
26
+
27
+ - **Robot:** unknown
28
+ - **Episodes:** 1804
29
+ - **Frames:** 338188
30
+ - **Sampling rate:** 10 fps
31
+ - **Splits:** a single `train` split
32
+
33
+ ## Schema (TsFile structure)
34
+
35
+ - **Time** (INT64, milliseconds) — `round(timestamp * 1000)`; the source `timestamp` column (seconds) is dropped because it equals `Time / 1000`.
36
+ - **episode_index** (TAG), **task_index** (TAG) — device dimensions; query one episode with `WHERE episode_index = <n>`.
37
+ - **frame_index** (FIELD, INT64), **sample_index** (FIELD, INT64, from the source `index`) — per-frame bookkeeping.
38
+ - Vector columns (single-precision FLOAT, source name with `.` → `_` and an element index appended):
39
+ - observation.state → `observation_state_0`..`observation_state_7` (FLOAT)
40
+ - action → `action_0`..`action_6` (FLOAT)
41
+
42
+ Camera video streams are **not** included in this repository; see the original dataset for the videos: https://huggingface.co/datasets/lerobot/fmb (`videos/` directory).
43
+
44
+ ## Usage
45
+
46
+ Read the `.tsfile` files with the Apache TsFile Java or Python SDK.
47
+
48
+ ## Source & license
49
+
50
+ - Original dataset: https://huggingface.co/datasets/lerobot/fmb
51
+ - Author / publisher: lerobot
52
+ - License: apache-2.0
data/fmb.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe6903c8530ad13d67a2656566b83f02001527c6a148da917ef6c5415af824b
3
+ size 32372079
meta/info.json ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v3.0",
3
+ "robot_type": "unknown",
4
+ "total_episodes": 1804,
5
+ "total_frames": 338188,
6
+ "total_tasks": 24,
7
+ "chunks_size": 1000,
8
+ "fps": 10,
9
+ "splits": {
10
+ "train": "0:1804"
11
+ },
12
+ "data_path": "data/fmb.tsfile",
13
+ "features": {
14
+ "Time": {
15
+ "dtype": "int64",
16
+ "shape": [
17
+ 1
18
+ ],
19
+ "tsfile_role": "TIME",
20
+ "unit": "ms"
21
+ },
22
+ "episode_index": {
23
+ "dtype": "int64",
24
+ "shape": [
25
+ 1
26
+ ],
27
+ "tsfile_role": "TAG"
28
+ },
29
+ "task_index": {
30
+ "dtype": "int64",
31
+ "shape": [
32
+ 1
33
+ ],
34
+ "tsfile_role": "TAG"
35
+ },
36
+ "frame_index": {
37
+ "dtype": "int64",
38
+ "shape": [
39
+ 1
40
+ ],
41
+ "tsfile_role": "FIELD"
42
+ },
43
+ "sample_index": {
44
+ "dtype": "int64",
45
+ "shape": [
46
+ 1
47
+ ],
48
+ "tsfile_role": "FIELD"
49
+ },
50
+ "next_reward": {
51
+ "dtype": "float32",
52
+ "shape": [
53
+ 1
54
+ ],
55
+ "tsfile_role": "FIELD"
56
+ },
57
+ "next_done": {
58
+ "dtype": "int64",
59
+ "shape": [
60
+ 1
61
+ ],
62
+ "tsfile_role": "FIELD"
63
+ },
64
+ "observation_state_0": {
65
+ "dtype": "float32",
66
+ "shape": [
67
+ 1
68
+ ],
69
+ "tsfile_role": "FIELD"
70
+ },
71
+ "observation_state_1": {
72
+ "dtype": "float32",
73
+ "shape": [
74
+ 1
75
+ ],
76
+ "tsfile_role": "FIELD"
77
+ },
78
+ "observation_state_2": {
79
+ "dtype": "float32",
80
+ "shape": [
81
+ 1
82
+ ],
83
+ "tsfile_role": "FIELD"
84
+ },
85
+ "observation_state_3": {
86
+ "dtype": "float32",
87
+ "shape": [
88
+ 1
89
+ ],
90
+ "tsfile_role": "FIELD"
91
+ },
92
+ "observation_state_4": {
93
+ "dtype": "float32",
94
+ "shape": [
95
+ 1
96
+ ],
97
+ "tsfile_role": "FIELD"
98
+ },
99
+ "observation_state_5": {
100
+ "dtype": "float32",
101
+ "shape": [
102
+ 1
103
+ ],
104
+ "tsfile_role": "FIELD"
105
+ },
106
+ "observation_state_6": {
107
+ "dtype": "float32",
108
+ "shape": [
109
+ 1
110
+ ],
111
+ "tsfile_role": "FIELD"
112
+ },
113
+ "observation_state_7": {
114
+ "dtype": "float32",
115
+ "shape": [
116
+ 1
117
+ ],
118
+ "tsfile_role": "FIELD"
119
+ },
120
+ "action_0": {
121
+ "dtype": "float32",
122
+ "shape": [
123
+ 1
124
+ ],
125
+ "tsfile_role": "FIELD"
126
+ },
127
+ "action_1": {
128
+ "dtype": "float32",
129
+ "shape": [
130
+ 1
131
+ ],
132
+ "tsfile_role": "FIELD"
133
+ },
134
+ "action_2": {
135
+ "dtype": "float32",
136
+ "shape": [
137
+ 1
138
+ ],
139
+ "tsfile_role": "FIELD"
140
+ },
141
+ "action_3": {
142
+ "dtype": "float32",
143
+ "shape": [
144
+ 1
145
+ ],
146
+ "tsfile_role": "FIELD"
147
+ },
148
+ "action_4": {
149
+ "dtype": "float32",
150
+ "shape": [
151
+ 1
152
+ ],
153
+ "tsfile_role": "FIELD"
154
+ },
155
+ "action_5": {
156
+ "dtype": "float32",
157
+ "shape": [
158
+ 1
159
+ ],
160
+ "tsfile_role": "FIELD"
161
+ },
162
+ "action_6": {
163
+ "dtype": "float32",
164
+ "shape": [
165
+ 1
166
+ ],
167
+ "tsfile_role": "FIELD"
168
+ }
169
+ },
170
+ "data_files_size_in_mb": 100,
171
+ "video_files_size_in_mb": 200,
172
+ "video_path_original": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
173
+ "tsfile_conversion": {
174
+ "source_dataset": "lerobot/fmb",
175
+ "source_data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
176
+ "converted_data_path": "data/fmb.tsfile",
177
+ "table_name": "fmb",
178
+ "granularity": "merged",
179
+ "time_precision": "ms",
180
+ "time_mapping": {
181
+ "source": "auto",
182
+ "fps": 30,
183
+ "unit": "milliseconds"
184
+ },
185
+ "tag_columns": [
186
+ "episode_index",
187
+ "task_index"
188
+ ],
189
+ "row_count": 338188,
190
+ "feature_source": "features describe the converted TsFile schema",
191
+ "flattened_features": {
192
+ "observation.state": [
193
+ "observation_state_0",
194
+ "observation_state_1",
195
+ "observation_state_2",
196
+ "observation_state_3",
197
+ "observation_state_4",
198
+ "observation_state_5",
199
+ "observation_state_6",
200
+ "observation_state_7"
201
+ ],
202
+ "action": [
203
+ "action_0",
204
+ "action_1",
205
+ "action_2",
206
+ "action_3",
207
+ "action_4",
208
+ "action_5",
209
+ "action_6"
210
+ ]
211
+ },
212
+ "renamed_features": {
213
+ "next.reward": "next_reward",
214
+ "next.done": "next_done",
215
+ "index": "sample_index"
216
+ },
217
+ "dropped_features": [
218
+ "timestamp"
219
+ ],
220
+ "omitted_features": [
221
+ "observation.images.image_side_1",
222
+ "observation.images.image_side_2",
223
+ "observation.images.image_wrist_1",
224
+ "observation.images.image_wrist_2"
225
+ ],
226
+ "original_video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
227
+ "original_video_features": {
228
+ "observation.images.image_side_1": {
229
+ "dtype": "video",
230
+ "shape": [
231
+ 256,
232
+ 256,
233
+ 3
234
+ ],
235
+ "names": [
236
+ "height",
237
+ "width",
238
+ "channel"
239
+ ],
240
+ "video_info": {
241
+ "video.fps": 10.0,
242
+ "video.codec": "av1",
243
+ "video.pix_fmt": "yuv420p",
244
+ "video.is_depth_map": false,
245
+ "has_audio": false
246
+ }
247
+ },
248
+ "observation.images.image_side_2": {
249
+ "dtype": "video",
250
+ "shape": [
251
+ 256,
252
+ 256,
253
+ 3
254
+ ],
255
+ "names": [
256
+ "height",
257
+ "width",
258
+ "channel"
259
+ ],
260
+ "video_info": {
261
+ "video.fps": 10.0,
262
+ "video.codec": "av1",
263
+ "video.pix_fmt": "yuv420p",
264
+ "video.is_depth_map": false,
265
+ "has_audio": false
266
+ }
267
+ },
268
+ "observation.images.image_wrist_1": {
269
+ "dtype": "video",
270
+ "shape": [
271
+ 256,
272
+ 256,
273
+ 3
274
+ ],
275
+ "names": [
276
+ "height",
277
+ "width",
278
+ "channel"
279
+ ],
280
+ "video_info": {
281
+ "video.fps": 10.0,
282
+ "video.codec": "av1",
283
+ "video.pix_fmt": "yuv420p",
284
+ "video.is_depth_map": false,
285
+ "has_audio": false
286
+ }
287
+ },
288
+ "observation.images.image_wrist_2": {
289
+ "dtype": "video",
290
+ "shape": [
291
+ 256,
292
+ 256,
293
+ 3
294
+ ],
295
+ "names": [
296
+ "height",
297
+ "width",
298
+ "channel"
299
+ ],
300
+ "video_info": {
301
+ "video.fps": 10.0,
302
+ "video.codec": "av1",
303
+ "video.pix_fmt": "yuv420p",
304
+ "video.is_depth_map": false,
305
+ "has_audio": false
306
+ }
307
+ }
308
+ },
309
+ "original_video_source": "https://huggingface.co/datasets/lerobot/fmb/tree/main/videos",
310
+ "video_policy": "Videos are not uploaded to this repository; use the original HuggingFace dataset videos."
311
+ }
312
+ }