GenPA-LIBERO / README.md
Deduktive's picture
Explain how LIBERO targets and training demonstrations were prepared
5f6a748 verified
|
Raw History Blame Contribute Delete
3.97 kB
---
license: cc-by-4.0
task_categories:
- robotics
pretty_name: GenPA LIBERO
tags:
- libero
- robot-learning
- imitation-learning
- depth
- visual-supervision
configs:
- config_name: paper_actions
data_files:
- split: train
path: paper/data/chunk-*/*.parquet
---
# GenPA LIBERO
This dataset builds on **2,000 original LIBERO demonstrations across 40 tasks**. We restore the recorded simulator states in MuJoCo to re-render the external and wrist camera views and collect the geometry needed to construct seven visual targets. To select the training set, we replay each demonstration’s recorded actions after removing no-op steps. The paper’s LIBERO policies use the **1,808 demonstrations** that reach the task’s success condition at least once during replay.
[Paper on arXiv](https://arxiv.org/abs/2611.27446) · [Project page](https://deng-zian.github.io/GenPA-website/) · [Code and data reader](https://github.com/deng-zian/GenPA) · [Trained policies](https://huggingface.co/Deduktive/GenPA)
![RGB, encoded depth, surface normals and semantic segmentation for the external and wrist cameras at the same instant](./preview.png)
*Both cameras at frame 0 of Spatial, task 0, demonstration 0. Depth is shown with the training encoding. The files in `paper/depth/` store metric depth in meters.*
## Try one frame
This [Spatial sample (1.70 MiB)](https://huggingface.co/datasets/Deduktive/GenPA-LIBERO/resolve/main/samples/libero_spatial.npz?download=true) opens with NumPy on a laptop. It contains both RGB views, all seven visual targets, validity masks and frame indices.
```bash
curl -fL https://huggingface.co/datasets/Deduktive/GenPA-LIBERO/resolve/main/samples/libero_spatial.npz -o spatial.npz
python - <<'PY'
import numpy as np
with np.load("spatial.npz", allow_pickle=False) as scene:
print(scene["cameras"].tolist()) # ['agentview', 'robot0_eye_in_hand']
print(scene["depth"].shape) # (2, 3, 256, 256)
print(scene["future_rgb_target_frame"].item()) # 16
PY
```
## Choose a download
| Use | Files | Download size |
| --- | --- | ---: |
| Train a released LIBERO policy | `paper/` contains RGB, actions, state, depth and policy metadata | 45.85 GiB |
| Work with metric depth | `paper/depth/` plus `paper/manifests/` and `paper/policy/` | 44.03 GiB |
| Construct visual supervision | One `archives/<suite>/task_XX.tar` plus label metadata | 0.86 GiB for Spatial task 0 with metadata |
| Inspect other examples | `samples/` contains one NPZ per suite and a policy-ready observation | 9 MiB total |
To download the paper training data, run the following with the Hugging Face CLI:
```bash
hf download Deduktive/GenPA-LIBERO --repo-type dataset --include 'paper/*' --local-dir GenPA-LIBERO
```
Pass `GenPA-LIBERO/paper` to the [LIBERO training recipe](https://github.com/deng-zian/GenPA/blob/main/docs/TRAINING.md#libero). For other targets, the [one-task reader example](https://github.com/deng-zian/GenPA/blob/main/docs/DATA.md#visual-supervision) shows how to construct depth, normals, pointmaps, segmentation, grounding, future RGB and future depth. [File formats and episode mapping](https://github.com/deng-zian/GenPA/blob/main/docs/DATA.md#file-formats-and-episode-ids)
The Hub viewer displays the action and state Parquet rows. RGB videos and depth arrays are in the matching episode files. RoboTwin uses the separately published [Flex-π RGB-D dataset](https://huggingface.co/datasets/flex-pi/robotwin_3d).
## Attribution
The GenPA authors replayed the original LIBERO demonstrations, recorded paired views and geometry, and constructed the supervision and training subset. Please cite both LIBERO and GenPA when using this derivative. [Original LIBERO dataset](https://huggingface.co/datasets/yifengzhu-hf/LIBERO-datasets) · [LIBERO paper and citation](https://github.com/Lifelong-Robot-Learning/LIBERO) · [GenPA citation](https://deng-zian.github.io/GenPA-website/#citation) · [CC BY 4.0](./LICENSE)