Choosing a Robot Learning Dataset Format: LeRobot, robomimic, and Isaac Lab HDF5

•
11 min read
Last verified on December 1, 2026, against LeRobot 0.7.0 (dataset format v3.0), robomimic 0.5.0 (robosuite 1.5.2, MuJoCo 3.3.0), and an Isaac Lab dataset from NVIDIA's Isaac Sim 6.2 assets.
How you store your episodes shapes what you can do with them later. To write this guide, I opened a public dataset in each of three formats: LeRobotDataset, robomimic HDF5, and the HDF5 files that Isaac Lab records. I also converted one into another and measured what changed. This guide leaves out RLDS and the Open X-Embodiment datasets built on it.

Key takeaways

  • robomimic HDF5 and Isaac Lab HDF5 store simulator state, so you can replay an episode in simulation, while LeRobotDataset v3.0 stores only what training and sharing need.
  • LeRobotDataset v3.0 stores episodes as offsets into shared Parquet and MP4 files, and in a 200-demonstration Lift test, LeRobot video stored the camera images about 11 times smaller than lossless HDF5 compression, at the cost of about 2 out of 255 in pixel error.
  • Converting robomimic HDF5 to LeRobot in the Lift test kept every episode and frame count and matched actions to float32 rounding, but dropped simulator states, model_file, and the mask splits, and needed a frame rate and task description added by hand.
  • Keep robot learning data in the format that matches how it was produced, and treat the other formats as exports you can regenerate.
  • As of GR00T N1.7, GR00T expects a LeRobot v2-style dataset plus a meta/modality.json file, so LeRobot v3.0 data needs converting back to v2 first, and AV1 video usually needs re-encoding to H.264.

Why three formats coexist

Each format is tailored to the workflow it was built for and the tools it had to stay compatible with. The key difference is what each format saves. robomimic and Isaac Lab save the simulator's internal state, so you can replay an episode in the simulator later. LeRobot has no standard place for that state. It saves only what you need to train on and share the data, which keeps it compact. Put another way, robomimic answers how to reproduce a simulation experiment, Isaac Lab answers how to multiply simulated demonstrations, and LeRobot answers how to share and stream real-robot data.

How LeRobot stores episodes, observations, and actions

Hugging Face built the Hub to host ML models, datasets, and demos. After succeeding with Transformers for natural language processing (NLP) and Diffusers for video and image generation, it applied the same recipe to robotics with LeRobot. LeRobot's dataset format, LeRobotDataset, stores tabular data in Parquet and camera streams as MP4 video. Because they live on the Hub, LeRobot can stream them during training.
Here is the tree for a small dataset, PushT:
lerobot/pusht/
├── data/
│   └── chunk-000/
│       └── file-000.parquet
├── meta/
│   ├── episodes/
│   │   └── chunk-000/
│   │       └── file-000.parquet
│   ├── info.json
│   ├── stats.json
│   └── tasks.parquet
└── videos/
    └── observation.image/
        └── chunk-000/
            └── file-000.mp4
No file in the tree is named after an episode. Version 2.x stored one Parquet file and one MP4 per camera for every episode, which meant hundreds of thousands of files for large datasets such as DROID. Version 3.0 instead treats episodes as offsets into shared files. By default, a data file grows to about 100 MB and a video file to about 200 MB before new episodes start the next file. Each dataset records its own targets in info.json, and PushT's video target is 500 MB. PushT is small enough that all 206 episodes fit in one Parquet file and one MP4.
Since no file belongs to a single episode, LeRobot needs another way to find each one. That's the job of meta/episodes/, where every episode gets a row recording:
  • which data file holds it, and which rows
  • which video file holds it for each camera, and its time window
  • its task, its length, and per-episode statistics for every feature.
In PushT, that comes to 68 columns per row. Here are the first three episodes:
EpisodeData fileParquet rowsVideo fileVideo window (s)Frames
0chunk 0, file 00-160chunk 0, file 00.0-16.1161
1chunk 0, file 0161-278chunk 0, file 016.1-27.9118
2chunk 0, file 0279-419chunk 0, file 027.9-42.0141
The first three PushT episodes in meta/episodes/, with the data file, Parquet rows, video file, video window, and frame count for each.
The rest of meta/ describes the dataset as a whole. info.json declares each feature's name, dtype, and shape, along with the frame rate, the path templates that turn file indices into file names, and the target file sizes. stats.json holds normalization statistics, and tasks.parquet maps each task index to its text description.
One thing the schema doesn't include is whether an episode succeeded. PushT adds its own per-frame next.success feature, while NVIDIA's Cosmos3-DROID stores successful and failed episodes as two separate datasets in one repository. We'll come back to this gap when converting between formats.

