Robot data platforms

LeRobot

LeRobot contains a Python-oriented ecosystem for robot teleoperation, datasets and learned policies. A typical physical workflow is calibrate a supported arm, record synchronized observations and actions, train a policy and evaluate it on held-out trials.

Practical engineering guide

What you can build with LeRobot and where problems start

LeRobot contains a Python-oriented ecosystem for robot teleoperation, datasets and learned policies. A typical physical workflow is calibrate a supported arm, record synchronized observations and actions, train a policy and evaluate it on held-out trials.

Download, install and launch LeRobot

Choose the released LeRobot package and a compatible Python/PyTorch environment. Install the core package in an isolated environment. Add the extra required for the exact hardware according to that release's setup guide; calibrate before recording and never run a downloaded policy straight on a robot.

Download LeRobot
python -m venv .venv
# Activate the environment first
python -m pip install lerobot
python -m pip show lerobot
lerobot-record --help

A first test you can reproduce

  1. 01.Install a version of LeRobot and the hardware-specific extras described by the current release.
  2. 02.Calibrate the exact leader and follower hardware. Verify joint direction and gripper limits before teleoperation.
  3. 03.Record task episodes with synchronized camera video, actions and state. Start with short, repeatable manipulation tasks.
  4. 04.Train a baseline policy and evaluate it across new object positions, recording successes and failed attempts.

Questions that come up during real implementation

Why do dataset recordings look fine but the trained arm cannot grasp objects?

Inspect camera placement, occlusion, exposure consistency, calibration, action scaling and the definition of episode success. Training data can overrepresent one object pose or hide the gripper. Vary test positions and compare predicted commands to demonstrations.

Do I need to upload my recordings to Hugging Face?

LeRobot workflows support local datasets and a configuration flag such as '--dataset.push_to_hub=False' for recording. Verify the current CLI syntax. Check dataset licenses, privacy and storage rules before sharing camera footage or human demonstrations.

How many demonstrations should I collect to start?

The official real-robot tutorial suggests at least 50 episodes for a starter grasping task with variation in object position. This is a tutorial starting point, not a universal sample requirement. Record several independent evaluation trials with a fixed success criterion.

Checks before using it on a robot

  • Measure task success on positions excluded from the training demonstrations.
  • Check camera/action timestamp alignment and whether the policy respects actuator limits.

Official technical reference

https://huggingface.co/docs/lerobot/main/getting_started_real_world_robot

Compatibility and installation

Developer
Hugging Face
License
Open source
Operating systems
Linux
ROS support
No official ROS support recorded
Languages
Python
Installation method
Official GitHub repository and Python environment

Profile sources

Explore the connected robotics directories