Add verified simulation assets and installation guide

#4
README.md CHANGED
@@ -1,132 +1,146 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- language:
4
- - en
5
- task_categories:
6
- - robotics
7
- tags:
8
- - libero
9
- - libero-pro2
10
- - robot-learning
11
- - imitation-learning
12
- - vision-language-action
13
- - hdf5
14
- pretty_name: LIBERO-Pro2.0 Native HDF5 Training Data
15
- size_categories:
16
- - 10K<n<100K
17
- configs:
18
- - config_name: episodes
19
- default: true
20
- data_files:
21
- - split: train
22
- path: viewer/episodes/*/*.parquet
23
- - config_name: libero_10
24
- data_files:
25
- - split: train
26
- path: viewer/episodes/libero_10/*.parquet
27
- - config_name: libero_goal
28
- data_files:
29
- - split: train
30
- path: viewer/episodes/libero_goal/*.parquet
31
- - config_name: libero_object
32
- data_files:
33
- - split: train
34
- path: viewer/episodes/libero_object/*.parquet
35
- - config_name: libero_spatial
36
- data_files:
37
- - split: train
38
- path: viewer/episodes/libero_spatial/*.parquet
39
- - config_name: review_videos
40
- data_files:
41
- - split: train
42
- path: viewer/review_videos/*.parquet
43
- ---
44
-
45
- <h1 align="center">
46
- LIBERO-Pro2.0: A Benchmark for Evaluating Robust Embodied Intelligence
47
- </h1>
48
-
49
- <p align="center">
50
- 🌐 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/index.html"><strong>Website</strong></a> |
51
- 📖 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/docs.html"><strong>Docs</strong></a> |
52
- 🏆 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/leaderboard.html"><strong>Leaderboard</strong></a> |
53
- 🤗 <a href="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/viewer/episodes/train"><strong>Dataset</strong></a> |
54
- 🎬 <a href="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/viewer/review_videos/train"><strong>Videos</strong></a>
55
- </p>
56
-
57
- <p>
58
- <img src="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/resolve/main/assets/card/static-pose.webp" alt="Static shift: base and perturbed target placement" width="100%">
59
- <img src="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/resolve/main/assets/card/dynamic-occlusion.webp" alt="Runtime intervention: target visible, temporarily occluded, then visible again" width="100%">
60
- </p>
61
-
62
- *Examples from LIBERO-Pro2.0: target pose variation at reset (top) and temporary occlusion during execution (bottom).*
63
-
64
- ## 🔥 Overview
65
-
66
- This repository hosts the **native HDF5 training data for LIBERO-Pro2.0**, a benchmark for studying robust robot manipulation under changing conditions. The benchmark introduces **22 static shifts** and **20 dynamic interventions** to test generalization and recovery while preserving task goals.
67
-
68
- The training data contains **40,470 stored demonstrations** across **32 base tasks** in four LIBERO suites. Each demonstration includes a language instruction, scene and wrist camera observations, robot states, and actions.
69
-
70
- ## 🚀 Dataset Highlights
71
-
72
- - **Static and dynamic variation:** demonstrations cover base tasks and perturbation variants across 1,349 task/variation instances.
73
- - **Multimodal trajectories:** 8,258,504 steps with two 128 × 128 RGB camera views, robot states, and 7-dimensional actions.
74
- - **Browsable demonstrations:** one Viewer row per episode, plus 6,745 review videos showing successful examples.
75
-
76
- ## 📊 LIBERO-Pro2.0 Benchmark
77
-
78
- The benchmark organizes perturbations into six domains:
79
-
80
- 1. **Condition** — Task geometry, object poses, and interaction constraints.
81
- 2. **Environment** — Scene composition, appearance, and visual context.
82
- 3. **Observation** — Image formation, sensor quality, and observation timing.
83
- 4. **Execution** — Control timing, command delivery, and action execution.
84
- 5. **Robot** — Robot state, calibration, and recoverable execution outcomes.
85
- 6. **Language** — Equivalent instructions that preserve the original task goal.
86
-
87
- See the [benchmark documentation](https://racingemperor.github.io/LIBERO-Pro2.0/docs.html#taxonomy) for perturbation designs and the [leaderboard](https://racingemperor.github.io/LIBERO-Pro2.0/leaderboard.html) for evaluation results.
88
-
89
- ## 📁 Training Data
90
-
91
- | Suite | Base tasks | Instances | Stored demonstrations |
92
- |---|---:|---:|---:|
93
- | LIBERO-Spatial | 8 | 338 | 10,140 |
94
- | LIBERO-Object | 8 | 344 | 10,320 |
95
- | LIBERO-Goal | 8 | 323 | 9,690 |
96
- | LIBERO-10 | 8 | 344 | 10,320 |
97
- | **Total** | **32** | **1,349** | **40,470** |
98
-
99
- Trajectories are oracle-generated. This repository provides training data only, with no validation or test split. Full observation and action sequences are stored in HDF5; the Viewer provides camera previews and the corresponding file/group for each episode.
100
-
101
- **Trajectory provenance:** the source audit reports **37,396 unique source trajectories**. In 106 instances, one source trajectory is replicated into 30 stored demonstrations. Select `keep_without_declared_fanout = true` in the episode index to exclude declared copies. See the [data format guide](docs/data_format.md#trajectory-provenance) for details.
102
-
103
- ## 🛠️ Download
104
-
105
- ```bash
106
- pip install -U huggingface_hub
107
- hf download zhouxueyang/LIBERO-Pro2.0 \
108
- --repo-type dataset --local-dir ./LIBERO-Pro2.0
109
- ```
110
-
111
- Allow approximately **220 GiB**, plus cache space. To download one suite, add `--include "data/libero_spatial/**"`.
112
-
113
- ## 🔧 Usage
114
-
115
- Install `h5py` and read a trajectory:
116
-
117
- ```python
118
- import h5py
119
-
120
- path = "LIBERO-Pro2.0/data/libero_spatial/task_1/BASE/episodes.hdf5"
121
- with h5py.File(path, "r") as f:
122
- episode = f["data/demo_0"]
123
- actions = episode["actions"][:]
124
- scene_images = episode["obs/agentview_image"][:]
125
- wrist_images = episode["obs/robot0_eye_in_hand_image"][:]
126
- ```
127
-
128
- Refer to the [data format guide](docs/data_format.md) for the directory structure, observation fields, action metadata, and episode index.
129
-
130
- ## License
131
-
132
- This dataset is licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). Please cite this repository and the revision used. External simulator code and benchmark assets retain their respective licenses.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - robotics
7
+ tags:
8
+ - libero
9
+ - libero-pro2
10
+ - robot-learning
11
+ - imitation-learning
12
+ - vision-language-action
13
+ - hdf5
14
+ pretty_name: LIBERO-Pro2.0 Native HDF5 Training Data
15
+ size_categories:
16
+ - 10K<n<100K
17
+ configs:
18
+ - config_name: episodes
19
+ default: true
20
+ data_files:
21
+ - split: train
22
+ path: viewer/episodes/*/*.parquet
23
+ - config_name: libero_10
24
+ data_files:
25
+ - split: train
26
+ path: viewer/episodes/libero_10/*.parquet
27
+ - config_name: libero_goal
28
+ data_files:
29
+ - split: train
30
+ path: viewer/episodes/libero_goal/*.parquet
31
+ - config_name: libero_object
32
+ data_files:
33
+ - split: train
34
+ path: viewer/episodes/libero_object/*.parquet
35
+ - config_name: libero_spatial
36
+ data_files:
37
+ - split: train
38
+ path: viewer/episodes/libero_spatial/*.parquet
39
+ - config_name: review_videos
40
+ data_files:
41
+ - split: train
42
+ path: viewer/review_videos/*.parquet
43
+ ---
44
+
45
+ <h1 align="center">
46
+ LIBERO-Pro2.0: A Benchmark for Evaluating Robust Embodied Intelligence
47
+ </h1>
48
+
49
+ <p align="center">
50
+ 🌐 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/index.html"><strong>Website</strong></a> |
51
+ 📖 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/docs.html"><strong>Docs</strong></a> |
52
+ 🏆 <a href="https://racingemperor.github.io/LIBERO-Pro2.0/leaderboard.html"><strong>Leaderboard</strong></a> |
53
+ 🤗 <a href="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/viewer/episodes/train"><strong>Dataset</strong></a> |
54
+ 🎬 <a href="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/viewer/review_videos/train"><strong>Videos</strong></a>
55
+ </p>
56
+
57
+ <p>
58
+ <img src="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/resolve/main/assets/card/static-pose.webp" alt="Static shift: base and perturbed target placement" width="100%">
59
+ <img src="https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro2.0/resolve/main/assets/card/dynamic-occlusion.webp" alt="Runtime intervention: target visible, temporarily occluded, then visible again" width="100%">
60
+ </p>
61
+
62
+ *Examples from LIBERO-Pro2.0: target pose variation at reset (top) and temporary occlusion during execution (bottom).*
63
+
64
+ ## 🔥 Overview
65
+
66
+ This repository hosts the **native HDF5 training data for LIBERO-Pro2.0**, a benchmark for studying robust robot manipulation under changing conditions. The benchmark introduces **22 static shifts** and **20 dynamic interventions** to test generalization and recovery while preserving task goals.
67
+
68
+ The training data contains **40,470 stored demonstrations** across **32 base tasks** in four LIBERO suites. Each demonstration includes a language instruction, scene and wrist camera observations, robot states, and actions.
69
+
70
+ ## 🚀 Dataset Highlights
71
+
72
+ - **Static and dynamic variation:** demonstrations cover base tasks and perturbation variants across 1,349 task/variation instances.
73
+ - **Multimodal trajectories:** 8,258,504 steps with two 128 × 128 RGB camera views, robot states, and 7-dimensional actions.
74
+ - **Browsable demonstrations:** one Viewer row per episode, plus 6,745 review videos showing successful examples.
75
+
76
+ ## 📊 LIBERO-Pro2.0 Benchmark
77
+
78
+ The benchmark organizes perturbations into six domains:
79
+
80
+ 1. **Condition** — Task geometry, object poses, and interaction constraints.
81
+ 2. **Environment** — Scene composition, appearance, and visual context.
82
+ 3. **Observation** — Image formation, sensor quality, and observation timing.
83
+ 4. **Execution** — Control timing, command delivery, and action execution.
84
+ 5. **Robot** — Robot state, calibration, and recoverable execution outcomes.
85
+ 6. **Language** — Equivalent instructions that preserve the original task goal.
86
+
87
+ See the [benchmark documentation](https://racingemperor.github.io/LIBERO-Pro2.0/docs.html#taxonomy) for perturbation designs and the [leaderboard](https://racingemperor.github.io/LIBERO-Pro2.0/leaderboard.html) for evaluation results.
88
+
89
+ ## 📁 Training Data
90
+
91
+ | Suite | Base tasks | Instances | Stored demonstrations |
92
+ |---|---:|---:|---:|
93
+ | LIBERO-Spatial | 8 | 338 | 10,140 |
94
+ | LIBERO-Object | 8 | 344 | 10,320 |
95
+ | LIBERO-Goal | 8 | 323 | 9,690 |
96
+ | LIBERO-10 | 8 | 344 | 10,320 |
97
+ | **Total** | **32** | **1,349** | **40,470** |
98
+
99
+ Trajectories are oracle-generated. This repository provides training data only, with no validation or test split. Full observation and action sequences are stored in HDF5; the Viewer provides camera previews and the corresponding file/group for each episode.
100
+
101
+ **Trajectory provenance:** the source audit reports **37,396 unique source trajectories**. In 106 instances, one source trajectory is replicated into 30 stored demonstrations. Select `keep_without_declared_fanout = true` in the episode index to exclude declared copies. See the [data format guide](docs/data_format.md#trajectory-provenance) for details.
102
+
103
+ ## Simulation Assets
104
+
105
+ The simulation assets used by the **1,688-task LIBERO-Pro release** are also
106
+ available as [assets.zip](assets.zip). The archive contains objects, scenes,
107
+ textures, and perturbation assets; it is separate from the HDF5 training data.
108
+ Download only this archive and its verification files if you are setting up
109
+ evaluation. See the [asset installation guide](docs/simulation_assets.md).
110
+
111
+ BDDL task definitions and evaluation code are maintained in the
112
+ [GitHub main branch](https://github.com/Zxy-MLlab/LIBERO-Pro2.0/tree/main).
113
+ The asset bundle is pinned to source commit
114
+ `3ac451e6e85ee6995bf684b56f6c04f8ef7c8829`; it does not change the training split,
115
+ stored trajectories, or Dataset Viewer.
116
+
117
+ ## 🛠️ Download
118
+
119
+ ```bash
120
+ pip install -U huggingface_hub
121
+ hf download zhouxueyang/LIBERO-Pro2.0 \
122
+ --repo-type dataset --local-dir ./LIBERO-Pro2.0
123
+ ```
124
+
125
+ Allow approximately **220 GiB**, plus cache space. To download one suite, add `--include "data/libero_spatial/**"`.
126
+
127
+ ## 🔧 Usage
128
+
129
+ Install `h5py` and read a trajectory:
130
+
131
+ ```python
132
+ import h5py
133
+
134
+ path = "LIBERO-Pro2.0/data/libero_spatial/task_1/BASE/episodes.hdf5"
135
+ with h5py.File(path, "r") as f:
136
+ episode = f["data/demo_0"]
137
+ actions = episode["actions"][:]
138
+ scene_images = episode["obs/agentview_image"][:]
139
+ wrist_images = episode["obs/robot0_eye_in_hand_image"][:]
140
+ ```
141
+
142
+ Refer to the [data format guide](docs/data_format.md) for the directory structure, observation fields, action metadata, and episode index.
143
+
144
+ ## License
145
+
146
+ This dataset is licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). Please cite this repository and the revision used. External simulator code and benchmark assets retain their respective licenses.
assets.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a160e5b8ad4552a345adb54551f33bbce74c0cf9f79218a588197ba8eaa9d0
3
+ size 483197257
assets.zip.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ c2a160e5b8ad4552a345adb54551f33bbce74c0cf9f79218a588197ba8eaa9d0 assets.zip
docs/simulation_assets.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LIBERO-Pro simulation assets
2
+
3
+ This archive supplies the environment assets for the 1,688-task release of
4
+ LIBERO-Pro. It contains the existing LIBERO objects, scenes, textures, and the
5
+ additional perturbation assets. BDDL files, initial states, and evaluation code
6
+ remain in the [GitHub main branch](https://github.com/Zxy-MLlab/LIBERO-Pro2.0/tree/main).
7
+ The HDF5 training data in `data/` and the Dataset Viewer are unchanged.
8
+
9
+ ## Download
10
+
11
+ The ZIP is approximately 483 MB and expands to approximately 821 MB. Download
12
+ only the asset supplement:
13
+
14
+ ```bash
15
+ pip install -U huggingface_hub
16
+ hf download zhouxueyang/LIBERO-Pro2.0 --repo-type dataset \
17
+ --include "assets.zip" "assets.zip.sha256" "manifests/assets_manifest.json" \
18
+ "scripts/verify_assets.py" "docs/simulation_assets.md" \
19
+ --local-dir ./libero-pro-assets
20
+ python ./libero-pro-assets/scripts/verify_assets.py \
21
+ --archive ./libero-pro-assets/assets.zip \
22
+ --manifest ./libero-pro-assets/manifests/assets_manifest.json
23
+ ```
24
+
25
+ ## Install into the current evaluation release
26
+
27
+ The compatible source commit is `3ac451e6e85ee6995bf684b56f6c04f8ef7c8829`.
28
+ Use a fresh checkout so existing environments and running jobs are unaffected.
29
+ The GitHub repository currently requires access from its owner.
30
+
31
+ ```bash
32
+ GIT_LFS_SKIP_SMUDGE=1 git clone --branch main \
33
+ https://github.com/Zxy-MLlab/LIBERO-Pro2.0.git ./LIBERO-Pro-eval
34
+ git -C ./LIBERO-Pro-eval checkout 3ac451e6e85ee6995bf684b56f6c04f8ef7c8829
35
+ python -m zipfile -e ./libero-pro-assets/assets.zip \
36
+ ./LIBERO-Pro-eval/simulator-source/libero/libero
37
+ python ./libero-pro-assets/scripts/verify_assets.py \
38
+ --assets-dir ./LIBERO-Pro-eval/simulator-source/libero/libero/assets \
39
+ --manifest ./libero-pro-assets/manifests/assets_manifest.json
40
+ ```
41
+
42
+ The archive already contains the `assets/` directory. Extract into its parent,
43
+ not into another `assets/` directory:
44
+
45
+ ```text
46
+ LIBERO-Pro-eval/
47
+ └── simulator-source/libero/libero/
48
+ └── assets/
49
+ ├── articulated_objects/
50
+ ├── perturbation_assets/
51
+ ├── scenes/
52
+ ├── stable_hope_objects/
53
+ ├── stable_scanned_objects/
54
+ ├── textures/
55
+ ├── turbosquid_objects/
56
+ └── LICENSE_LIBERO
57
+ ```
58
+
59
+ This is the source layout of the pinned release. If using an already validated
60
+ native LIBERO package layout, the equivalent parent directory is
61
+ `libero/libero/`. The archive does not install Python, MuJoCo, robosuite, model
62
+ checkpoints, or evaluation dependencies. Follow the source release installation
63
+ instructions for those components. Downloading the assets alone does not run
64
+ the benchmark or change the number of evaluation trials.
65
+
66
+ ## Contents and verification
67
+
68
+ The archive contains 1,116 tracked asset files from the source release, plus
69
+ the upstream LIBERO license. All 76 Git LFS assets were expanded and verified
70
+ against their pinned SHA-256 values and sizes. All 181 vendor files match the
71
+ original vendor manifest. For 103 vendor text files, Git had normalized the
72
+ line endings; the original CRLF bytes were restored only after their size and
73
+ SHA-256 matched that source manifest. Other files use canonical Git content.
74
+
75
+ `manifests/assets_manifest.json` records the source commit, every source path,
76
+ file size, and SHA-256 checksum. The complete ZIP and every decompressed member
77
+ were checked before publication. This verifies the release payload; it is not
78
+ a new model evaluation or a claim that all policy rollouts succeed.
79
+
80
+ The historical asset catalog may mention internal or retired perturbation IDs.
81
+ The authoritative 1,688-task inventory is the pinned source's
82
+ `assets/task_manifest.json`. Public D19 corresponds to internal D20, and public
83
+ D20 corresponds to internal D21. The asset supplement does not rename tasks.
84
+
85
+ ## Asset provenance and licenses
86
+
87
+ The HDF5 dataset's CC BY-NC 4.0 declaration does not replace upstream asset
88
+ licenses. The archive retains the original LIBERO license, vendor licenses,
89
+ and `assets/perturbation_assets/THIRD_PARTY_NOTICES.md` with source attribution.
90
+ The selected asset collection includes MIT, Apache-2.0, CC BY 4.0, and
91
+ LGPL-2.1-only components; consult each retained notice for its scope and any
92
+ additional original dataset terms.
manifests/assets_manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
scripts/verify_assets.py ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Verify the LIBERO-Pro asset ZIP or its extracted assets directory."""
2
+
3
+ import argparse
4
+ import hashlib
5
+ import json
6
+ import zipfile
7
+ from pathlib import Path, PurePosixPath
8
+
9
+
10
+ def file_hash(path):
11
+ checksum = hashlib.sha256()
12
+ with path.open("rb") as stream:
13
+ for block in iter(lambda: stream.read(1024 * 1024), b""):
14
+ checksum.update(block)
15
+ return checksum.hexdigest()
16
+
17
+
18
+ def main():
19
+ parser = argparse.ArgumentParser(description=__doc__)
20
+ parser.add_argument("--manifest", type=Path, required=True)
21
+ source = parser.add_mutually_exclusive_group(required=True)
22
+ source.add_argument("--archive", type=Path)
23
+ source.add_argument("--assets-dir", type=Path)
24
+ args = parser.parse_args()
25
+ manifest = json.loads(args.manifest.read_text(encoding="utf-8"))
26
+ records = manifest["files"]
27
+ names = [record["path"] for record in records]
28
+ if len(records) != manifest["file_count"] or len(set(names)) != len(names):
29
+ raise ValueError("Manifest count or unique paths mismatch")
30
+ for name in names:
31
+ path = PurePosixPath(name)
32
+ if path.is_absolute() or ".." in path.parts or path.parts[0] != "assets":
33
+ raise ValueError("Invalid manifest path: " + name)
34
+ if args.archive:
35
+ expected = manifest["archive"]
36
+ if args.archive.stat().st_size != expected["bytes"] or file_hash(args.archive) != expected["sha256"]:
37
+ raise ValueError("Archive checksum mismatch")
38
+ with zipfile.ZipFile(args.archive) as archive:
39
+ if len(archive.infolist()) != len(records) or set(archive.namelist()) != set(names):
40
+ raise ValueError("Archive file inventory mismatch")
41
+ for record in records:
42
+ data = archive.read(record["path"])
43
+ if len(data) != record["bytes"] or hashlib.sha256(data).hexdigest() != record["sha256"]:
44
+ raise ValueError("Asset checksum mismatch: " + record["path"])
45
+ else:
46
+ root = args.assets_dir.resolve()
47
+ for record in records:
48
+ path = root.joinpath(*PurePosixPath(record["path"]).parts[1:]).resolve()
49
+ if root not in path.parents or not path.is_file():
50
+ raise ValueError("Missing or invalid extracted asset: " + record["path"])
51
+ if path.stat().st_size != record["bytes"] or file_hash(path) != record["sha256"]:
52
+ raise ValueError("Extracted asset checksum mismatch: " + record["path"])
53
+ print("Verified {} files from source commit {}".format(len(records), manifest["source_commit"]))
54
+
55
+
56
+ if __name__ == "__main__":
57
+ main()