How robomimic HDF5 stores episodes, observations, and actions

In 2021, researchers at Stanford and UT Austin released a study addressing a reproducibility problem in robot imitation learning. Human demonstration datasets were scarce, and labs rarely shared the code and settings behind their methods, so results were hard to compare. They released robomimic with it.
robomimic shipped open human demonstrations on simulated tasks in robosuite, sorted by operator skill, with the code and settings behind its results. To make all of that reproducible, every dataset uses the same HDF5 layout.
The layout stores enough simulator state to reproduce any episode, along with named subsets of the demonstrations. I downloaded the raw version of the proficient-human Lift dataset, which holds 200 demonstrations with no observations in a single 36 MB file. Regenerating observations from the stored states produced this structure:
lift/ph/image_84.hdf5
├── data/                              (attrs: env_args, total)
│   ├── demo_0/                        (attrs: camera_info, model_file, num_samples)
│   │   ├── actions                    (59, 7)
│   │   ├── states                     (59, 32)
│   │   ├── rewards                    (59,)
│   │   ├── dones                      (59,)
│   │   ├── obs/
│   │   │   ├── agentview_image        (59, 84, 84, 3)
│   │   │   ├── robot0_eye_in_hand_image  (59, 84, 84, 3)
│   │   │   ├── object                 (59, 10)
│   │   │   ├── robot0_eef_pos         (59, 3)
│   │   │   ├── robot0_gripper_qpos    (59, 2)
│   │   │   └── ... 8 more low-dimensional keys
│   │   └── next_obs/                  (same keys, shifted one step)
│   └── demo_1/ ... demo_199/
└── mask/
    ├── train                          (180 demos)
    ├── valid                          (20 demos)
    ├── 20_percent, 20_percent_train, 20_percent_valid
    └── 50_percent, 50_percent_train, 50_percent_valid
Unlike LeRobot, robomimic gives every episode its own demo_N group, and each one stores the MuJoCo model XML describing its scene in a model_file attribute. Together with the states, that model let me regenerate the obs, next_obs, rewards, and dones by replaying each episode. env_args stores the environment's name and settings, including its 20 Hz control frequency.
The mask group holds named subsets of demonstrations. Released datasets use it to fix the same training and validation splits for everyone, and you can add your own. Lift ships with eight: the standard train/valid split, plus 20% and 50% subsets with their own splits for the study's data-scaling experiments.

What Isaac Lab adds to the robomimic layout

