An example script to convert a set of .rrd
recordings.
To install the script, you can use uv tool
:
uv tool install git+https://github.com/rerun-io/rerun-to-lerobot
or you can clone the repository and install it manually:
uv tool install .
You can also install it using pip
:
pip install -g git+https://github.com/rerun-io/rerun-to-lerobot
To create a LeRobot dataset from a set of .rrd
recordings, use the following command:
rerun-to-lerobot --dataset-id <huggingface-dataset-id> --rrd-root <path-to-rrd-recordings> --fps [fps]
This will open an interactive interface which asks you to select the video streams and scalar streams for the dataset. The selected streams will be used to create a LeRobot dataset.