Fork of huggingface/lerobot maintained by r-pad (CMU)
This is a research fork of HuggingFace LeRobot focused on goal-conditioned manipulation with Aloha and DROID/Franka hardware. It diverged from upstream around April 2024 and has accumulated substantial additions across hardware drivers, policies, simulation environments, and dataset tooling.
Warning: This fork is not compatible with upstream LeRobot. The two should not be used interchangeably.
- DROID / Franka Panda robot support (via Deoxys)
- Franka + LEAP hand — 16-DOF dexterous hand support
- Azure Kinect camera driver (RGB + transformed depth)
- Intel RealSense camera support
- ZED camera support
- GELLO teleoperation controller
- Robotiq gripper integration
- Hierarchical goal-conditioned policies: MimicPlay, DINO-3DGP, ViT-3DGP, ArticuBot
- DP3 (3D Diffusion Policy)
- Goal conditioning with heatmap-based subgoal prediction
- Text-conditioned policies (SigLIP embeddings)
- LIBERO simulation environment integration
merge_datasets.py— merge multiple LeRobotDatasetssubsample_dataset.py— downsample to a target fpsupgrade_dataset.py— add new features, phantomize/humanize demosannotate_events.py— annotate ground-truth eventscreate_droid_dataset.py— convert DROID data to LeRobot formatcreate_libero_dataset.py— convert LIBERO data to LeRobot format
- Forward kinematics / EEF pose storage in datasets
- Phantom human-to-robot video retargeting pipeline
- Relative action spaces
git clone git@github.com:r-pad/lerobot.git
cd lerobot
pixi installInstall optional dependencies as needed:
pixi run install-pytorch3d # PyTorch3D (required for 3D policies)
pixi run install-pynput # pynput (keyboard control during teleop)
pixi run install-open3d # Open3D (point cloud visualization)
pixi run install-k4a # Azure Kinect (pyk4a, built from source for numpy 2)
pixi run install-gello # GELLO teleoperation controller
pixi run install-deoxys # Deoxys (Franka/DROID control)
pixi run install-zed # ZED camera SDKwandb loginThen enable WandB during training with --wandb.enable=true.
python lerobot/scripts/control_robot.py \
--robot.type=aloha \
--robot.cameras='{"cam_azure_kinect": {"type": "azurekinect", "device_id": 0, "fps": 30, "width": 1280, "height": 720, "use_transformed_depth": true}}' \
--control.type=teleoperate \
--control.display_data=truePer-robot teleop, camera configs, and calibration are documented in the hardware docs: Aloha, DROID / Franka, Franka + LEAP.
python lerobot/scripts/control_robot.py \
--robot.type=aloha \
--control.type=record \
--control.single_task="Grasp mug and place it on the table." \
--control.repo_id=<your_hf_user>/<dataset_name> \
--control.num_episodes=100 \
--robot.cameras='{ ... }' \
--robot.use_eef=true \
--control.push_to_hub=true \
--control.fps=30 \
--control.reset_time_s=5 \
--control.warmup_time_s=3 \
--control.resume=trueKey flags:
--control.repo_id— dataset name (and HuggingFace repo if pushing to hub)--control.resume— append to an existing dataset--robot.use_eef=true— run forward kinematics and store EEF pose- Use left/right arrow keys to finish / reset the current episode
python lerobot/scripts/train.py \
--dataset.repo_id=<repo_id> \
--policy.type=diffusion \
--output_dir=outputs/train/<run_name> \
--job_name=<run_name> \
--policy.device=cuda \
--wandb.enable=trueSee docs/training.md for goal-conditioned, multi-task, multi-view, high-level, and evaluation/rollout commands.
- Hardware — Aloha, DROID / Franka, Franka + LEAP
- Training & Evaluation — policy training and on-robot rollout
- Human Demonstrations (GHOST) — processing human videos into training data
- Dataset Utilities — visualize, merge, subsample, upgrade, annotate
- LIBERO — simulation dataset creation, training, and evaluation
- Cluster (Orchard) — running on the CMU SLURM cluster
- GHOST: Hierarchical Sub-Goal Policies for Generalizing Robot Manipulation (RSS 2026) — project page
If you use this codebase, please cite the original LeRobot project:
@misc{cadene2024lerobot,
author = {Cadene, Remi and Alibert, Simon and Soare, Alexander and Gallouedec, Quentin and Zouitine, Adil and Wolf, Thomas},
title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
howpublished = "\url{https://github.com/huggingface/lerobot}",
year = {2024}
}If you use any specific policy architecture, please also cite the original authors (ACT, Diffusion Policy, DP3, MimicPlay, etc.).
This fork builds on top of HuggingFace LeRobot. We thank the original authors for their excellent open-source robotics framework.