NVIDIA built Isaac Lab on Isaac Sim, a GPU simulator that can run a thousand copies of a scene at once. That speed lets Isaac Lab's Mimic generate demonstrations instead of collecting them all by hand. It adapts a few human demonstrations to new object positions, runs every attempt in simulation, and keeps the ones that succeed. Isaac Lab now deprecates Mimic in favor of AutoData, which can run the same generation algorithm and reads Mimic's recorded demonstrations as they are.
Isaac Lab kept robomimic's layout, which lets its data train with robomimic's code, and changed only what its simulator and Mimic require. I opened NVIDIA's Mimic tutorial dataset, which holds 10 human demonstrations of a Franka arm stacking three cubes.
isaaclab_data/dataset.hdf5
├── data/                                (attrs: env_args, total)
│   ├── demo_0/                          (attrs: num_samples=236, success=True)
│   │   ├── actions                      (236, 7)
│   │   ├── obs/
│   │   │   ├── eef_pos                  (236, 3)
│   │   │   ├── eef_quat                 (236, 4)
│   │   │   ├── gripper_pos              (236, 2)
│   │   │   ├── joint_pos, joint_vel     (236, 9)
│   │   │   ├── cube_positions           (236, 9)
│   │   │   ├── cube_orientations        (236, 12)
│   │   │   ├── object                   (236, 39)
│   │   │   └── actions                  (236, 7)
│   │   ├── initial_state/
│   │   │   ├── articulation/robot/      (joint, root pose and velocity; 1 step)
│   │   │   └── rigid_object/cube_1-3/   (root pose and velocity; 1 step)
│   │   └── states/
│   │       ├── articulation/robot/      (same arrays; 236 steps)
│   │       └── rigid_object/cube_1-3/   (same arrays; 236 steps)
│   └── demo_1/ ... demo_9/
└── (no mask group)
The top level matches robomimic's, but each demonstration is organized differently. Where robomimic stores one 32-number state vector per step, Isaac Lab stores separate arrays for the robot and each cube. The initial_state group records where everything started, so Mimic can reset a scene exactly. Each demonstration also carries a success flag, which Mimic uses to decide which ones to keep.
The file I opened is a legacy file, and it shows. Its env_args holds almost nothing beyond the task name, so the frame rate, controller settings, and scene all come from the Isaac Lab task rather than the file. Newer files also record the simulator timestep and decimation, which give the frame rate. There is no mask group, and there are no rewards, done flags, or next_obs arrays.
The file also has no format_version attribute. In newer files, that attribute marks the root_pose arrays under states and initial_state as XYZW, and Isaac Lab treats a missing attribute as the older WXYZ order. Observation keys such as eef_quat follow whatever the task's observation code wrote, so check that code before reading them. Isaac Lab's recorder can also save only successes, so a file with no failures may reflect a setting rather than perfect operators.

Where the same concept lives in LeRobot, robomimic, and Isaac Lab

ConceptLeRobotDataset v3.0robomimic HDF5Isaac Lab HDF5
Episode boundaryRow in meta/episodes/demo_N groupdemo_N group
Low-dimensional observationsParquet columnsobs/<key>obs/<key>
ImagesMP4 video filesuint8 arraysuint8 arrays, if recorded
Actionsaction columnactionsactions
Frame ratefps in info.jsoncontrol_freq inside env_argsNot in the file I inspected. Newer files store dt and decimation in env_args
Task or languagetasks.parquetNo standard fieldNo standard field
Success or failureNo standard fieldNo success field. dones mark success only when done_mode is 0success attribute
Simulator stateNo standard fieldstates (one flat vector) + model_filestates and initial_state, per object, with the scene from the task
Quaternion orderNo standard fieldNo standard fieldformat_version at root covers root_pose only. Missing means legacy WXYZ
Normalization statisticsstats.jsonNone stored. The trainer can compute them, off by defaultNone stored. The trainer can compute them, off by default
Train and validation splitssplits field in info.json, not read by the trainermask filter keysNot stored
Where each concept lives in LeRobotDataset v3.0, robomimic HDF5, and Isaac Lab HDF5, from episode boundaries to train and validation splits.
The "no standard field" and "not stored" cells are where information disappears during conversion.

How to choose a robot learning dataset format

Three questions narrow the choice: how your data was produced, how much of it you'll store, and what will consume it.
For real-robot data with several cameras, LeRobot fits best, since video keeps it small and the Hub makes it easy to share. For simulation, keep HDF5 with states, which lets you replay episodes, render new camera views, or generate more data later.
That flexibility costs storage, but the three sizes aren't directly comparable. The uncompressed robomimic file (803 MB) stores every observation twice, and the compressed one (108 MB) stores them once. My LeRobot dataset (10 MB) leaves out the simulator states and scene model, which LeRobot has no standard place for, and by my choice keeps only four of the 11 sensor readings. The camera images are the one thing all three hold, and they take 390 MB raw. Lossless compression in HDF5 shrinks them to 84 MB, and LeRobot's video shrinks them to 7.3 MB, about 11 times smaller, at the cost of a small pixel error.
Finally, downstream tools often decide for you. robomimic's trainer expects its own HDF5 layout, and GR00T expects a LeRobot v2-style dataset.
Here is the choice at a glance:
If your dataKeep it asWhy
Comes from real robots with several camerasLeRobotDataset v3.0Video keeps it small, and the Hub makes it easy to share and stream
Comes from robosuite simulation you may replayrobomimic HDF5States and model_file let you replay episodes and render new camera views
Comes from Isaac Lab or feeds Mimic or AutoDataIsaac Lab HDF5Per-object states, initial_state, and success flags let you reset scenes and generate more demonstrations
Will train with robomimic's trainerrobomimic HDF5The trainer expects its own HDF5 layout
Will fine-tune GR00TA LeRobot v2-style exportGR00T expects the older layout plus a modality.json file, and decodes H.264 more reliably than AV1
Which robot learning dataset format to keep, by where the data comes from and what will consume it.

