This repository contains utilities for downloading and inspecting LeRobot datasets from Hugging Face.
- Linux (project is configured for
linux-64inpixi.toml) - Pixi
From the project root:
pixi installRun commands inside the Pixi environment with pixi run ... (examples below).
dl_dataset.py downloads a Hugging Face dataset snapshot into the Hugging Face cache directory.
pixi run python dl_dataset.pyDefaults used by the script:
- repo owner:
OliverHausdoerfer - dataset name:
stack_lego_simple_pi05_deploy_2
pixi run python dl_dataset.py \
--repo-owner OliverHausdoerfer \
--dataset-name stack_lego_simple_ditflow_deployAfter completion, the script prints the downloaded snapshot path.
episode_viewer.py opens an OpenCV window and plays the last few seconds of each episode with primary and wrist camera views side by side.
pixi run python episode_viewer.pyUse the same owner and dataset name used for download:
pixi run python episode_viewer.py \
--repo-owner OliverHausdoerfer \
--dataset-name stack_lego_simple_ditflow_deployThe viewer reads data from:
~/.cache/huggingface/hub/datasets--<repo-owner>--<dataset-name>/snapshots/
If this path does not exist, run dl_dataset.py first.
nor Right Arrow: next episodepor Left Arrow: previous episodeqorEsc: quit