robomme_h5 / README.md
dcloud347's picture
Remove alignment explanation section
2b3ce2d verified
|
Raw History Blame Contribute Delete
5.37 kB
---
language:
- en
- zh
tags:
- robotics
- robomme
- imitation-learning
- vla
- hdf5
---
# RoboMME HDF5: Recollected Training Data with Corrected Observation–Action Alignment
This repository provides a community recollection of the RoboMME **training set**, covering **16 tasks with 100 successful episodes per task (1,600 episodes total)**. Each task is packaged as a `.tar.xz` archive, totaling approximately 81.6 GB (76 GiB).
These trajectories were collected again in the simulator using a corrected RecordWrapper. This is an independent dataset release, rather than a repackaging of the official files.
## Main Differences from the Official Data
The timing comparison below refers to the earlier RecordWrapper implementation that motivated this recollection. It does **not** imply that every subsequent official release has the same issue.
| Aspect | Original implementation / collection workflow being addressed | This dataset |
| --- | --- | --- |
| Observation–action alignment | Executes the action before recording the resulting observation: `(obs_{t+1}, action_t)` | Records the observation and robot state before executing the action: `(obs_t, action_t)` |
| Data generation | Official dataset and generation workflow | Newly collected simulator trajectories using the corrected RecordWrapper |
| Seeds and episode correspondence | Seeds specified in the official training metadata | Based on the official training metadata, with new seeds replacing some unsuccessful cases; episodes do not correspond exactly one-to-one to the official dataset |
| Injected failure recovery | The original generation helper enables failure recovery for episode IDs 0–5 | The helper's artificial failure-recovery injection is explicitly disabled during collection |
| Distribution format | Refer to the specific official release | One archive per task containing HDF5 files; no standalone MP4 files |
| Validation | Refer to the official validation documentation | All 1,600 retained successful episodes passed task-success checks when replaying their recorded joint actions |
## Tasks and Archives
Each task contains 100 retained successful episodes.
| Task | Archive |
| --- | --- |
| PickXtimes | `PickXtimes.tar.xz` |
| StopCube | `StopCube.tar.xz` |
| SwingXtimes | `SwingXtimes.tar.xz` |
| BinFill | `BinFill.tar.xz` |
| VideoUnmaskSwap | `VideoUnmaskSwap.tar.xz` |
| VideoUnmask | `VideoUnmask.tar.xz` |
| ButtonUnmaskSwap | `ButtonUnmaskSwap.tar.xz` |
| ButtonUnmask | `ButtonUnmask.tar.xz` |
| VideoRepick | `VideoRepick.tar.xz` |
| VideoPlaceButton | `VideoPlaceButton.tar.xz` |
| PickHighlight | `PickHighlight.tar.xz` |
| VideoPlaceOrder | `VideoPlaceOrder.tar.xz` |
| MoveCube | `MoveCube.tar.xz` |
| InsertPeg | `InsertPeg.tar.xz` |
| PatternLock | `PatternLock.tar.xz` |
| RouteStick | `RouteStick.tar.xz` |
Some original seeds for **BinFill, VideoPlaceOrder, and VideoRepick** did not produce successful trajectories and were replaced with additional seeds. Episode IDs may therefore be nonconsecutive or greater than 99. Read `setup/seed` and `setup/difficulty` in each HDF5 episode for its actual configuration; do not infer correspondence to the official metadata from the episode ID alone.
## Data Structure and Usage
The files follow RoboMME's HDF5 organization:
```text
episode_<ID>/
setup/ # Seed, difficulty, task language, camera intrinsics, etc.
timestep_<K>/
obs/ # Front/wrist RGB, depth, robot state, etc.
action/ # joint_action, eef_action, waypoint_action, etc.
info/ # Subgoals, demonstration flag, completion state, etc.
```
See the project's [HDF5 data format documentation](https://github.com/dcloud347/robomme_benchmark/blob/fix-record-wrapper/doc/h5_data_format.md) for field descriptions. The contents of the actual files are authoritative for available fields.
Images are stored inside the HDF5 files, so standalone MP4 files are unnecessary for loading training images. For video-conditioned tasks, use `info/is_video_demo` to identify demonstration frames and incorporate the demonstration context as required by your model.
RGB/depth arrays in some collection batches use internal lossless HDF5 compression. All tasks also use outer `.tar.xz` compression. These compression methods preserve array values; after extraction, the HDF5 files can be read normally with `h5py`.
Download and extract one task:
```bash
hf download dcloud347/robomme_h5 --repo-type dataset \
--include 'PatternLock.tar.xz' --local-dir ./robomme_h5
mkdir -p ./robomme_h5/PatternLock
tar -xJf ./robomme_h5/PatternLock.tar.xz -C ./robomme_h5/PatternLock
```
## Validation Scope and Limitations
All 1,600 retained successful episodes passed replay checks using their recorded joint actions. These checks verify that the trajectories complete the tasks in the corresponding environment. They do not constitute pixel-by-pixel verification of every recorded observation or manual review of every semantic label. Pre-action observation–action alignment was additionally checked independently, step by step, on one episode.
This repository provides recollected **training data only**. It does not include validation, test, or OOD test splits. Please follow the licensing and citation requirements of the original RoboMME project and its associated assets.