NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →
Stage 4 of 9 · Build the dataset

Robot learning datasets and formats

A robot learning dataset is a collection of episodes stored in a format training code can read: usually video files for the cameras plus tables of joint states and actions, with metadata for each episode. Common formats are the LeRobot dataset format, RLDS (used by Open X-Embodiment) and raw ROS recordings in MCAP.

The common formats

LeRobot dataset. Hugging Face's format stores camera streams as MP4 video and states and actions as Parquet tables, with metadata in JSON and Parquet files describing the features, tasks and episodes; since v3.0 many episodes share each file. Datasets are versioned and shared on the Hugging Face Hub, and LeRobot's training scripts and models such as SmolVLA read them directly.

RLDS. Google's Reinforcement Learning Datasets format, built on TensorFlow Datasets, stores episodes as sequences of steps. The Open X-Embodiment collection, which pooled data from many labs and robots, is published in RLDS, and models such as OpenVLA were trained on it.

MCAP. The default recording format for ROS 2 bags since ROS 2 Iron, and a general container for timestamped messages. It is how many teams record raw robot data; it usually needs a conversion step into a training format.

What a good dataset holds

Every episode with its task instruction, success label and the calibration and robot it came from. Fixed names and units for every state and action. The camera frames at the rate the policy will run. And a version: a dataset changes as episodes are added or removed, and a checkpoint is only reproducible if you know exactly which version it was trained on.

Mixing datasets

Cross-embodiment training mixes data from different robots, and pretrained VLAs were trained on large mixes. When you fine-tune, your own robot's episodes matter most; open datasets help with general skills but use different cameras, action spaces and control rates, which must be mapped or normalized.

Checklist
  • One format for training, with a converter from raw recordings
  • Task, result, robot and calibration stored per episode
  • Fixed names and units for states and actions
  • Dataset versions, and the version recorded with each checkpoint
  • Hard and failed cases kept for evaluation
How PhysicalFleet helps

PhysicalFleet records what happens on the robot in standard MCAP files: failed episodes are recorded from 10 seconds before to 5 seconds after, with cameras, joints and the plan, and can be replayed next to a good one. Frames the model was unsure of (hard frames) can be exported as a dataset for labeling and retraining.

See the Development workbench
FAQ

Build the dataset: common questions

Something else? Talk to our team.

What is the LeRobot dataset format?

Hugging Face's format for robot learning data: camera streams as MP4 video, states and actions as Parquet tables, and JSON and Parquet metadata for features, tasks and episodes, shared through the Hugging Face Hub.

What is RLDS?

Reinforcement Learning Datasets, Google's episode format on top of TensorFlow Datasets. The Open X-Embodiment collection is published in RLDS.

Can I train a policy directly on ROS bags?

Usually not directly. ROS 2 bags (MCAP) are recorded per topic at different rates, so teams convert them into a training format, aligning cameras, states and actions on one clock per episode.

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go