ayushexel commited on
Commit
3e2e391
·
verified ·
1 Parent(s): a66768c

Initial upload: lerobot-lancedb format pusht conversion

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
+ pusht-lerobot-lancedb.lance/data/11000110111110111100011104296e4174afede6f919481bfc.lance filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ language:
6
+ - en
7
+ tags:
8
+ - lerobot
9
+ - pusht
10
+ - diffusion-policy
11
+ - robotics
12
+ - lance
13
+ - lerobot-lancedb
14
+ pretty_name: pusht-lerobot-lancedb (frames / JPEG)
15
+ size_categories:
16
+ - 10K<n<100K
17
+ ---
18
+
19
+ # pusht-lerobot-lancedb (frames / JPEG)
20
+
21
+ A [`lerobot-lancedb`](https://github.com/lancedb/lerobot-lancedb)-format Lance copy of
22
+ [`lerobot/pusht`](https://huggingface.co/datasets/lerobot/pusht). One row per frame; per-frame
23
+ JPEG bytes stored inline.
24
+
25
+ > **Not to be confused with** [`lance-format/lerobot-pusht-lance`](https://huggingface.co/datasets/lance-format/lerobot-pusht-lance),
26
+ > which uses a different three-table schema (`frames`/`episodes`/`videos`) and is **not loadable**
27
+ > with `lerobot-lancedb`. This repo is specifically the layout produced by
28
+ > `lerobot-convert-to-lance`.
29
+
30
+ ## Load
31
+
32
+ ```python
33
+ from lerobot_lancedb import LeRobotLanceDataset
34
+
35
+ ds = LeRobotLanceDataset(repo_id="lance-format/pusht-lerobot-lancedb")
36
+ print(len(ds)) # 25_650 frames
37
+ print(ds[0]["observation.image"].shape) # torch.Size([3, 96, 96])
38
+ ```
39
+
40
+ Lance streams per-frame bytes via byte-range fetches from the Hub — no full-dataset download.
41
+
42
+ ## Repro
43
+
44
+ ```bash
45
+ pip install git+https://github.com/lancedb/lerobot-lancedb.git
46
+ lerobot-convert-to-lance \
47
+ --repo-id=lerobot/pusht \
48
+ --output=./pusht-lerobot-lancedb \
49
+ --table-name=pusht-lerobot-lancedb \
50
+ --jpeg-quality=95
51
+ ```
52
+
53
+ ## Layout
54
+
55
+ ```
56
+ pusht-lerobot-lancedb/
57
+ ├── meta/ # standard LeRobotDataset metadata sidecar
58
+ │ ├── info.json
59
+ │ ├── episodes.jsonl
60
+ │ ├── stats.json
61
+ │ └── tasks.jsonl
62
+ └── pusht-lerobot-lancedb.lance/ # single Lance table, one row per frame
63
+ ```
64
+
65
+ Columns: `episode_index`, `frame_index`, `index`, `timestamp`, `task_index`,
66
+ `observation.state`, `action`, `observation.image` (JPEG bytes, lossy q=95).
67
+
68
+ Size: ~60 MB. Companion video-blob layout (bit-exact pixels, ~8 MB) at
69
+ [`lance-format/pusht-lerobot-lancedb-video`](https://huggingface.co/datasets/lance-format/pusht-lerobot-lancedb-video).
meta/episodes/chunk-000/file-000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc1226f33d3d1635ec1954f9942073709be8e106fde5f4f16b9d52edc4e0ebc4
3
+ size 106584
meta/info.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v3.0",
3
+ "robot_type": "unknown",
4
+ "total_episodes": 206,
5
+ "total_frames": 25650,
6
+ "total_tasks": 1,
7
+ "chunks_size": 1000,
8
+ "fps": 10,
9
+ "splits": {
10
+ "train": "0:206"
11
+ },
12
+ "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
13
+ "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
14
+ "features": {
15
+ "observation.image": {
16
+ "dtype": "video",
17
+ "shape": [
18
+ 96,
19
+ 96,
20
+ 3
21
+ ],
22
+ "names": [
23
+ "height",
24
+ "width",
25
+ "channel"
26
+ ],
27
+ "video_info": {
28
+ "video.fps": 10.0,
29
+ "video.codec": "av1",
30
+ "video.pix_fmt": "yuv420p",
31
+ "video.is_depth_map": false,
32
+ "has_audio": false
33
+ }
34
+ },
35
+ "observation.state": {
36
+ "dtype": "float32",
37
+ "shape": [
38
+ 2
39
+ ],
40
+ "names": {
41
+ "motors": [
42
+ "motor_0",
43
+ "motor_1"
44
+ ]
45
+ },
46
+ "fps": 10.0
47
+ },
48
+ "action": {
49
+ "dtype": "float32",
50
+ "shape": [
51
+ 2
52
+ ],
53
+ "names": {
54
+ "motors": [
55
+ "motor_0",
56
+ "motor_1"
57
+ ]
58
+ },
59
+ "fps": 10.0
60
+ },
61
+ "episode_index": {
62
+ "dtype": "int64",
63
+ "shape": [
64
+ 1
65
+ ],
66
+ "names": null,
67
+ "fps": 10.0
68
+ },
69
+ "frame_index": {
70
+ "dtype": "int64",
71
+ "shape": [
72
+ 1
73
+ ],
74
+ "names": null,
75
+ "fps": 10.0
76
+ },
77
+ "timestamp": {
78
+ "dtype": "float32",
79
+ "shape": [
80
+ 1
81
+ ],
82
+ "names": null,
83
+ "fps": 10.0
84
+ },
85
+ "next.reward": {
86
+ "dtype": "float32",
87
+ "shape": [
88
+ 1
89
+ ],
90
+ "names": null,
91
+ "fps": 10.0
92
+ },
93
+ "next.done": {
94
+ "dtype": "bool",
95
+ "shape": [
96
+ 1
97
+ ],
98
+ "names": null,
99
+ "fps": 10.0
100
+ },
101
+ "next.success": {
102
+ "dtype": "bool",
103
+ "shape": [
104
+ 1
105
+ ],
106
+ "names": null,
107
+ "fps": 10.0
108
+ },
109
+ "index": {
110
+ "dtype": "int64",
111
+ "shape": [
112
+ 1
113
+ ],
114
+ "names": null,
115
+ "fps": 10.0
116
+ },
117
+ "task_index": {
118
+ "dtype": "int64",
119
+ "shape": [
120
+ 1
121
+ ],
122
+ "names": null,
123
+ "fps": 10.0
124
+ }
125
+ },
126
+ "data_files_size_in_mb": 100,
127
+ "video_files_size_in_mb": 500
128
+ }
meta/stats.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "index": {
3
+ "min": [
4
+ 0
5
+ ],
6
+ "max": [
7
+ 25649
8
+ ],
9
+ "mean": [
10
+ 12824.5
11
+ ],
12
+ "std": [
13
+ 7404.517196729755
14
+ ],
15
+ "count": [
16
+ 25650
17
+ ]
18
+ },
19
+ "next.success": {
20
+ "min": [
21
+ false
22
+ ],
23
+ "max": [
24
+ false
25
+ ],
26
+ "mean": [
27
+ 0.0
28
+ ],
29
+ "std": [
30
+ 0.0
31
+ ],
32
+ "count": [
33
+ 25650
34
+ ]
35
+ },
36
+ "observation.state": {
37
+ "min": [
38
+ 13.45642375946045,
39
+ 32.93829345703125
40
+ ],
41
+ "max": [
42
+ 496.14617919921875,
43
+ 510.9578857421875
44
+ ],
45
+ "mean": [
46
+ 229.11103166814436,
47
+ 293.3112367905883
48
+ ],
49
+ "std": [
50
+ 101.8547050631131,
51
+ 96.48948719420683
52
+ ],
53
+ "count": [
54
+ 25650
55
+ ]
56
+ },
57
+ "next.done": {
58
+ "min": [
59
+ false
60
+ ],
61
+ "max": [
62
+ true
63
+ ],
64
+ "mean": [
65
+ 0.016062378167641327
66
+ ],
67
+ "std": [
68
+ 0.12571546513950066
69
+ ],
70
+ "count": [
71
+ 25650
72
+ ]
73
+ },
74
+ "observation.image": {
75
+ "min": [
76
+ [
77
+ [
78
+ 0.0
79
+ ]
80
+ ],
81
+ [
82
+ [
83
+ 0.0
84
+ ]
85
+ ],
86
+ [
87
+ [
88
+ 0.20392157137393951
89
+ ]
90
+ ]
91
+ ],
92
+ "max": [
93
+ [
94
+ [
95
+ 1.0
96
+ ]
97
+ ],
98
+ [
99
+ [
100
+ 1.0
101
+ ]
102
+ ],
103
+ [
104
+ [
105
+ 1.0
106
+ ]
107
+ ]
108
+ ],
109
+ "mean": [
110
+ [
111
+ [
112
+ 0.971810055192843
113
+ ]
114
+ ],
115
+ [
116
+ [
117
+ 0.980545840215243
118
+ ]
119
+ ],
120
+ [
121
+ [
122
+ 0.9773617930760824
123
+ ]
124
+ ]
125
+ ],
126
+ "std": [
127
+ [
128
+ [
129
+ 0.099704437446315
130
+ ]
131
+ ],
132
+ [
133
+ [
134
+ 0.07213738658644508
135
+ ]
136
+ ],
137
+ [
138
+ [
139
+ 0.07794362643983596
140
+ ]
141
+ ]
142
+ ],
143
+ "count": [
144
+ 19619
145
+ ]
146
+ },
147
+ "timestamp": {
148
+ "min": [
149
+ 0.0
150
+ ],
151
+ "max": [
152
+ 24.5
153
+ ],
154
+ "mean": [
155
+ 6.684296266154239
156
+ ],
157
+ "std": [
158
+ 4.41065195983628
159
+ ],
160
+ "count": [
161
+ 25650
162
+ ]
163
+ },
164
+ "episode_index": {
165
+ "min": [
166
+ 0
167
+ ],
168
+ "max": [
169
+ 205
170
+ ],
171
+ "mean": [
172
+ 104.13235867446394
173
+ ],
174
+ "std": [
175
+ 60.34683692452595
176
+ ],
177
+ "count": [
178
+ 25650
179
+ ]
180
+ },
181
+ "frame_index": {
182
+ "min": [
183
+ 0
184
+ ],
185
+ "max": [
186
+ 245
187
+ ],
188
+ "mean": [
189
+ 66.84296296296296
190
+ ],
191
+ "std": [
192
+ 44.10651976701055
193
+ ],
194
+ "count": [
195
+ 25650
196
+ ]
197
+ },
198
+ "action": {
199
+ "min": [
200
+ 12.0,
201
+ 25.0
202
+ ],
203
+ "max": [
204
+ 511.0,
205
+ 511.0
206
+ ],
207
+ "mean": [
208
+ 228.23964986314087,
209
+ 293.9890841163204
210
+ ],
211
+ "std": [
212
+ 101.5995746254447,
213
+ 96.0392898600564
214
+ ],
215
+ "count": [
216
+ 25650
217
+ ]
218
+ },
219
+ "task_index": {
220
+ "min": [
221
+ 0
222
+ ],
223
+ "max": [
224
+ 0
225
+ ],
226
+ "mean": [
227
+ 0.0
228
+ ],
229
+ "std": [
230
+ 0.0
231
+ ],
232
+ "count": [
233
+ 25650
234
+ ]
235
+ },
236
+ "next.reward": {
237
+ "min": [
238
+ 0.0
239
+ ],
240
+ "max": [
241
+ 0.9488797187805176
242
+ ],
243
+ "mean": [
244
+ 0.2914402438331301
245
+ ],
246
+ "std": [
247
+ 0.27785711122727075
248
+ ],
249
+ "count": [
250
+ 25650
251
+ ]
252
+ }
253
+ }
meta/tasks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95535f5152771bc0a6ab0fd93d23d7c1fecd9b7a13dc117852dfdd94f5b2c711
3
+ size 2265
pusht-lerobot-lancedb.lance/_transactions/0-daa48704-dc7b-400c-81ae-31ed9f716e23.txn ADDED
Binary file (734 Bytes). View file
 
pusht-lerobot-lancedb.lance/_versions/18446744073709551614.manifest ADDED
Binary file (1.55 kB). View file
 
pusht-lerobot-lancedb.lance/data/11000110111110111100011104296e4174afede6f919481bfc.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6601202b9adac854f87b9ab4d655e06d02b2d4139ce88dd61d71962c49096ba5
3
+ size 62566956