Now recruiting capture teams worldwide. Get paid to record first-person video of real work.

Apply to capture

Guide

UMI Dataset Formats: Zarr, LeRobot, RLDS and MCAP

What format UMI data comes in, how its episode fields map to Zarr, LeRobot, RLDS and MCAP, what to check after converting, and which formats Firsthand delivers.
By the Firsthand capture teamLast updated November 21, 2026

Short answer

The UMI reference pipeline outputs a Zarr-based replay buffer, a dataset.zarr.zip file, as its official GitHub states. Labs often convert UMI episodes to LeRobot, RLDS or MCAP to fit their training stack, and the per-episode fields map across formats. Firsthand is a provider of custom UMI-style collection delivered in the formats the site lists.

Last reviewed:

What format does the UMI pipeline output?

The official UMI repository (https://github.com/real-stanford/universal_manipulation_interface) documents one training format. After the SLAM stage, its README generates the dataset for training with scripts_slam_pipeline/07_generate_replay_buffer.py, which writes a dataset.zarr.zip file, and the training command points at that file through task.dataset_path. The UMI Zarr replay buffer entry covers how that file is laid out and read. The project site (https://umi-gripper.github.io) hosts the open hardware and software release.

The README does not mention RLDS, LeRobot or MCAP and documents no converter to any of them; the what is UMI data guide records the same reading for the paper (https://arxiv.org/abs/2402.10329) and project page. No array or key names are given here because none are stated. When a vendor says its data is in UMI format, ask whether that means the reference replay buffer or a layout of its own.

Zarr is a chunked-array format, per the official Zarr documentation (https://zarr.readthedocs.io/en/stable/).

What fields does a UMI episode contain?

Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request. Force/torque, tactile and gripper depth are scoped on request. In the UMI protocol each attempt is one video, so the video marks the episode boundary, and the end-effector pose is recovered after recording with SLAM rather than read from a robot, per the UMI paper.

Field mapping by structure only. Not stated means the official docs and site pages give no key name or layout for UMI fields.
UMI episode fieldZarrLeRobotRLDSMCAP
Gripper-camera videoArray in an episode group (the site describes a streams/ group). Key: not stated.One mp4 per camera feature. Key: not stated.Per-step observation field. Key: not stated.Messages on a channel, encoding chosen by you.
6-DoF end-effector trajectoryArray with per-stream timestamps. Key: not stated.Parquet columns, for example in observation.state or action. Layout: not stated.Per-step observation or action field. Keys: not stated.Timestamped messages on a channel, with the schema stored alongside the data.
Continuous gripper widthArray aligned to the episode timeline. Key: not stated.Parquet column or state entry. Layout: not stated.Per-step observation or action entry. Keys: not stated.Messages on a channel, or a field inside a pose message. Set in the spec.
IMUIts own stream with its own timestamps, as the site describes per-stream timestamps.Not stated for UMI. Can be per-frame columns if the spec asks for it.Per-step observation entry. Keys: not stated.Its own channel; every message carries log_time and publish_time.
Timestampsint64 nanoseconds per stream, as the site Zarr delivery describes.Per-frame timestamps in the parquet data.int64 nanoseconds per stream, as the site RLDS delivery describes.log_time and publish_time on every message, per mcap.dev.
Task and episode metadataOne group per episode; metadata placement: not stated.Metadata resolves episode boundaries and offsets (v3.0 docs). UMI keys: not stated.An episode-level metadata field. UMI keys: not stated.Not stated in the pages read. Scoped in the spec.
Success and failure labelsPlacement not stated. Scoped in the spec.Placement not stated. Scoped in the spec.The site step keys include is_terminal; a success label is not among them, so it is added in the spec.Placement not stated. Scoped in the spec.

Field mapping by structure only. Not stated means the official docs and site pages give no key name or layout for UMI fields.

In every format the timestamps and episode boundaries are what let you rebuild the aligned episode afterwards. What changes is where each field lives, and that belongs in the spec.

How do you convert UMI data to LeRobot?

LeRobot stores episodes as parquet plus one mp4 per camera in the Hugging Face datasets layout, per the LeRobot format page. The site exports the v2.1 layout. The official v3.0 documentation (https://huggingface.co/docs/lerobot/lerobot-dataset-v3) describes a layout where many episodes share one Parquet or MP4 file and boundaries are resolved through metadata, in lerobot 0.4.0 and later. A conversion starts with that version decision.

No UMI to LeRobot converter is documented in the UMI repository, the LeRobot docs we read or on this site; the only documented LeRobot conversion is the official v2.1 to v3.0 migration. Treat a UMI conversion as scoped work. The decisions are the same whoever does it:

  • Target version: v2.1 as the site delivers, or v3.0 as the official docs describe.
  • State and action: which UMI fields go into observation.state and which form the action. The site states the packing for egocentric pose, not UMI, so fix the ordering in the spec.
  • Video: one mp4 per camera feature, with frames matching the rows that reference them.
  • Timestamps: per-frame values in the parquet data, with the clock they refer to stated.
  • Episode boundaries: where each UMI attempt starts and ends in the converted files.
  • Labels: where task, episode metadata and success or failure labels sit, so they survive the conversion.

For the shape of this work, see converting RLDS to LeRobot, a field-by-field mapping written for the Firsthand egocentric schema, not a UMI converter. For a field mapping and step list from the UMI replay buffer, see how to convert UMI data to LeRobot format. Test any conversion on a small batch first, which is what a Spec Pilot is for.

How do you convert UMI data to RLDS?

RLDS (Reinforcement Learning Datasets) stores each demonstration as a sequence of steps with observations and actions, built on TensorFlow Datasets (TFDS). The official repository is https://github.com/google-research/rlds and the TFDS documentation is at https://www.tensorflow.org/datasets. The site delivers TFDS-compatible tfrecord shards and ships the converter as readable source so you can retarget the field mapping; see the RLDS format page.

The UMI repository documents no RLDS output, so this is also scoped work. For a field mapping table and step list, see how to convert UMI data to RLDS format. Mapping onto steps raises these questions:

  • Step definition: what one step is, since UMI streams may not share a rate. The site RLDS delivery stores streams at native rate and leaves resampling to your pipeline.
  • Observation and action: which UMI fields are which is a modelling choice, set in the spec.
  • Episode metadata: the site metadata keys describe egocentric skills and sites, so UMI keys are agreed per program.
  • Terminal flag: the site step keys include is_terminal, which is not a success label. Success and failure labels need their own agreed field.
  • Timestamps: per-stream int64 nanoseconds, as the site describes, so alignment can be checked.

If your trainer is TensorFlow-based or expects RL-style step sequences, RLDS is the natural target. The RLDS vs LeRobot comparison covers the training-format side of that choice.

When is MCAP a better fit?

MCAP is an open source container file format for multimodal log data, per mcap.dev (https://mcap.dev), storing multiple channels of timestamped, pre-serialized messages. The foxglove/mcap README (https://github.com/foxglove/mcap) calls it a modular, performant, serialization-agnostic container under the MIT License, so the container does not dictate message encoding. Schemas are stored alongside the data and every message has a log_time and a publish_time.

A UMI episode is several timestamped streams, the shape MCAP channels are described as holding. MCAP fits when your tooling already reads ROS 2 logs or MCAP, or when you want schemas and per-message times inside the file; the mcap CLI can inspect, merge and split files. It is a recording and replay container, not a training layout, so training usually still needs LeRobot, RLDS or Zarr.

No MCAP to LeRobot converter is documented in the sources read or on the site; the MCAP vs LeRobot comparison sets out that gap. For an array-to-channel mapping and step list from the replay buffer, see how to convert UMI data to MCAP. If you need both a log container and a training layout, name both in the spec. For a general-purpose array container instead, see how to convert UMI data to HDF5.

How do Zarr, LeRobot, RLDS and MCAP compare for UMI data?

Structural comparison from the official docs and the site format pages. No read speed, write speed, compression ratio or file size is stated, so none is implied.
FormatStructureTypical useToolingSource
ZarrChunked arrays. The UMI repository writes dataset.zarr.zip; the site describes one group per episode with per-stream timestamps.The UMI reference training pipeline; random access into long episodes and sync checks.Zarr libraries; the UMI training command reads dataset.zarr.zip through task.dataset_path.UMI code README; Zarr documentation
LeRobotParquet plus one mp4 per camera in the Hugging Face datasets layout. v2.1 delivered; v3.0 shares files across episodes.Imitation learning with the LeRobot library.LeRobotDataset returns PyTorch tensors and plugs into the training scripts.LeRobot docs; LeRobotDataset v3.0 docs
RLDSEpisodes as sequences of steps with observations and actions, in TFDS-compatible tfrecord shards.TensorFlow pipelines and RL-style step sequences.TFDS; the site loading example uses a TFDS directory builder.RLDS GitHub; TFDS documentation
MCAPTimestamped messages on channels, schemas stored alongside the data, serialization-agnostic.Recording and replaying multi-stream logs; ROS 2 workflows.The mcap CLI can inspect, merge and split files.mcap.dev; foxglove/mcap GitHub

Structural comparison from the official docs and the site format pages. No read speed, write speed, compression ratio or file size is stated, so none is implied.

Zarr is the only one of the four the UMI repository documents.

What should you check after converting?

Post-conversion checks. They are checks you run, not Firsthand figures.
CheckWhat can go wrongHow to verify
Episode count and boundariesEpisodes merged, split or dropped.Compare the count and each start and end against the source index.
TimestampsWrong unit, reset clock or misaligned streams.Check units and monotonic order, then compare stream start times per episode.
Gripper widthRescaled, clipped or shifted during conversion.Compare minimum, maximum and a plotted episode with the source.
Pose framesA different or unstated coordinate frame.Plot a few episodes before and after; confirm the frame in the spec.
Video rowsFrame count and data rows disagree.Compare frame count to row count per episode.
Success and failure labelsLabels dropped, or moved to the wrong episode.Count labels before and after; spot-check failed episodes.
LoaderThe file opens in one library version and not another.Load a sample with the library version you train on.

Post-conversion checks. They are checks you run, not Firsthand figures.

A converted file can pass every check above and still carry a bad trajectory: conversion does not repair SLAM tracking loss or an uncalibrated gripper width. Those are upstream checks in the UMI data quality checklist. Run both: quality before conversion, structure after.

Which format should you choose for policy training?

Choose from your training stack, not the data. The sources give no speed or size comparison, so this is a fit guide, not a benchmark.

  • Reproducing the UMI reference pipeline: Zarr, the format its training command reads.
  • You train in the LeRobot library: LeRobot, with the version agreed in the spec.
  • Your pipeline is TensorFlow-based or expects step sequences: RLDS.
  • You replay and inspect multi-stream logs, or your tooling reads ROS 2 logs: MCAP.
  • You are unsure: request your pipeline format and test it on a Spec Pilot first.

Which formats does Firsthand deliver?

The site lists six delivery formats on the formats index: RLDS, LeRobot, WebDataset, HDF5 and zarr, Rerun .rrd and the episode schema. For stereo egocentric data it also states MCAP delivery; see MCAP stereo data. The UMI format, LeRobot version, field layout and label placement are set in the spec. The site states no UMI-specific converter, so how a UMI episode lands in each layout is agreed and tested on a Spec Pilot.

How can Firsthand help?

Firsthand runs custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through our network of capture providers, on rigs we source and ship. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request.

This is fast, on-demand custom collection at scale through a network of thousands of capture providers, for a consistent, recurring data flow to labs. To scope a program, send the task list, gripper design or open-source UMI-style build, target robot and workspace, environments, target volume, the format and version you train on, and exclusivity. Timing is scoped per spec because rigs are sourced and shipped. Details are on UMI data collection services; to start, request a custom UMI dataset.

Firsthand is not affiliated with, endorsed by or related to the UMI authors, their institutions, the maintainers of LeRobot, RLDS or MCAP, or any gripper or camera maker.

FAQ

UMI Dataset Formats: Zarr, LeRobot, RLDS and MCAP, answered.

01

What format is UMI data stored in?

The UMI reference pipeline writes a Zarr-based replay buffer, a dataset.zarr.zip file, per its official GitHub README, which does not state RLDS, LeRobot or MCAP output. Firsthand UMI-style data uses a format set in the spec, from the formats the site lists.

02

Can UMI data be converted to LeRobot?

Yes in principle, but no converter is documented in the UMI repository or the LeRobot docs we read, so it is scoped work. Agree the LeRobot version (the site delivers v2.1, the official docs describe v3.0), which fields form observation.state and action, and where labels sit.

03

Can UMI data be converted to RLDS?

Yes in principle, with the same caveat: no UMI to RLDS converter is documented. You decide what one step is, which fields are action, and where success labels go.

04

Is MCAP good for UMI data?

MCAP is an open container for timestamped multi-channel logs, so it suits recording and replaying the streams in a UMI episode. It is not a training layout, and no MCAP to LeRobot converter is documented, so training usually needs LeRobot, RLDS or Zarr as well.

05

Which format should I choose for policy training?

Choose from your stack: Zarr to reproduce the UMI reference pipeline, LeRobot for the LeRobot library, RLDS for TensorFlow pipelines, MCAP for log replay. The sources give no speed or size comparison, so test a sample in your loader.

06

What formats does Firsthand deliver UMI data in?

The site lists RLDS, LeRobot, WebDataset, HDF5 and zarr, Rerun .rrd and the episode schema, and states MCAP delivery for stereo egocentric data. The format for a UMI program is set in the spec and tested on a Spec Pilot.

07

Where can I get custom UMI data in my format?

Firsthand runs custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through our network of capture providers, on rigs we source and ship. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request. This is custom collection at scale through a network of thousands of capture providers, for a consistent, recurring data flow to labs. Name your format and version in the request.

Sources

Where is this documented?

Check it against the sample pack.

40 episodes across 4 environments, delivered in the exact schema these guides describe.