Spaces:
Sleeping
Sleeping
Emil Ernerfeldt
commited on
Commit
·
9901ded
1
Parent(s):
23aef68
Better instructions
Browse files- README.md +5 -3
- main.py +1 -1
- requirements.txt +1 -0
README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
# Rerun visualization of HuggingFace datasets
|
2 |
-
|
|
|
|
|
3 |
|
4 |
* https://huggingface.co/lerobot
|
5 |
* https://huggingface.co/datasets/lerobot/pusht
|
@@ -12,10 +14,10 @@ Requires Python 3.10 or higher.
|
|
12 |
|
13 |
```sh
|
14 |
pip install -r requirements.txt
|
15 |
-
python main.py
|
16 |
```
|
17 |
|
18 |
-
Example datasets to explore
|
19 |
* `lerobot/aloha_sim_insertion_human`
|
20 |
* `lerobot/aloha_sim_insertion_scripted`
|
21 |
* `lerobot/aloha_sim_transfer_cube_human`
|
|
|
1 |
# Rerun visualization of HuggingFace datasets
|
2 |
+
Visualize HuggingFace datasets using [Rerun](https://www.rerun.io/).
|
3 |
+
|
4 |
+
Originally built for the LeRobot datasets:
|
5 |
|
6 |
* https://huggingface.co/lerobot
|
7 |
* https://huggingface.co/datasets/lerobot/pusht
|
|
|
14 |
|
15 |
```sh
|
16 |
pip install -r requirements.txt
|
17 |
+
python main.py --dataset lerobot/aloha_sim_insertion_human
|
18 |
```
|
19 |
|
20 |
+
Example datasets to explore:
|
21 |
* `lerobot/aloha_sim_insertion_human`
|
22 |
* `lerobot/aloha_sim_insertion_scripted`
|
23 |
* `lerobot/aloha_sim_transfer_cube_human`
|
main.py
CHANGED
@@ -75,7 +75,7 @@ def main():
|
|
75 |
print("Loading dataset…")
|
76 |
dataset = load_dataset(args.dataset, split="train", streaming=True)
|
77 |
|
78 |
-
|
79 |
ds_subset = dataset.filter(lambda frame: "episode_id" not in frame or frame["episode_id"] == args.episode_id)
|
80 |
|
81 |
print("Starting Rerun…")
|
|
|
75 |
print("Loading dataset…")
|
76 |
dataset = load_dataset(args.dataset, split="train", streaming=True)
|
77 |
|
78 |
+
# This is for LeRobot datasets (https://huggingface.co/lerobot):
|
79 |
ds_subset = dataset.filter(lambda frame: "episode_id" not in frame or frame["episode_id"] == args.episode_id)
|
80 |
|
81 |
print("Starting Rerun…")
|
requirements.txt
CHANGED
@@ -3,3 +3,4 @@ h5py
|
|
3 |
pillow
|
4 |
rerun-sdk>=0.15.0,<0.16.0
|
5 |
tqdm
|
|
|
|
3 |
pillow
|
4 |
rerun-sdk>=0.15.0,<0.16.0
|
5 |
tqdm
|
6 |
+
webdataset
|