How to convert robomimic HDF5 to LeRobot without losing information

To check these costs, I converted all 200 Lift demonstrations to LeRobot v3.0 with a short script anyone can rerun. It reads the robomimic file with h5py, declares the features with LeRobotDataset.create, writes each timestep with add_frame, closes each episode with save_episode, and calls finalize to write the metadata and statistics.
I copied robomimic's actions unchanged. They were already scaled to [-1, 1], so LeRobot recorded that range in stats.json as if it were raw data. LeRobot policies rescale actions with those statistics while training and undo the rescaling on the actions they predict, so the robot still receives values in robomimic's original range. However, the controller settings that turn 1.0 into 5 cm of motion live in env_args, which LeRobot has no place for. Those settings belong in the dataset card, the README shown on the dataset's Hub page.
To check the result, I reloaded the dataset and compared it with the source. Both had 200 episodes and 9,666 frames, and every episode matched its source length. Each frame held a 19-number state, a 7-number action, and two 84 × 84 images. Actions matched to within 3 × 10⁻⁸, which is float32 rounding, and decoded images differed from the originals by about 2 out of 255.
Some data had nowhere to go. LeRobot has no standard place for states or model_file, so the dataset can't be replayed in simulation. My script also skipped rewards and dones, which imitation learning doesn't use, though LeRobot can store them, as PushT does. The eight mask subsets were dropped too. LeRobot wrote a splits field listing all 200 episodes under train, but its training script never reads that field, so a validation set has to be a separate dataset.
Converting the Lift demonstrations kept every episode and frame, but simulator states, the scene model, controller settings, and the mask splits had nowhere to go in LeRobot.
LeRobot also needs a frame rate and a task description. I read 20 Hz from env_args and wrote the task as "Lift the cube." A wrong frame rate raises no error but quietly shifts every timestamp.
Finally, as of GR00T N1.7, GR00T can't reliably read LeRobot's newer AV1 video and expects the older one-file-per-episode layout, so data meant for it has to be re-encoded and converted back to LeRobot v2, with the meta/modality.json file GR00T requires added.

Inspect a converted LeRobot dataset in Voxel51

Some conversion mistakes only show up when you watch an episode play back. A wrong frame rate, a camera mapped to the wrong feature, or a state vector assembled in the wrong order can all pass a count check.
Voxel51 loads LeRobot v3.0 datasets natively, as one sample per episode, with episode-level fields such as task, length, fps, and robot_type that you can filter on. When you open an episode, the camera streams play in sync with plots of observation.state and action, and the task text appears as the episode's instruction. For the Lift conversion, that's a quick way to confirm that the 20 Hz timestamps line up with the video, that every episode carries its task, and that the actions stay in the [-1, 1] range robomimic recorded.
Once the episodes look right, you can tag bad segments, save cohorts of episodes for training or evaluation, and export a selection back to a self-contained LeRobot v3.0 dataset.
To see this on real robot data, try Voxel51 and add the LeRobot Community dataset, 2,378 tabletop manipulation episodes from 117 community LeRobot datasets on Hugging Face.

Summary

robomimic keeps simulator states so experiments can be reproduced. Isaac Lab keeps that layout and adds what Mimic needs to multiply demonstrations. LeRobot gives up simulator states for compact, shareable storage. Keep the format that matches how your data was made, treat the others as exports you can regenerate, and check what each conversion drops.

Frequently asked questions

Sources

Technical Writer
Robotics Engineer | M.S. Robotics @ Univ. of Michigan-Ann Arbor
See all articles by Shaunak Roy

Try Voxel51 for yourself

Related posts

Boost your visual and physical AI workflows.
View all
by Shaunak Roy, Graduate Student, University of Michigan Robotics
Physical AI
•
by Jesse Mostipak, Marketing
Physical AI
•