# convert_to_lerobot This script generates a ready-to-use [LeRobot](https://github.com/huggingface/lerobot) dataset repository from RoboChallenge dataset. ## Prerequisites - Python 3.9+ with the following packages: - `lerobot` - `opencv-python` - `numpy` - Configure `$LEROBOT_HOME` (defaults to `~/.lerobot` if unset). ```bash pip install lerobot opencv-python numpy export LEROBOT_HOME="/path/to/lerobot_home" ``` ## Usage Run the converter from the repository root (or provide an absolute path): ```bash python convert_to_lerobot.py \ --repo-name example_repo \ --raw-dataset /path/to/example_dataset \ --frame-interval 1 ``` ## Output - Frames and metadata are saved to $LEROBOT_HOME/. - At the end, the script calls dataset.consolidate(run_compute_stats=False). If you require aggregated statistics, run it with run_compute_stats=True or execute a separate stats job.