Delivery format
HDF5 robot data format for robot training data
HDF5 robot data is useful for large structured arrays, trajectories, pose, sensor streams, and compact robot episodes. Define schema version, groups for observations/actions, timestamps, task labels, and metadata attributes before reviewing samples so you can verify that delivery matches the training pipeline.
Quick facts
- Origin
- Hierarchical Data Format v5 — HDF Group, BSD license, hdfgroup.org. Industry standard since 1998.
- Robotics adoption
- ALOHA, RoboMIND (12.3 TB / 107k trajectories), and many manipulation benchmarks ship HDF5.
- Strengths
- Compact binary, partial reads, schema-rich groups, native chunking and compression.
- Required schema fields
- Schema version, groups for observations/actions, timestamps, task labels, metadata attributes.
- Layout contract: robomimic-style
- One HDF5 file per dataset with a top-level data group. Attributes live on data itself: total, and env_args — a JSON string with env_name, env_type and env_kwargs. Every trajectory is its own group under data (demo_0, demo_1, ...), and INSIDE each demo group live the per-trajectory attributes (num_samples, and model_file for robosuite datasets) plus the datasets states, actions (N by A), rewards (N,) and dones (N,), and two groups — obs and next_obs — whose key names and shapes are dataset-specific. Images are documented as uint8, channel-last (H, W, C); actions are documented as normalized between -1 and 1. Splits live in mask/train and mask/valid groups that name demonstration keys, not random frames. Scoped to the robomimic dataset documentation as fetched 2026-10-08 (no release version pinned in that source).
- Layout contract: ACT-style
- One episode_{id}.hdf5 file per episode. The original repository's loader reads /action, /observations/qpos and /observations/qvel directly, and camera arrays at /observations/images/{cam_name}. It pads action sequences and returns an is_pad mask, converts stored HWC images to CHW tensors divided by 255, and normalizes actions and qpos against separately saved means and standard deviations. Scoped to the ACT original repository's utils.py on its main branch as fetched 2026-10-08 (no release version pinned in that source).
- Conversion is a mapping, not a guarantee
- Both contracts above are 'HDF5' and neither loads the other's files: the consumer is the group and key layout, not the container. When a supplier offers conversion, specify the target consumer's keys, episode boundaries and action semantics, and require a sample that loads in that consumer before full delivery.
- Split and normalization caveat (ACT-style)
- In the original ACT repository, normalization statistics are computed over all episodes before the 80/20 train/validation split is drawn by shuffling episode indices. If your evaluation needs strict separation, recompute the statistics on the training split only. Scoped to the ACT utils.py as fetched 2026-10-08.
- Facet caveat
- A dataset appearing under an HDF5 facet may still ship heterogeneous internal layouts. Treat facet presence as a discovery signal, not a delivery guarantee — name the layout contract in the request.
Comparison
| Format choice | Strength | Risk |
|---|---|---|
| HDF5 robot data | large structured arrays, trajectories, pose, sensor streams, and compact robot episodes | Needs exact schema agreement before capture |
| Raw files | Fast supplier export | High buyer cleanup burden |
| Custom schema | Matches internal pipeline | Harder supplier onboarding |
What is HDF5 robot data?
HDF5 robot data should be requested when the buyer's training or evaluation pipeline already expects large structured arrays, trajectories, pose, sensor streams, and compact robot episodes. Anchor the requirement to the canonical specification before suppliers submit samples [1], then use implementation documentation to make the expected file layout reviewable [2]. Robotics teams should also name the dataset or paper lineage they expect suppliers to support [3].
[1]"HDF5 is a data model, library, and file format for storing and managing data."
For buyers, that quote matters because it turns HDF5 robot data from a generic delivery preference into a source-backed requirement the supplier can test against a sample file.
Using HDF5 robot data with robot data
A useful HDF5 robot data sample should prove schema version, groups for observations/actions, timestamps, task labels, and metadata attributes, plus file naming, manifest completeness, timestamp behavior, and rejected-example traceability. Include at least one workflow or converter reference so the supplier can show how the files load in practice [4], one interoperability reference for adjacent formats [5], and one comparison source for why this format is preferable to a raw folder dump [6].
Related pages
Use these to move from category-level context into specific task, dataset, format, and comparison detail.
External references and source context
- HDF5 1.14 documentation
HDF5 is a file format and library for storing structured data.
The HDF Group ↩ - Introduction to HDF5
HDF5 organizes data using groups and datasets.
The HDF Group ↩ - h5py groups
h5py documents HDF5 groups for Python dataset hierarchies.
h5py ↩ - LeRobot dataset documentation
LeRobot dataset docs are relevant to HDF5 episode packaging.
Hugging Face ↩ - Apache Parquet file format
Parquet is a columnar alternative to HDF5-style structured delivery.
Apache Parquet ↩ - Dremel: Interactive Analysis of Web-Scale Datasets
Dremel is a nested columnar-data reference useful in HDF5 versus Parquet comparisons.
VLDB Endowment ↩
FAQ
What is HDF5 robot data used for?
HDF5 robot data is used for large structured arrays, trajectories, pose, sensor streams, and compact robot episodes.
What fields should HDF5 robot data delivery require?
At minimum, require schema version, groups for observations/actions, timestamps, task labels, and metadata attributes, plus a delivery manifest and validation notes.
Can suppliers convert into this format?
Some suppliers can deliver directly in the requested format; others may need conversion. Buyers should require a small sample before full delivery.
Should the format be decided before capture?
Yes. Deciding the format before capture prevents missing fields, timestamp drift, and expensive post-delivery cleanup.
Working with HDF5 robot data
TrueLabel is the software platform for data providers, labs, and robotics companies that run their own capture operations, taking capture devices through processing to high-quality training and alignment data.