ayushexel commited on
Commit
916581f
·
verified ·
1 Parent(s): afce7ce

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,6 @@ 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/videos.lance/data/01100111011010000101000020d5c64f8e89df3705e1b9fb83.lance filter=lfs diff=lfs merge=lfs -text
62
+ data/frames.lance/data/000010000100000010110110f285ec43848aa7fc071ec59c8b.lance filter=lfs diff=lfs merge=lfs -text
63
+ data/episodes.lance/data/1100110000111011011111008cc65d4885b76484d54caddd94.lance filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - world-model
13
+ - lance
14
+ pretty_name: lerobot-pusht-lance
15
+ size_categories:
16
+ - 10K<n<100K
17
+ ---
18
+ # LeRobot PushT (Lance Format)
19
+
20
+ Lance-formatted version of [`lerobot/pusht`](https://huggingface.co/datasets/lerobot/pusht) — the canonical PushT benchmark from the [Diffusion Policy paper](https://diffusion-policy.cs.columbia.edu/) — packaged using the same three-table layout as the existing [`lance-format/lerobot-xvla-soft-fold`](https://huggingface.co/datasets/lance-format/lerobot-xvla-soft-fold) so consumers can flip between datasets without changing code.
21
+
22
+ ## Tables
23
+
24
+ The dataset is published as three Lance tables under `data/`:
25
+
26
+ | Table | Purpose |
27
+ |---|---|
28
+ | `frames.lance` | One row per frame — observations, actions, episode index, task index. |
29
+ | `videos.lance` | One row per source MP4 — full per-camera video stored as an inline blob. |
30
+ | `episodes.lance` | One row per episode — full timestamps + actions + per-camera video segment blobs. |
31
+
32
+ Use `frames.lance` for low-level training (loss-per-timestep), `episodes.lance` when you need the full trajectory + matching video segments, and `videos.lance` when you want to pull entire raw videos by camera.
33
+
34
+ ## Quick start
35
+
36
+ ```python
37
+ import lance
38
+
39
+ frames = lance.dataset("hf://datasets/lance-format/lerobot-pusht-lance/data/frames.lance")
40
+ videos = lance.dataset("hf://datasets/lance-format/lerobot-pusht-lance/data/videos.lance")
41
+ episodes = lance.dataset("hf://datasets/lance-format/lerobot-pusht-lance/data/episodes.lance")
42
+
43
+ print("frames:", frames.count_rows())
44
+ print("videos:", videos.count_rows())
45
+ print("episodes:", episodes.count_rows())
46
+ ```
47
+
48
+ ## Pull a video segment for one episode
49
+
50
+ ```python
51
+ from pathlib import Path
52
+ import lance
53
+
54
+ episodes = lance.dataset("hf://datasets/lance-format/lerobot-pusht-lance/data/episodes.lance")
55
+ row = episodes.take([0]).to_pylist()[0]
56
+
57
+ # The episode row carries one ``<camera>_video_blob`` per camera angle.
58
+ for col, value in row.items():
59
+ if col.endswith("_video_blob") and value:
60
+ Path(f"{col}.mp4").write_bytes(value)
61
+ print(f"saved {col}.mp4 ({len(value)/1e6:.1f} MB)")
62
+ ```
63
+
64
+ ## Why Lance?
65
+
66
+ - One dataset bundles low-level frames + full-episode trajectories + raw video blobs — no scattered parquet shards or sidecar MP4 directories.
67
+ - Inline video blobs use Lance's blob encoding so metadata scans never load the bytes; you fetch them on demand via `take_blobs`.
68
+ - Schema evolution: add columns (alternate camera streams, language annotations, model predictions) without rewriting the data.
69
+
70
+ ## Source & license
71
+
72
+ Converted from [`lerobot/pusht`](https://huggingface.co/datasets/lerobot/pusht) (LeRobot v3.0 dataset format). PushT is released under the Apache 2.0 license by the LeRobot project and the Diffusion Policy authors.
73
+
74
+ ## Citation
75
+
76
+ ```
77
+ @misc{cadene2024lerobot,
78
+ title={LeRobot: State-of-the-art Machine Learning for Real-World Robotics in PyTorch},
79
+ author={R{\'e}mi Cadene and Simon Alibert and Alexander Soare and Quentin Gallou{\'e}dec and Adil Zouitine and Steven Palma and Pepijn Kooijmans and Michel Aractingi and Mustafa Shukor and Martino Russi and Francesco Capuano and Caroline Pascal and Jade Choghari and Jess Moss and Thomas Wolf},
80
+ year={2024},
81
+ url={https://github.com/huggingface/lerobot}
82
+ }
83
+
84
+ @inproceedings{chi2023diffusion,
85
+ title={Diffusion Policy: Visuomotor Policy Learning via Action Diffusion},
86
+ author={Chi, Cheng and Feng, Siyuan and Du, Yilun and Xu, Zhenjia and Cousineau, Eric and Burchfiel, Benjamin and Song, Shuran},
87
+ booktitle={Robotics: Science and Systems},
88
+ year={2023}
89
+ }
90
+ ```
data/episodes.lance/_transactions/0-6db1222b-6454-4c8e-b8c6-4adc53a8b2c6.txn ADDED
Binary file (680 Bytes). View file
 
data/episodes.lance/_versions/18446744073709551614.manifest ADDED
Binary file (1.45 kB). View file
 
data/episodes.lance/data/1100110000111011011111008cc65d4885b76484d54caddd94.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a431a3416950a54f1c91db49c1c59b17b117312989aaeeb668df74f8ac2f1a9
3
+ size 9237297
data/frames.lance/_transactions/0-f9b63816-7c43-4430-a64a-14fb806d8cbd.txn ADDED
Binary file (555 Bytes). View file
 
data/frames.lance/_versions/18446744073709551614.manifest ADDED
Binary file (1.51 kB). View file
 
data/frames.lance/data/000010000100000010110110f285ec43848aa7fc071ec59c8b.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4986ba68b57d3a0a6eb6a3484286432032d90fb52d9f6ace8dbfacd93b971e02
3
+ size 652345
data/videos.lance/_transactions/0-97efad93-6703-48bb-997d-9bcf6fed8ab1.txn ADDED
Binary file (470 Bytes). View file
 
data/videos.lance/_versions/18446744073709551614.manifest ADDED
Binary file (1.03 kB). View file
 
data/videos.lance/data/01100111011010000101000020d5c64f8e89df3705e1b9fb83.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61638e134d36cccd0b38369edf59870ab937d4b875542d55525e6257d93169ee
3
+ size 6893572