salpu commited on
Commit
4d6ec25
·
verified ·
1 Parent(s): 61ca080

add LIBERO sim-client: Dockerfile, policy server adapter, vendored sources, updated REPRODUCE.md (part 4)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +8 -0
  2. eval/vendored/LIBERO-PRO/.gitignore +18 -0
  3. eval/vendored/LIBERO-PRO/LICENSE +21 -0
  4. eval/vendored/LIBERO-PRO/README.md +727 -0
  5. eval/vendored/LIBERO-PRO/benchmark_scripts/check_task_suites.py +117 -0
  6. eval/vendored/LIBERO-PRO/benchmark_scripts/download_libero_datasets.py +66 -0
  7. eval/vendored/LIBERO-PRO/benchmark_scripts/init_path.py +8 -0
  8. eval/vendored/LIBERO-PRO/benchmark_scripts/render_single_task.py +82 -0
  9. eval/vendored/LIBERO-PRO/benchmark_scripts/shasum_files.py +49 -0
  10. eval/vendored/LIBERO-PRO/evaluation_config.yaml +23 -0
  11. eval/vendored/LIBERO-PRO/images/fig1.png +3 -0
  12. eval/vendored/LIBERO-PRO/images/libero_logo.png +3 -0
  13. eval/vendored/LIBERO-PRO/images/libero_ood.png +3 -0
  14. eval/vendored/LIBERO-PRO/images/libero_ood_logo.png +3 -0
  15. eval/vendored/LIBERO-PRO/images/liberopro-logo.png +3 -0
  16. eval/vendored/LIBERO-PRO/images/liberopro_logo.pdf +0 -0
  17. eval/vendored/LIBERO-PRO/images/liberopro_logo.png +3 -0
  18. eval/vendored/LIBERO-PRO/images/main_figure.pdf +3 -0
  19. eval/vendored/LIBERO-PRO/images/overall.png +3 -0
  20. eval/vendored/LIBERO-PRO/images/wechat.png +3 -0
  21. eval/vendored/LIBERO-PRO/libero/configs/__init__.py +0 -0
  22. eval/vendored/LIBERO-PRO/libero/configs/config.yaml +24 -0
  23. eval/vendored/LIBERO-PRO/libero/configs/data/default.yaml +39 -0
  24. eval/vendored/LIBERO-PRO/libero/configs/eval/default.yaml +10 -0
  25. eval/vendored/LIBERO-PRO/libero/configs/lifelong/agem.yaml +2 -0
  26. eval/vendored/LIBERO-PRO/libero/configs/lifelong/base.yaml +1 -0
  27. eval/vendored/LIBERO-PRO/libero/configs/lifelong/er.yaml +2 -0
  28. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_butter_and_place_it_in_the_basket.bddl +92 -0
  29. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_chocolate_pudding_and_place_it_in_the_basket.bddl +92 -0
  30. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_cream_cheese_and_place_it_in_the_basket.bddl +92 -0
  31. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_ketchup_and_place_it_in_the_basket.bddl +92 -0
  32. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_milk_and_place_it_in_the_basket.bddl +92 -0
  33. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_orange_juice_and_place_it_in_the_basket.bddl +92 -0
  34. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_salad_dressing_and_place_it_in_the_basket.bddl +92 -0
  35. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_tomato_sauce_and_place_it_in_the_basket.bddl +92 -0
  36. eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/tasks_info.txt +10 -0
  37. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate.bddl +135 -0
  38. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate.bddl +135 -0
  39. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate.bddl +136 -0
  40. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate.bddl +135 -0
  41. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate.bddl +135 -0
  42. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate.bddl +135 -0
  43. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate.bddl +135 -0
  44. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate.bddl +135 -0
  45. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate.bddl +135 -0
  46. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate.bddl +135 -0
  47. eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/tasks_info.txt +10 -0
  48. eval/vendored/LIBERO/libero/libero/benchmark/__init__.py +219 -0
  49. eval/vendored/LIBERO/libero/libero/benchmark/libero_suite_task_map.py +142 -0
  50. eval/vendored/LIBERO/libero/libero/benchmark/mu_creation.py +1575 -0
.gitattributes CHANGED
@@ -113,3 +113,11 @@ eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/red_coffee_mug/visu
113
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/white_yellow_mug/visual/white_yellow_mug_vis.msh filter=lfs diff=lfs merge=lfs -text
114
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/wine_bottle/visual/wine_bottle_red_main_vis.msh filter=lfs diff=lfs merge=lfs -text
115
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/yellow_book/visual/yellow_book_vis.msh filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
113
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/white_yellow_mug/visual/white_yellow_mug_vis.msh filter=lfs diff=lfs merge=lfs -text
114
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/wine_bottle/visual/wine_bottle_red_main_vis.msh filter=lfs diff=lfs merge=lfs -text
115
  eval/vendored/LIBERO/libero/libero/assets/turbosquid_objects/yellow_book/visual/yellow_book_vis.msh filter=lfs diff=lfs merge=lfs -text
116
+ eval/vendored/LIBERO/libero/libero/init_files/libero_10/LIVING_ROOM_SCENE2_put_both_the_alphabet_soup_and_the_tomato_sauce_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
117
+ eval/vendored/LIBERO/libero/libero/init_files/libero_10/LIVING_ROOM_SCENE2_put_both_the_cream_cheese_box_and_the_butter_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
118
+ eval/vendored/LIBERO/libero/libero/init_files/libero_90/LIVING_ROOM_SCENE2_pick_up_the_alphabet_soup_and_put_it_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
119
+ eval/vendored/LIBERO/libero/libero/init_files/libero_90/LIVING_ROOM_SCENE2_pick_up_the_butter_and_put_it_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
120
+ eval/vendored/LIBERO/libero/libero/init_files/libero_90/LIVING_ROOM_SCENE2_pick_up_the_milk_and_put_it_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
121
+ eval/vendored/LIBERO/libero/libero/init_files/libero_90/LIVING_ROOM_SCENE2_pick_up_the_orange_juice_and_put_it_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
122
+ eval/vendored/LIBERO/libero/libero/init_files/libero_90/LIVING_ROOM_SCENE2_pick_up_the_tomato_sauce_and_put_it_in_the_basket.init filter=lfs diff=lfs merge=lfs -text
123
+ eval/vendored/LIBERO-PRO/images/main_figure.pdf filter=lfs diff=lfs merge=lfs -text
eval/vendored/LIBERO-PRO/.gitignore ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *~
2
+ .hydra
3
+ *pyc
4
+ datasets
5
+ results
6
+ outputs/*
7
+ /MUJOCO_LOG.TXT
8
+ wandb
9
+ experiments/
10
+ experiments_saved/
11
+ clip/
12
+ gpt/
13
+ bert/
14
+ logs/
15
+
16
+ *.mp4
17
+ libero.egg-info/
18
+ .vscode/
eval/vendored/LIBERO-PRO/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Lifelong Robot Learning
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
eval/vendored/LIBERO-PRO/README.md ADDED
@@ -0,0 +1,727 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ <img src="https://github.com/Zxy-MLlab/LIBERO-OOD/blob/master/images/liberopro_logo.png" width="360">
4
+
5
+ ## LIBERO-Pro: Towards Robust and Fair Evaluation of Vision-Language-Action Models Beyond Memorization
6
+
7
+ **Xueyang Zhou<sup>1</sup>, Yangming Xu<sup>1</sup>, Guiyao Tie<sup>1</sup>, Yongchao Chen<sup>2,3</sup>, Guowen Zhang<sup>1</sup>, Duanfeng Chu<sup>4</sup>, Pan Zhou<sup>1</sup>, Lichao Sun<sup>5</sup>**
8
+
9
+ <sup>1</sup> **Huazhong University of Science and Technology**
10
+ <sup>2</sup> **Harvard University** <sup>3</sup> **Massachusetts Institute of Technology**
11
+ <sup>4</sup> **Wuhan University of Technology** <sup>5</sup> **Lehigh University**
12
+
13
+ [![Tests Passing](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/Zxy-MLlab/LIBERO-PRO/actions)
14
+ [![Contributors](https://img.shields.io/github/contributors/Lifelong-Robot-Learning/LIBERO)](https://github.com/Zxy-MLlab/LIBERO-PRO/graphs/contributors)
15
+ [![Paper](https://img.shields.io/badge/Paper-arXiv:2510.03827-b31b1b.svg)](https://arxiv.org/pdf/2510.03827)
16
+ [![Website](https://img.shields.io/badge/Project-Webpage-4b7bec.svg)](https://zxy-mllab.github.io/LIBERO-PRO-Webpage/)
17
+ [![Code](https://img.shields.io/badge/Code-LIBERO--PRO-2b9348.svg)](https://github.com/Zxy-MLlab/LIBERO-PRO/)
18
+ [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
19
+
20
+
21
+ 📄 [Paper](https://arxiv.org/pdf/2510.03827) |
22
+ 💻 [Code](https://github.com/Zxy-MLlab/LIBERO-PRO) |
23
+ 🌐 [Webpage](https://zxy-mllab.github.io/LIBERO-PRO-Webpage/) |
24
+ 🤗 [Dataset](https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro) |
25
+ 📱 [XHS](http://xhslink.com/o/5vmaip7wQCE/) |
26
+ 💬 [WeChat](https://github.com/Zxy-MLlab/LIBERO-OOD/blob/master/images/wechat.png)
27
+
28
+ ---
29
+
30
+ ![pull_figure](https://github.com/Zxy-MLlab/LIBERO-OOD/blob/master/images/overall.png)
31
+ </div>
32
+
33
+ ## ✨ News ✨​
34
+ - [2025/11/05] 📊 All bddl and init files have been uploaded to Huggingface (supports fast parallel evaluation): [Dataset](https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro)
35
+ - [2025/10/29] 🌐 We launched the official project website for LIBERO-Pro (with more demos & details): [Webpage](https://zxy-mllab.github.io/LIBERO-PRO-Webpage/)
36
+ - [2025/10/22] 📱 We have shared a project promotion post on Xhs: [Xhs](http://xhslink.com/o/5vmaip7wQCE/)
37
+ - [2025/10/20] 💬 We have created an official WeChat account (join discussions, get quick Q&A) [WeChat](https://github.com/Zxy-MLlab/LIBERO-OOD/blob/master/images/wechat.png)​
38
+ - [2025/10/05] 🤖 We have released the full LIBERO-Pro code on GitHub: [Code​](https://github.com/Zxy-MLlab/LIBERO-PRO)
39
+ - [2025/10/04] 🎉 Our paper, LIBERO-Pro: Towards Robust and Fair Evaluation of Vision-Language-Action Models Beyond Memorization is now available on arXiv: [Paper](https://arxiv.org/pdf/2510.03827)
40
+
41
+ ## 🌟 Follow Us
42
+ We are committed to continuously improving **LIBERO-Pro** based on your feedback. Our goal is to establish a fair and simple evaluation environment for Vision-Language-Action (VLA) models. Your input is invaluable in helping us achieve this goal!
43
+
44
+ ---
45
+
46
+ ## 🔍 Motivation
47
+ Recent VLA models have demonstrated impressive performance on known tasks; however, our observations suggest that such success largely stems from mechanical memorization of training scenarios rather than genuine acquisition of transferable task-solving strategies.
48
+
49
+
50
+ | **Model** | **Goal** | **P1** | **P2** | **Spatial** | **P1** | **P2** | **10** | **P1** | **P2** | **Object** | **P1** | **P2** |
51
+ |:----------|:--------------------:|:----------------:|:--------------------:|:-----------------------:|:------------------:|:-----------------------:|:------------------:|:---------------:|:-------------------:|:----------------------:|:------------------:|:----------------------:|
52
+ | **OpenVLA** | ![](https://img.shields.io/badge/0.98-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.95-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.93-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.99-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) |
53
+ | **Pi0** | ![](https://img.shields.io/badge/0.92-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.90-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.82-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.98-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) |
54
+ | **Pi0.5** | ![](https://img.shields.io/badge/0.97-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.4-green) | ![](https://img.shields.io/badge/0.96-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.2-green) | ![](https://img.shields.io/badge/0.93-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.1-green) | ![](https://img.shields.io/badge/0.98-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.2-green) |
55
+ | **UniVLA** | ![](https://img.shields.io/badge/0.89-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.1-green) | ![](https://img.shields.io/badge/0.85-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.1-green) | ![](https://img.shields.io/badge/0.61-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) | ![](https://img.shields.io/badge/0.98-blue) | ![](https://img.shields.io/badge/0.0-orange) | ![](https://img.shields.io/badge/0.0-green) |
56
+
57
+ > 🟦 **Original** 🟧 **+ P1: Task Perturbation** 🟩 **+ P2: Position Perturbation**
58
+ > 📉 *All models achieve >0.9 on original LIBERO tasks but collapse under LIBERO-PRO perturbations, showing poor true generalization.*
59
+
60
+ ---
61
+ ## 🌍 Fairer Environment
62
+ **LIBERO-Pro** calls for a more *rigorous, standardized, and transparent* approach to measuring generalization, helping the community move **beyond memorization and toward true understanding**.
63
+
64
+
65
+ ## ⚙️ Five Core Generalization Dimensions
66
+ <div align="center">
67
+
68
+ <table>
69
+ <thead>
70
+ <tr>
71
+ <th align="center">Dimension</th>
72
+ <th align="center">Description</th>
73
+ <th align="center">Example Evaluation</th>
74
+ </tr>
75
+ </thead>
76
+ <tbody>
77
+
78
+ <tr>
79
+ <td align="center"><b>Object</b></td>
80
+ <td align="center">Modifies object appearance, color, and scale to test adaptability to visual shifts.</td>
81
+ <td align="center">"red cup" → "yellow cup"</td>
82
+ </tr>
83
+
84
+ <tr>
85
+ <td align="center"><b>Position</b></td>
86
+ <td align="center">Relocates objects within feasible spatial bounds to evaluate the model’s adaptability to spatial position changes.</td>
87
+ <td align="center">Change the position of "cup" and "bowl"</td>
88
+ </tr>
89
+
90
+ <tr>
91
+ <td align="center"><b>Semantic</b></td>
92
+ <td align="center">Paraphrases natural language commands to probe linguistic robustness.</td>
93
+ <td align="center">"Grasp the mug" → "Pick up the cup"</td>
94
+ </tr>
95
+
96
+ <tr>
97
+ <td align="center"><b>Task</b></td>
98
+ <td align="center">Redefines task logic and target states to test procedural generalization.</td>
99
+ <td align="center">"Pick up the mug" → "Pick up the butter"</td>
100
+ </tr>
101
+
102
+ <tr>
103
+ <td align="center"><b>Environment</b></td>
104
+ <td align="center">Replaces working environments to evaluate cross-environment robustness.</td>
105
+ <td align="center">"Main table" → "Kitchen table"</td>
106
+ </tr>
107
+
108
+ </tbody>
109
+ </table>
110
+
111
+ </div>
112
+
113
+
114
+ > 🧩 These perturbations are **combinable and configurable** via YAML for scalable and controlled generalization studies.
115
+
116
+ ---
117
+
118
+ **Welcome to join our wechat discussion group, we will answer any questions in real time, and also welcome more in-depth academic discussion.**
119
+
120
+ <img src="https://github.com/Zxy-MLlab/LIBERO-OOD/blob/master/images/wechat.png" width="300">
121
+
122
+ ---
123
+
124
+ # Contents
125
+ - [Installation](#Installation)
126
+ - [Evaluation](#libero-pro-evaluation)
127
+ - [OpenVLA](#evaluation-on-openvla)
128
+ - [LeaderBoard](#-libero-pro-model-leaderboard)
129
+ - [Position Evaluation](#initial-position-perturbation-experiment)
130
+ - [Citation](#Citation)
131
+ - [License](#License)
132
+
133
+ ---
134
+
135
+ # Installation
136
+
137
+ Clone the official LIBERO-PRO repository by run:
138
+ ```bash
139
+ git clone https://github.com/Zxy-MLlab/LIBERO-PRO/
140
+ ```
141
+
142
+ LIBERO-PRO is developed based on the original LIBERO benchmark, so it uses the same runtime environment as LIBERO—no separate environment configuration for LIBERO-PRO is needed. You only need to install the environment in accordance with LIBERO’s official requirements, as shown below:
143
+
144
+ ```bash
145
+ conda create -n libero_pro python=3.8.13
146
+ conda activate libero_pro
147
+ git clone https://github.com/Zxy-MLlab/LIBERO-PRO.git
148
+ cd LIBERO-PRO
149
+ pip install -r requirements.txt
150
+ pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
151
+ pip install -e .
152
+ ```
153
+
154
+
155
+ ---
156
+
157
+ # LIBERO-Pro Evaluation
158
+
159
+ ## ⚡️ Quick Start
160
+ Follow the steps below to quickly set up and run **LIBERO-Pro** for your own evaluations.
161
+
162
+ 💡 **Note:**
163
+ To enable stable and fast parallel evaluation, we updated `libero/libero/benchmark/__init__.py` and `libero/libero/benchmark/libero_suite_task_map.py`. If you cloned the repo **before 2025/11/05**, please re-download and replace these two files.
164
+
165
+ ### 1️⃣ Download Required Files
166
+ First, download all `bddl_files` and `init_files` from our official Huggingface dataset: 👉 [LIBERO-Pro Dataset](https://huggingface.co/datasets/zhouxueyang/LIBERO-Pro)
167
+
168
+ ### 2️⃣ Move Files into LIBERO-Pro Structure
169
+ Move the downloaded files into the correct LIBERO-Pro directory structure:
170
+ ```
171
+ mv libero_data/bddl_files/* libero/libero/bddl_files/
172
+ mv libero_data/init_files/* libero/libero/init_files/
173
+ ```
174
+
175
+ ## 3️⃣ Configure Evaluation Settings
176
+ All evaluation parameters can be set in the file:
177
+ ```
178
+ evaluation_config.yaml
179
+ ```
180
+
181
+ In the this evaluation mode, only one perturbation type can be active at a time. To specify the desired perturbation, modify the corresponding field in the config file:
182
+ ```
183
+ use_swap: false
184
+ use_object: false
185
+ use_language: false
186
+ use_task: true
187
+ ```
188
+
189
+ ## Custom Evaluation (Optional)
190
+ To specify combined-type generalization evaluation, modify `evaluation_config.yaml` in your project directory.
191
+
192
+ | Parameter | Function |
193
+ | ----------------- | -------------------------------------------------------------------------------------- |
194
+ | use_environment | Enable/disable environment generalization evaluation |
195
+ | use_swap | Enable/disable position generalization evaluation |
196
+ | use_object | Enable/disable object generalization evaluation |
197
+ | use_language | Enable/disable semantic (language) generalization evaluation |
198
+ | use_task | Enable/disable task generalization evaluation |
199
+
200
+ *Note: task generalization (`use_task: true`) cannot be combined with others.*
201
+
202
+ ## Evaluation on OpenVLA
203
+ Below is a reference code snippet for conducting LIBERO-PRO generalization evaluation on OpenVLA. Please place LIBERO-PRO in the following directory:
204
+ ```
205
+ # 📁 openvla-oft-main
206
+ .
207
+ ├── .idea/
208
+ ├── experiments/
209
+ │ └── robot/
210
+ │ ├── aloha/
211
+ │ └── libero/
212
+ │ ├── experiments/
213
+ │ ├── LIBERO-PRO/ # our project
214
+ │ ├── libero_utils.py
215
+ │ ├── regenerate_libero_dataset.py
216
+ │ ├── run_libero_eval.py
217
+ │ ├── sample_libero_spatial_observation.pkl
218
+ │ ├── openvla_utils.py
219
+ │ └── robot_utils.py
220
+ ```
221
+ Before evaluating, modify the `run_libero_eval.py` to adapt to LIBERO-RPO:
222
+ ```
223
+ from LIBERO-PRO import perturbation
224
+
225
+ # Register for temporary evaluation tasks
226
+ class TaskSuite(str, Enum):
227
+ ...
228
+ LIBERO_GOAL_TEMP = "libero_goal_temp"
229
+ LIBERO_SPATIAL_TEMP = "libero_spatial_temp"
230
+ LIBERO_10_TEMP = "libero_10_temp"
231
+ LIBERO_OBJECT_TEMP = "libero_object_temp"
232
+ LIBERO_GOAL_LAN = "libero_goal_lan"
233
+ LIBERO_SPATIAL_LAN = "libero_spatial_lan"
234
+ LIBERO_10_LAN = "libero_10_lan"
235
+ LIBERO_OBJECT_LAN = "libero_object_lan"
236
+ LIBERO_GOAL_OBJECT = "libero_goal_object"
237
+ LIBERO_SPATIAL_OBJECT = "libero_spatial_object"
238
+ LIBERO_10_OBJECT = "libero_10_object"
239
+ LIBERO_OBJECT_OBJECT = "libero_object_object"
240
+ LIBERO_GOAL_SWAP = "libero_goal_swap"
241
+ LIBERO_SPATIAL_SWAP = "libero_spatial_swap"
242
+ LIBERO_10_SWAP = "libero_10_swap"
243
+ LIBERO_OBJECT_SWAP = "libero_object_swap"
244
+ LIBERO_GOAL_TASK = "libero_goal_task"
245
+ LIBERO_SPATIAL_TASK = "libero_spatial_task"
246
+ LIBERO_10_TASK = "libero_10_task"
247
+ LIBERO_OBJECT_TASK = "libero_object_task"
248
+ LIBERO_GOAL_ENV = "libero_goal_env"
249
+ LIBERO_SPATIAL_ENV = "libero_spatial_env"
250
+ LIBERO_10_ENV = "libero_10_env"
251
+ LIBERO_OBJECT_ENV = "libero_object_env"
252
+
253
+ TASK_MAX_STEPS = {
254
+ ...
255
+ TaskSuite.LIBERO_GOAL_TEMP: 300,
256
+ TaskSuite.LIBERO_SPATIAL_TEMP: 220,
257
+ TaskSuite.LIBERO_10_TEMP: 520,
258
+ TaskSuite.LIBERO_OBJECT_TEMP: 280,
259
+ TaskSuite.LIBERO_GOAL_LAN: 300,
260
+ TaskSuite.LIBERO_SPATIAL_LAN: 220,
261
+ TaskSuite.LIBERO_10_LAN: 520,
262
+ TaskSuite.LIBERO_OBJECT_LAN: 280,
263
+ TaskSuite.LIBERO_GOAL_OBJECT: 300,
264
+ TaskSuite.LIBERO_SPATIAL_OBJECT: 220,
265
+ TaskSuite.LIBERO_10_OBJECT: 520,
266
+ TaskSuite.LIBERO_OBJECT_OBJECT: 280,
267
+ TaskSuite.LIBERO_GOAL_SWAP: 300,
268
+ TaskSuite.LIBERO_SPATIAL_SWAP: 220,
269
+ TaskSuite.LIBERO_10_SWAP: 520,
270
+ TaskSuite.LIBERO_OBJECT_SWAP: 280,
271
+ TaskSuite.LIBERO_GOAL_TASK: 300,
272
+ TaskSuite.LIBERO_SPATIAL_TASK: 220,
273
+ TaskSuite.LIBERO_10_TASK: 520,
274
+ TaskSuite.LIBERO_OBJECT_TASK: 280,
275
+ TaskSuite.LIBERO_GOAL_ENV: 300,
276
+ TaskSuite.LIBERO_SPATIAL_ENV: 220,
277
+ TaskSuite.LIBERO_10_ENV: 520,
278
+ TaskSuite.LIBERO_OBJECT_ENV: 280,
279
+ }
280
+
281
+ # Modify this line
282
+ def check_unnorm_key(cfg: GenerateConfig, model) -> None:
283
+ ...
284
+ unnorm_key = cfg.unnorm_key
285
+ ...
286
+
287
+ # Modify this line
288
+ def eval_libero(cfg: GenerateConfig) -> float:
289
+ ...
290
+ with open(cfg.evaluation_config_path, "r", encoding="utf-8") as f:
291
+ evaluation_cfg = yaml.safe_load(f)
292
+
293
+ evaluation_cfg["bddl_files_path"] = evaluation_cfg.get("bddl_files_path", "") + "/" + cfg.task_suite_name
294
+ evaluation_cfg["task_suite_name"] = cfg.task_suite_name
295
+
296
+ use_swap = evaluation_cfg.get("use_swap", False)
297
+ use_object = evaluation_cfg.get("use_object", False)
298
+ use_language = evaluation_cfg.get("use_language", False)
299
+ use_task = evaluation_cfg.get("use_task", False)
300
+ use_environment = evaluation_cfg.get("use_environment", False)
301
+
302
+ # Step 1: Check if only one of the use_xxx flags is True
303
+ if sum([use_swap, use_object, use_language, use_task, use_environment]) > 1:
304
+ # If more than one flag is True, use the temp environment
305
+ bddl_file_path = evaluation_cfg.get("bddl_files_path", "") + cfg.task_suite_name + "_temp/"
306
+
307
+ init_file_path = evaluation_cfg.get("init_file_dir", "") + cfg.task_suite_name + "_temp/"
308
+
309
+ # Check if the directories exist and the log.txt file contents match
310
+ if not os.path.exists(bddl_file_path) or not os.path.exists(init_file_path):
311
+ # If directories don't exist, create them and the log.txt file
312
+ os.makedirs(init_file_path, exist_ok=True)
313
+ os.makedirs(bddl_file_path, exist_ok=True)
314
+
315
+ # Create the log.txt dynamically based on current flag values
316
+ log_content = f"{use_swap},{use_object},{use_language},{use_task},{use_environment}"
317
+ with open(os.path.join(bddl_file_path, "log.txt"), "w") as log_file:
318
+ log_file.write(log_content) # Write the dynamic state to the log file
319
+
320
+ perturbation.create_env(configs=evaluation_cfg)
321
+ else:
322
+ # If directories exist, check the contents of the log.txt file
323
+ with open(os.path.join(bddl_file_path, "log.txt"), "r") as log_file:
324
+ log_contents = log_file.read().strip()
325
+
326
+ # Define the expected log content based on the current flags
327
+ expected_log = f"{use_swap},{use_object},{use_language},{use_task},{use_environment}"
328
+
329
+ # If the log contents don't match, clean up and recreate the environment
330
+ if log_contents != expected_log:
331
+ # Remove existing files in both directories
332
+ for folder in [bddl_file_path, init_file_path]:
333
+ for root, dirs, files in os.walk(folder, topdown=False):
334
+ for name in files:
335
+ os.remove(os.path.join(root, name))
336
+ for name in dirs:
337
+ os.rmdir(os.path.join(root, name))
338
+ # Create the environment again
339
+ os.makedirs(init_file_path, exist_ok=True)
340
+ os.makedirs(bddl_file_path, exist_ok=True)
341
+
342
+ # Write the updated log content based on current flags
343
+ with open(os.path.join(bddl_file_path, "log.txt"), "w") as log_file:
344
+ log_file.write(expected_log) # Write the updated log
345
+
346
+ perturbation.create_env(configs=evaluation_cfg)
347
+
348
+ # Update task_suite_name with "_temp" suffix
349
+ cfg.task_suite_name = cfg.task_suite_name + "_temp"
350
+
351
+ # Step 2: Handle the case when only one use_xxx flag is True
352
+ else:
353
+ if use_swap:
354
+ perturb_key = "use_swap"
355
+ elif use_object:
356
+ perturb_key = "use_object"
357
+ elif use_language:
358
+ perturb_key = "use_language"
359
+ elif use_task:
360
+ perturb_key = "use_task"
361
+ elif use_environment:
362
+ perturb_key = "use_environment"
363
+
364
+ init_file_path = evaluation_cfg.get("init_file_dir", "") + cfg.task_suite_name + "_" + evaluation_cfg.get(
365
+ "perturbation_mapping", {}).get(perturb_key, "")
366
+
367
+ if not os.path.exists(init_file_path):
368
+ perturbation.create_env(configs=evaluation_cfg)
369
+
370
+ cfg.task_suite_name = cfg.task_suite_name + "_" + evaluation_cfg.get("perturbation_mapping", {}).get(perturb_key, "")
371
+ ...
372
+ ```
373
+
374
+
375
+ Note!!! For unknown reasons, in some cases replacing the environment will cause the objects on the table to move randomly. After many tests, replacing the environment with 'main_table' works and we are actively in contact with the authors of LIBERO to fix this issue.
376
+
377
+
378
+ ## 🏆 LIBERO-Pro Model Leaderboard
379
+
380
+ The following table summarizes model performance under **five generalization perturbations** in LIBERO-Pro. Each cell represents the normalized success rate (**0.00–1.00**).
381
+
382
+ <table align="center">
383
+ <thead>
384
+ <tr>
385
+ <th rowspan="2" align="left">Model</th>
386
+ <th colspan="5" align="center">LIBERO-Goal</th>
387
+ <th colspan="5" align="center">LIBERO-Spatial</th>
388
+ <th colspan="5" align="center">LIBERO-10</th>
389
+ <th colspan="5" align="center">LIBERO-Object</th>
390
+ <th rowspan="2" align="center">Total</th>
391
+ </tr>
392
+ <tr>
393
+ <th align="center">Obj</th>
394
+ <th align="center">Pos</th>
395
+ <th align="center">Sem</th>
396
+ <th align="center">Task</th>
397
+ <th align="center">Env</th>
398
+ <th align="center">Obj</th>
399
+ <th align="center">Pos</th>
400
+ <th align="center">Sem</th>
401
+ <th align="center">Task</th>
402
+ <th align="center">Env</th>
403
+ <th align="center">Obj</th>
404
+ <th align="center">Pos</th>
405
+ <th align="center">Sem</th>
406
+ <th align="center">Task</th>
407
+ <th align="center">Env</th>
408
+ <th align="center">Obj</th>
409
+ <th align="center">Pos</th>
410
+ <th align="center">Sem</th>
411
+ <th align="center">Task</th>
412
+ <th align="center">Env</th>
413
+ </tr>
414
+ </thead>
415
+ <tbody>
416
+
417
+ <tr>
418
+ <td><b>OpenVLA</b></td>
419
+ <td align="center" style="background-color:#f08080;">0.96</td>
420
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
421
+ <td align="center" style="background-color:#ffd6cc;">0.98</td>
422
+ <td align="center" style="background-color:#ff9999;">0.00</td>
423
+ <td align="center" style="background-color:#ffc2b3;">0.98</td>
424
+ <td align="center" style="background-color:#f08080;">0.97</td>
425
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
426
+ <td align="center" style="background-color:#ffd6cc;">0.97</td>
427
+ <td align="center" style="background-color:#ff9999;">0.00</td>
428
+ <td align="center" style="background-color:#ffc2b3;">0.89</td>
429
+ <td align="center" style="background-color:#f08080;">0.81</td>
430
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
431
+ <td align="center" style="background-color:#ffd6cc;">0.96</td>
432
+ <td align="center" style="background-color:#ff9999;">0.00</td>
433
+ <td align="center" style="background-color:#ffc2b3;">0.85</td>
434
+ <td align="center" style="background-color:#f08080;">0.98</td>
435
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
436
+ <td align="center" style="background-color:#ffd6cc;">0.98</td>
437
+ <td align="center" style="background-color:#ff9999;">0.00</td>
438
+ <td align="center" style="background-color:#ffc2b3;">0.00</td>
439
+ <td align="center" style="background-color:#e8f0fa;"><b>0.52</b></td>
440
+ </tr>
441
+
442
+ <tr>
443
+ <td><b>Pi0</b></td>
444
+ <td align="center" style="background-color:#f28c8c;">0.94</td>
445
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
446
+ <td align="center" style="background-color:#ffddcc;">0.93</td>
447
+ <td align="center" style="background-color:#ffb3b3;">0.00</td>
448
+ <td align="center" style="background-color:#ffc6b3;">0.39</td>
449
+ <td align="center" style="background-color:#f28c8c;">0.95</td>
450
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
451
+ <td align="center" style="background-color:#ffddcc;">0.97</td>
452
+ <td align="center" style="background-color:#ffb3b3;">0.00</td>
453
+ <td align="center" style="background-color:#ffc6b3;">0.60</td>
454
+ <td align="center" style="background-color:#f28c8c;">0.79</td>
455
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
456
+ <td align="center" style="background-color:#ffddcc;">0.82</td>
457
+ <td align="center" style="background-color:#ffb3b3;">0.00</td>
458
+ <td align="center" style="background-color:#ffc6b3;">0.27</td>
459
+ <td align="center" style="background-color:#f28c8c;">0.94</td>
460
+ <td align="center" style="background-color:#ffcccc;">0.00</td>
461
+ <td align="center" style="background-color:#ffddcc;">0.90</td>
462
+ <td align="center" style="background-color:#ffb3b3;">0.00</td>
463
+ <td align="center" style="background-color:#ffc6b3;">0.29</td>
464
+ <td align="center" style="background-color:#e8f0fa;"><b>0.44</b></td>
465
+ </tr>
466
+
467
+ <tr>
468
+ <td><b>Pi0.5</b></td>
469
+ <td align="center" style="background-color:#f29c9c;">0.97</td>
470
+ <td align="center" style="background-color:#ffdddd;">0.38</td>
471
+ <td align="center" style="background-color:#ffe6cc;">0.97</td>
472
+ <td align="center" style="background-color:#ffc6b3;">0.00</td>
473
+ <td align="center" style="background-color:#ffd9b3;">0.46</td>
474
+ <td align="center" style="background-color:#f29c9c;">0.97</td>
475
+ <td align="center" style="background-color:#ffdddd;">0.20</td>
476
+ <td align="center" style="background-color:#ffe6cc;">0.97</td>
477
+ <td align="center" style="background-color:#ffc6b3;">0.01</td>
478
+ <td align="center" style="background-color:#ffd9b3;">0.46</td>
479
+ <td align="center" style="background-color:#f29c9c;">0.92</td>
480
+ <td align="center" style="background-color:#ffdddd;">0.08</td>
481
+ <td align="center" style="background-color:#ffe6cc;">0.93</td>
482
+ <td align="center" style="background-color:#ffc6b3;">0.01</td>
483
+ <td align="center" style="background-color:#ffd9b3;">0.46</td>
484
+ <td align="center" style="background-color:#f29c9c;">0.98</td>
485
+ <td align="center" style="background-color:#ffdddd;">0.17</td>
486
+ <td align="center" style="background-color:#ffe6cc;">0.96</td>
487
+ <td align="center" style="background-color:#ffc6b3;">0.01</td>
488
+ <td align="center" style="background-color:#ffd9b3;">0.73</td>
489
+ <td align="center" style="background-color:#e0f5e0;"><b>0.53</b></td>
490
+ </tr>
491
+
492
+
493
+ <tr>
494
+ <td><b>Molmoact</b></td>
495
+
496
+ <!-- LIBERO-Goal -->
497
+ <td align="center">0.68</td>
498
+ <td align="center">0.00</td>
499
+ <td align="center">0.85</td>
500
+ <td align="center">0.00</td>
501
+ <td align="center">-</td>
502
+
503
+ <!-- LIBERO-Spatial -->
504
+ <td align="center">0.90</td>
505
+ <td align="center">0.00</td>
506
+ <td align="center">0.88</td>
507
+ <td align="center">0.00</td>
508
+ <td align="center">-</td>
509
+
510
+ <!-- LIBERO-10 -->
511
+ <td align="center">0.54</td>
512
+ <td align="center">0.00</td>
513
+ <td align="center">0.74</td>
514
+ <td align="center">0.06</td>
515
+ <td align="center">-</td>
516
+
517
+ <!-- LIBERO-Object -->
518
+ <td align="center">0.92</td>
519
+ <td align="center">0.06</td>
520
+ <td align="center">0.96</td>
521
+ <td align="center">0.00</td>
522
+ <td align="center">-</td>
523
+
524
+ <!-- Total (均值,可选) -->
525
+ <td align="center"><b>0.41</b></td>
526
+ </tr>
527
+
528
+ <tr>
529
+ <td><b>NORA</b></td>
530
+
531
+ <!-- LIBERO-Goal -->
532
+ <td align="center">0.58</td>
533
+ <td align="center">0.00</td>
534
+ <td align="center">0.88</td>
535
+ <td align="center">0.00</td>
536
+ <td align="center">-</td>
537
+
538
+ <!-- LIBERO-Spatial -->
539
+ <td align="center">0.92</td>
540
+ <td align="center">0.00</td>
541
+ <td align="center">0.91</td>
542
+ <td align="center">0.00</td>
543
+ <td align="center">-</td>
544
+
545
+ <!-- LIBERO-10 -->
546
+ <td align="center">0.46</td>
547
+ <td align="center">0.00</td>
548
+ <td align="center">0.74</td>
549
+ <td align="center">0.00</td>
550
+ <td align="center">-</td>
551
+
552
+ <!-- LIBERO-Object -->
553
+ <td align="center">0.86</td>
554
+ <td align="center">0.00</td>
555
+ <td align="center">0.92</td>
556
+ <td align="center">0.00</td>
557
+ <td align="center">-</td>
558
+
559
+ <!-- Total -->
560
+ <td align="center"><b>0.40</b></td>
561
+ </tr>
562
+
563
+ <tr>
564
+ <td><b>x-VLA</b></td>
565
+
566
+ <!-- LIBERO-Goal -->
567
+ <td align="center">0.68</td>
568
+ <td align="center">0.01</td>
569
+ <td align="center">0.98</td>
570
+ <td align="center">0.09</td>
571
+ <td align="center">-</td>
572
+
573
+ <!-- LIBERO-Spatial -->
574
+ <td align="center">0.97</td>
575
+ <td align="center">0.00</td>
576
+ <td align="center">0.96</td>
577
+ <td align="center">0.00</td>
578
+ <td align="center">-</td>
579
+
580
+ <!-- LIBERO-10 -->
581
+ <td align="center">0.62</td>
582
+ <td align="center">0.00</td>
583
+ <td align="center">0.95</td>
584
+ <td align="center">0.10</td>
585
+ <td align="center">-</td>
586
+
587
+ <!-- LIBERO-Object -->
588
+ <td align="center">0.89</td>
589
+ <td align="center">0.02</td>
590
+ <td align="center">0.98</td>
591
+ <td align="center">0.08</td>
592
+ <td align="center">-</td>
593
+
594
+ <!-- Total -->
595
+ <td align="center"><b>0.46</b></td>
596
+ </tr>
597
+
598
+ </tbody>
599
+ </table>
600
+
601
+ ✅ *We will continue to expand the LIBERO-PRO leaderboard with new model evaluations. Researchers are warmly invited to use LIBERO-PRO to assess their Vision-Language-Action (VLA) models and share the results with us for inclusion in the official online leaderboard.*
602
+
603
+ # Initial Position Perturbation Experiment
604
+
605
+ This guide provides a step-by-step procedure for reproducing the **Object Position Perturbation Evaluation** and replicating the results shown in **Figure 6** of the paper.
606
+
607
+ > 💡 We have pre-packaged all necessary `.init` and `.bddl` files required for evaluation. You can easily reproduce the experiment by following the steps below.
608
+
609
+ ---
610
+
611
+ ## 🚀 **Quick Start**
612
+
613
+ ### **1️⃣ Prepare the BDDL Files**
614
+
615
+ Execute the following commands to set up the perturbed BDDL configuration:
616
+
617
+ ```bash
618
+ # Navigate to the BDDL directory
619
+ cd libero/libero/bddl_files/
620
+
621
+ # Create a new folder for the perturbation experiment
622
+ mkdir -p libero_object_temp
623
+
624
+ # Copy the target perturbation configuration (e.g., x0.1)
625
+ cp -r libero_object_temp_x0.1/* libero_object_temp/
626
+ ```
627
+
628
+ > 🧩 This creates the `libero_object_temp` directory containing all `.bddl` files required for the **object position perturbation** experiment.
629
+
630
+ ---
631
+
632
+ ### **2️⃣ Prepare the Initialization Files**
633
+
634
+ Similarly, set up the initialization configuration directory:
635
+
636
+ ```bash
637
+ # Navigate to the initialization directory
638
+ cd libero/libero/init_files/
639
+
640
+ # Create a matching subdirectory
641
+ mkdir -p libero_object_temp
642
+
643
+ # Copy the initialization configuration (e.g., x0.1)
644
+ cp -r libero_object_temp_x0.1/* libero_object_temp/
645
+ ```
646
+
647
+ > 💡 Ensure that both `bddl_files` and `init_files` share consistent naming conventions (e.g., `libero_object_temp_x0.1` → `libero_object_temp`).
648
+
649
+ ---
650
+
651
+ ### **3️⃣ Configure Perturbation Intensity (Optional)**
652
+
653
+ You can adjust the perturbation intensity based on your experimental requirements.
654
+ The following levels are supported:
655
+
656
+ | **Perturbation Axis** | **Available Levels** | **Description** |
657
+ |------------------------|----------------------|-----------------|
658
+ | **X-axis Perturbation** | `x0.1`, `x0.2`, `x0.3`, `x0.4`, `x0.5` | Object translation along the X-axis |
659
+ | **Y-axis Perturbation** | `y0.1`, `y0.2`, `y0.3`, `y0.4`, `y0.5` | Object translation along the Y-axis |
660
+
661
+ Example: to test a specific perturbation level, simply copy the corresponding configuration:
662
+
663
+ ```bash
664
+ # Example: apply perturbation magnitude x0.3
665
+ cp -r libero_object_temp_x0.3/* libero_object_temp/
666
+
667
+ # Example: apply perturbation magnitude y0.5
668
+ cp -r libero_object_temp_y0.5/* libero_object_temp/
669
+ ```
670
+
671
+ > ⚙️ Modify the perturbation axis and magnitude to simulate different spatial displacement conditions.
672
+
673
+ ---
674
+
675
+ ### **4️⃣ Run the Evaluation**
676
+
677
+ Using **OpenVLA** as an example, execute the following command to perform the evaluation:
678
+
679
+ ```bash
680
+ # Navigate to the project root
681
+ cd libero/
682
+
683
+ # Run the perturbation evaluation
684
+ python run_libero_eval.py
685
+ ```
686
+
687
+ > The script automatically detects and loads perturbation data from `libero/libero/bddl_files/libero_object_temp/` and `libero/libero/init_files/libero_object_temp/`.
688
+
689
+ ---
690
+
691
+ # Citation
692
+
693
+ If you use LIBERO-PRO in your research, please cite both **LIBERO** and **LIBERO-PRO**:
694
+
695
+ ```bibtex
696
+ @article{liu2023libero,
697
+ title={LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning},
698
+ author={Liu, Bo and Zhu, Yifeng and Gao, Chongkai and Feng, Yihao and Liu, Qiang and Zhu, Yuke and Stone, Peter},
699
+ journal={arXiv preprint arXiv:2306.03310},
700
+ year={2023}
701
+ }
702
+
703
+ @article{zhou2025liberopro,
704
+ title={LIBERO-PRO: Towards Robust and Fair Evaluation of Vision-Language-Action Models Beyond Memorization},
705
+ author={Xueyang Zhou and Yangming Xu and Guiyao Tie and Yongchao Chen and Guowen Zhang and Duanfeng Chu and Pan Zhou and Lichao Sun},
706
+ journal={[arXiv preprint arXiv:2510.03827]},
707
+ year={2025},
708
+ publisher={[Publisher]} / eprint={[arXiv ID]}
709
+ }
710
+ ```
711
+
712
+ ---
713
+
714
+ # License
715
+
716
+ | Component | License |
717
+ |------------------|-------------------------------------------------------------------------------------------------------------------------------------|
718
+ | Codebase | [MIT License](LICENSE) |
719
+ | Datasets | [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/legalcode) |
720
+
721
+ ---
722
+
723
+ <div align="center">
724
+
725
+ 💡 *LIBERO-Pro — advancing the frontier of robust and fair generalization evaluation for Vision-Language-Action Models.*
726
+
727
+ </div>
eval/vendored/LIBERO-PRO/benchmark_scripts/check_task_suites.py ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ This script is to test if users can successfully load all the environments, the benchmark initial states in their machines
3
+ """
4
+ import os
5
+ from termcolor import colored
6
+ import cv2
7
+ import h5py
8
+ import subprocess
9
+ import shutil
10
+ import numpy as np
11
+
12
+ from pathlib import Path
13
+
14
+ # import init_path
15
+ from libero.libero import benchmark, get_libero_path
16
+
17
+
18
+ # def render_task(task, bddl_file, init_states, demo_file):
19
+ # env_args = {
20
+ # "bddl_file_name": bddl_file,
21
+ # "camera_heights": 128,
22
+ # "camera_widths": 128
23
+ # }
24
+
25
+ # env = OffScreenRenderEnv(**env_args)
26
+ # env.reset()
27
+ # obs = env.set_init_state(init_states[0])
28
+ # for _ in range(5):
29
+ # obs, _, _, _ = env.step([0.] * 7)
30
+ # images = [obs["agentview_image"]]
31
+
32
+ # with h5py.File(demo_file, "r") as f:
33
+ # states = f["data/demo_0/states"][()]
34
+ # obs = env.set_init_state(states[-1])
35
+
36
+ # images.append(obs["agentview_image"])
37
+ # images = np.concatenate(images, axis=1)
38
+ # cv2.imwrite(f"benchmark_tasks/{task.problem}-{task.language}.png", images[::-1, :, ::-1])
39
+ # env.close()
40
+
41
+
42
+ def main():
43
+
44
+ benchmark_root_path = get_libero_path("benchmark_root")
45
+ init_states_default_path = get_libero_path("init_states")
46
+ datasets_default_path = get_libero_path("datasets")
47
+ bddl_files_default_path = get_libero_path("bddl_files")
48
+
49
+ # Check all the files
50
+ task_tuples = []
51
+ demo_files = []
52
+ for benchmark_name in [
53
+ "libero_object",
54
+ "libero_goal",
55
+ "libero_spatial",
56
+ "libero_10",
57
+ "libero_90",
58
+ ]:
59
+ benchmark_instance = benchmark.get_benchmark_dict()[benchmark_name]()
60
+ num_tasks = benchmark_instance.get_num_tasks()
61
+ # see how many tasks involved in the benchmark
62
+ print(f"{num_tasks} tasks in the benchmark {benchmark_instance.name}: ")
63
+
64
+ # Check if all the task names and their bddl file names
65
+ task_names = benchmark_instance.get_task_names()
66
+ print("The benchmark contains the following tasks:")
67
+ for task_id in range(num_tasks):
68
+ task_name = task_names[task_id]
69
+ task = benchmark_instance.get_task(task_id)
70
+ bddl_file = os.path.join(
71
+ bddl_files_default_path, task.problem_folder, task.bddl_file
72
+ )
73
+ assert os.path.exists(bddl_file), f"{bddl_file} does not exist!"
74
+ init_states_path = os.path.join(
75
+ init_states_default_path, task.problem_folder, task.init_states_file
76
+ )
77
+ assert os.path.exists(
78
+ init_states_path
79
+ ), f"{init_states_path} does not exist!"
80
+ demo_file = os.path.join(
81
+ datasets_default_path,
82
+ benchmark_instance.get_task_demonstration(task_id),
83
+ )
84
+ assert os.path.exists(demo_file), f"{demo_file} does not exist!"
85
+ init_states = benchmark_instance.get_task_init_states(task_id)
86
+ task_tuples.append((benchmark_name, task_id, bddl_file, demo_file))
87
+ demo_files.append(demo_file)
88
+
89
+ print(colored("All the files exist!", "green"))
90
+ processes = []
91
+ if os.path.exists("benchmark_tasks"):
92
+ shutil.rmtree("benchmark_tasks")
93
+
94
+ for i in range(len(task_tuples)):
95
+ command = f"python benchmark_scripts/render_single_task.py --benchmark_name {task_tuples[i][0]} --task_id {task_tuples[i][1]} --bddl_file {task_tuples[i][2]} --demo_file {task_tuples[i][3]}"
96
+ p = subprocess.Popen(command, shell=True)
97
+ processes.append(p)
98
+ if i % 10 == 9:
99
+ for p in processes:
100
+ p.wait()
101
+ processes = []
102
+
103
+ count = len(list(Path("benchmark_tasks").glob("*.png")))
104
+ print(f"Expected 130 tasks, Rendered {count} tasks successfully.")
105
+ if count < 130:
106
+ print(colored("Some tasks failed to render!", "red"))
107
+ for demo_file in demo_files:
108
+ if not os.path.exists(
109
+ os.path.join(
110
+ "benchmark_tasks", demo_file.split("/")[-1].replace(".hdf5", ".png")
111
+ )
112
+ ):
113
+ print(demo_file)
114
+
115
+
116
+ if __name__ == "__main__":
117
+ main()
eval/vendored/LIBERO-PRO/benchmark_scripts/download_libero_datasets.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import init_path
2
+ import argparse
3
+ import os
4
+ import time
5
+
6
+ import libero.libero.utils.download_utils as download_utils
7
+ from libero.libero import get_libero_path
8
+
9
+
10
+ def parse_args():
11
+ parser = argparse.ArgumentParser()
12
+ parser.add_argument(
13
+ "--download-dir",
14
+ type=str,
15
+ default=get_libero_path("datasets"),
16
+ )
17
+ parser.add_argument(
18
+ "--datasets",
19
+ type=str,
20
+ choices=["all", "libero_goal", "libero_spatial", "libero_object", "libero_100"],
21
+ default="all",
22
+ )
23
+ parser.add_argument(
24
+ "--use-huggingface",
25
+ action="store_true",
26
+ help="Use Hugging Face instead of original download links"
27
+ )
28
+ return parser.parse_args()
29
+
30
+
31
+ def main():
32
+
33
+ args = parse_args()
34
+
35
+ # Ask users to specify the download directory of datasets
36
+ os.makedirs(args.download_dir, exist_ok=True)
37
+ print(f"Datasets downloaded to {args.download_dir}")
38
+ print(f"Downloading {args.datasets} datasets")
39
+
40
+ if args.use_huggingface:
41
+ print("Using Hugging Face as the download source")
42
+ else:
43
+ print("Using original download links (note: these may expire soon)")
44
+ input_str = input("Download from original links may lead to failures. Do you want to continue? (y/n): ")
45
+ if input_str.lower() != 'y':
46
+ print("Switching to Hugging Face as the download source...")
47
+ args.use_huggingface = True
48
+
49
+ # If not, download
50
+ download_utils.libero_dataset_download(
51
+ download_dir=args.download_dir,
52
+ datasets=args.datasets,
53
+ use_huggingface=args.use_huggingface
54
+ )
55
+
56
+
57
+ # wait for 1 second
58
+ time.sleep(1)
59
+ print("\n\n\n")
60
+
61
+ # Check if datasets exist first
62
+ download_utils.check_libero_dataset(download_dir=args.download_dir)
63
+
64
+
65
+ if __name__ == "__main__":
66
+ main()
eval/vendored/LIBERO-PRO/benchmark_scripts/init_path.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ import os
3
+
4
+ path = os.path.dirname(os.path.realpath(__file__))
5
+ sys.path.insert(0, os.path.join(path, "../"))
6
+
7
+ # import robosuite.utils.macros as macros
8
+ # macros.IMAGE_CONVENTION = "opencv"
eval/vendored/LIBERO-PRO/benchmark_scripts/render_single_task.py ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from termcolor import colored
3
+ import cv2
4
+ import h5py
5
+ import argparse
6
+ import numpy as np
7
+
8
+ from libero.libero.envs import OffScreenRenderEnv
9
+ from libero.libero import benchmark, get_libero_path
10
+
11
+
12
+ def render_task(task, bddl_file, init_states, demo_file):
13
+ env_args = {
14
+ "bddl_file_name": bddl_file,
15
+ "camera_heights": 128,
16
+ "camera_widths": 128,
17
+ }
18
+
19
+ env = OffScreenRenderEnv(**env_args)
20
+ env.reset()
21
+ obs = env.set_init_state(init_states[0])
22
+ for _ in range(5):
23
+ obs, _, _, _ = env.step([0.0] * 7)
24
+ images = [obs["agentview_image"]]
25
+
26
+ with h5py.File(demo_file, "r") as f:
27
+ states = f["data/demo_0/states"][()]
28
+ obs = env.set_init_state(states[-1])
29
+
30
+ images.append(obs["agentview_image"])
31
+ images = np.concatenate(images, axis=1)
32
+ cv2.imwrite(
33
+ f"benchmark_tasks/{task.problem}-{task.language}.png", images[::-1, :, ::-1]
34
+ )
35
+ env.close()
36
+
37
+
38
+ def main():
39
+ parser = argparse.ArgumentParser()
40
+ parser.add_argument("--benchmark_name", type=str)
41
+ parser.add_argument("--task_id", type=int, default=0)
42
+ parser.add_argument("--bddl_file", type=str)
43
+ parser.add_argument("--demo_file", type=str)
44
+ args = parser.parse_args()
45
+
46
+ benchmark_name = args.benchmark_name
47
+ task_id = args.task_id
48
+ bddl_file = args.bddl_file
49
+ demo_file = args.demo_file
50
+
51
+ benchmark_instance = benchmark.get_benchmark_dict()[benchmark_name]()
52
+ env_args = {
53
+ "bddl_file_name": bddl_file,
54
+ "camera_heights": 128,
55
+ "camera_widths": 128,
56
+ }
57
+
58
+ os.makedirs("benchmark_tasks", exist_ok=True)
59
+
60
+ task = benchmark_instance.get_task(task_id)
61
+ init_states = benchmark_instance.get_task_init_states(task_id)
62
+
63
+ env = OffScreenRenderEnv(**env_args)
64
+ env.reset()
65
+ obs = env.set_init_state(init_states[0])
66
+ for _ in range(5):
67
+ obs, _, _, _ = env.step([0.0] * 7)
68
+ images = [obs["agentview_image"]]
69
+
70
+ with h5py.File(demo_file, "r") as f:
71
+ states = f["data/demo_0/states"][()]
72
+ obs = env.set_init_state(states[-1])
73
+
74
+ images.append(obs["agentview_image"])
75
+ images = np.concatenate(images, axis=1)
76
+ image_name = demo_file.split("/")[-1].replace(".hdf5", ".png")
77
+ cv2.imwrite(f"benchmark_tasks/{image_name}", images[::-1, :, ::-1])
78
+ env.close()
79
+
80
+
81
+ if __name__ == "__main__":
82
+ main()
eval/vendored/LIBERO-PRO/benchmark_scripts/shasum_files.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import hashlib
3
+ from pathlib import Path
4
+
5
+
6
+ def shasum_file(file_path):
7
+ if os.path.exists(file_path):
8
+ with open(file_path, "rb") as f:
9
+ data = f.read()
10
+ sha_hash = hashlib.sha1(data).hexdigest()
11
+ file_name = file_path.split("/")[-1]
12
+ return {file_name: sha_hash}
13
+ else:
14
+ return None
15
+
16
+
17
+ def shasum_datasets(download_dir="datasets"):
18
+ dataset_shasum = {}
19
+ for dataset_name in [
20
+ "libero_object",
21
+ "libero_goal",
22
+ "libero_spatial",
23
+ "libero_10",
24
+ "libero_90",
25
+ ]:
26
+ dataset_dir = os.path.join(download_dir, dataset_name)
27
+ if os.path.exists(dataset_dir):
28
+ count = 0
29
+ for path in Path(dataset_dir).glob("*.hdf5"):
30
+ count += 1
31
+ if not (
32
+ (count == 10 and dataset_name != "libero_90")
33
+ or (count == 90 and dataset_name == "libero_90")
34
+ ):
35
+ print("file count doesn't match")
36
+ else:
37
+ print("dataset not found")
38
+ for path in Path(dataset_dir).glob("*.hdf5"):
39
+ dataset_shasum.update(shasum_file(str(path)))
40
+ print(dataset_shasum)
41
+
42
+
43
+ # def shalsum_pretrained_models():
44
+
45
+
46
+ # def shalsum_pretrained_policies():
47
+
48
+
49
+ shasum_datasets()
eval/vendored/LIBERO-PRO/evaluation_config.yaml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ bddl_files_path: "./LIBERO-PRO/libero/libero/bddl_files/"
2
+ script_path: "./LIBERO-PRO/notebooks/generate_init_states.py"
3
+ init_file_dir: "./LIBERO-PRO/libero/libero/init_files/"
4
+
5
+ use_environment: true
6
+ use_swap: false
7
+ use_object: false
8
+ use_language: false
9
+ use_task: false
10
+
11
+ ood_task_configs:
12
+ environment: "./libero_ood/ood_environment.yaml"
13
+ swap: "./libero_ood/ood_spatial_relation.yaml"
14
+ object: "./libero_ood/ood_object.yaml"
15
+ language: "./libero_ood/ood_language.yaml"
16
+ task: "./libero_ood/ood_task.yaml"
17
+
18
+ perturbation_mapping:
19
+ use_environment: env
20
+ use_swap: swap
21
+ use_object: object
22
+ use_language: lan
23
+ use_task: task
eval/vendored/LIBERO-PRO/images/fig1.png ADDED

Git LFS Details

  • SHA256: 0afb7dc138345b00bb8a445ae92dd480e05f10e41c63a62e443c050f7cbc854d
  • Pointer size: 132 Bytes
  • Size of remote file: 2.65 MB
eval/vendored/LIBERO-PRO/images/libero_logo.png ADDED

Git LFS Details

  • SHA256: 67a651b76750c7633a8033875de3ff85f282426fa31b72bd86ebf40d721b4658
  • Pointer size: 130 Bytes
  • Size of remote file: 53.4 kB
eval/vendored/LIBERO-PRO/images/libero_ood.png ADDED

Git LFS Details

  • SHA256: 7cabe49c3b10eec1ba99dbd2fb3d31958ce12a9cb1d59fe6f888422d45c3148c
  • Pointer size: 132 Bytes
  • Size of remote file: 6.86 MB
eval/vendored/LIBERO-PRO/images/libero_ood_logo.png ADDED

Git LFS Details

  • SHA256: 32addb55f9914d1a6e5202c84e28f9aba38086497ee26298de8d98d5d7dc8257
  • Pointer size: 130 Bytes
  • Size of remote file: 26.1 kB
eval/vendored/LIBERO-PRO/images/liberopro-logo.png ADDED

Git LFS Details

  • SHA256: fc4e1a6bcc4eaff5ba2d624c11a739a6297444037b0bb609448481a175ac1a4a
  • Pointer size: 130 Bytes
  • Size of remote file: 71.1 kB
eval/vendored/LIBERO-PRO/images/liberopro_logo.pdf ADDED
Binary file (41 kB). View file
 
eval/vendored/LIBERO-PRO/images/liberopro_logo.png ADDED

Git LFS Details

  • SHA256: fc4e1a6bcc4eaff5ba2d624c11a739a6297444037b0bb609448481a175ac1a4a
  • Pointer size: 130 Bytes
  • Size of remote file: 71.1 kB
eval/vendored/LIBERO-PRO/images/main_figure.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b93e04fd81b03efd2a0eae5c35103b61317abc74121089223489036eeec34487
3
+ size 311543
eval/vendored/LIBERO-PRO/images/overall.png ADDED

Git LFS Details

  • SHA256: e26c06af05ff471adb7c876e9bab9a84740cd5c790afed2fd5edf60d10733784
  • Pointer size: 132 Bytes
  • Size of remote file: 1.95 MB
eval/vendored/LIBERO-PRO/images/wechat.png ADDED

Git LFS Details

  • SHA256: 446bf22835325765734b77dba1b87d0607d23d4a6b3d9bb82149f79a009a4e1a
  • Pointer size: 130 Bytes
  • Size of remote file: 55.8 kB
eval/vendored/LIBERO-PRO/libero/configs/__init__.py ADDED
File without changes
eval/vendored/LIBERO-PRO/libero/configs/config.yaml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @package _global_
2
+
3
+ defaults:
4
+ - _self_
5
+ - data: default
6
+ - policy: bc_transformer_policy
7
+ - train: default
8
+ - eval: default
9
+ - lifelong: base
10
+ - test: null
11
+
12
+ seed: 10000
13
+ use_wandb: false
14
+ wandb_project: "lifelong learning"
15
+ folder: null # use default path
16
+ bddl_folder: null # use default path
17
+ init_states_folder: null # use default path
18
+ load_previous_model: false
19
+ device: "cuda"
20
+ task_embedding_format: "bert"
21
+ task_embedding_one_hot_offset: 1
22
+ pretrain: false
23
+ pretrain_model_path: ""
24
+ benchmark_name: "LIBERO_SPATIAL"
eval/vendored/LIBERO-PRO/libero/configs/data/default.yaml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # observation related
2
+ data_modality:
3
+ - "image"
4
+ - "proprio"
5
+ seq_len: 10
6
+ frame_stack: 1
7
+ use_eye_in_hand: true
8
+ use_gripper: true
9
+ use_joint: true
10
+ use_ee: false
11
+
12
+ max_word_len: 25
13
+
14
+ state_dim: null
15
+ num_kp: 64
16
+ img_h: 128
17
+ img_w: 128
18
+
19
+ task_group_size: 1
20
+ task_order_index: 0
21
+ shuffle_task: false
22
+
23
+ obs:
24
+ modality:
25
+ rgb: ["agentview_rgb", "eye_in_hand_rgb"]
26
+ depth: []
27
+ low_dim: ["gripper_states", "joint_states"]
28
+
29
+ # mapping from obs.modality keys to robosuite environment observation keys
30
+ obs_key_mapping:
31
+ agentview_rgb: agentview_image
32
+ eye_in_hand_rgb: robot0_eye_in_hand_image
33
+ gripper_states: robot0_gripper_qpos
34
+ joint_states: robot0_joint_pos
35
+
36
+ # action related
37
+ affine_translate: 4
38
+ action_scale: 1.0
39
+ train_dataset_ratio: 0.8
eval/vendored/LIBERO-PRO/libero/configs/eval/default.yaml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ load_path: "" # only used when separately evaluating a pretrained model
2
+ eval: true
3
+ batch_size: 64
4
+ num_workers: 4
5
+ n_eval: 20
6
+ eval_every: 5
7
+ max_steps: 600
8
+ use_mp: true
9
+ num_procs: 20
10
+ save_sim_states: false
eval/vendored/LIBERO-PRO/libero/configs/lifelong/agem.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ algo: AGEM
2
+ n_memories: 1000
eval/vendored/LIBERO-PRO/libero/configs/lifelong/base.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ algo: Sequential
eval/vendored/LIBERO-PRO/libero/configs/lifelong/er.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ algo: ER
2
+ n_memories: 1000
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_butter_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the butter and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (-0.145 -0.265 -0.095 -0.215)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ butter_1 - butter
65
+ basket_1 - basket
66
+ tomato_sauce_1 - tomato_sauce
67
+ orange_juice_1 - orange_juice
68
+ chocolate_pudding_1 - chocolate_pudding
69
+ bbq_sauce_1 - bbq_sauce
70
+ ketchup_1 - ketchup
71
+ )
72
+
73
+ (:obj_of_interest
74
+ butter_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On butter_1 floor_target_object_region)
80
+ (On tomato_sauce_1 floor_other_object_region_0)
81
+ (On orange_juice_1 floor_other_object_region_1)
82
+ (On chocolate_pudding_1 floor_other_object_region_2)
83
+ (On bbq_sauce_1 floor_other_object_region_3)
84
+ (On ketchup_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In butter_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_chocolate_pudding_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the chocolate pudding and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (-0.145 -0.265 -0.095 -0.215)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ chocolate_pudding_1 - chocolate_pudding
65
+ basket_1 - basket
66
+ orange_juice_1 - orange_juice
67
+ bbq_sauce_1 - bbq_sauce
68
+ ketchup_1 - ketchup
69
+ salad_dressing_1 - salad_dressing
70
+ alphabet_soup_1 - alphabet_soup
71
+ )
72
+
73
+ (:obj_of_interest
74
+ chocolate_pudding_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On chocolate_pudding_1 floor_target_object_region)
80
+ (On orange_juice_1 floor_other_object_region_0)
81
+ (On bbq_sauce_1 floor_other_object_region_1)
82
+ (On ketchup_1 floor_other_object_region_2)
83
+ (On salad_dressing_1 floor_other_object_region_3)
84
+ (On alphabet_soup_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In chocolate_pudding_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_cream_cheese_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the cream cheese and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (-0.145 -0.265 -0.095 -0.215)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ cream_cheese_1 - cream_cheese
65
+ basket_1 - basket
66
+ alphabet_soup_1 - alphabet_soup
67
+ milk_1 - milk
68
+ tomato_sauce_1 - tomato_sauce
69
+ butter_1 - butter
70
+ orange_juice_1 - orange_juice
71
+ )
72
+
73
+ (:obj_of_interest
74
+ cream_cheese_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On cream_cheese_1 floor_target_object_region)
80
+ (On alphabet_soup_1 floor_other_object_region_0)
81
+ (On milk_1 floor_other_object_region_1)
82
+ (On tomato_sauce_1 floor_other_object_region_2)
83
+ (On butter_1 floor_other_object_region_3)
84
+ (On orange_juice_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In cream_cheese_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_ketchup_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the ketchup and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (-0.145 -0.265 -0.095 -0.215)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ ketchup_1 - ketchup
65
+ basket_1 - basket
66
+ bbq_sauce_1 - bbq_sauce
67
+ salad_dressing_1 - salad_dressing
68
+ alphabet_soup_1 - alphabet_soup
69
+ cream_cheese_1 - cream_cheese
70
+ milk_1 - milk
71
+ )
72
+
73
+ (:obj_of_interest
74
+ ketchup_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On ketchup_1 floor_target_object_region)
80
+ (On bbq_sauce_1 floor_other_object_region_0)
81
+ (On salad_dressing_1 floor_other_object_region_1)
82
+ (On alphabet_soup_1 floor_other_object_region_2)
83
+ (On cream_cheese_1 floor_other_object_region_3)
84
+ (On milk_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In ketchup_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_milk_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the milk and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (-0.145 -0.265 -0.095 -0.215)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ milk_1 - milk
65
+ basket_1 - basket
66
+ cream_cheese_1 - cream_cheese
67
+ tomato_sauce_1 - tomato_sauce
68
+ butter_1 - butter
69
+ orange_juice_1 - orange_juice
70
+ chocolate_pudding_1 - chocolate_pudding
71
+ )
72
+
73
+ (:obj_of_interest
74
+ milk_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On milk_1 floor_target_object_region)
80
+ (On cream_cheese_1 floor_other_object_region_0)
81
+ (On tomato_sauce_1 floor_other_object_region_1)
82
+ (On butter_1 floor_other_object_region_2)
83
+ (On orange_juice_1 floor_other_object_region_3)
84
+ (On chocolate_pudding_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In milk_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_orange_juice_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the orange juice and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (-0.145 -0.265 -0.095 -0.215)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ orange_juice_1 - orange_juice
65
+ basket_1 - basket
66
+ butter_1 - butter
67
+ chocolate_pudding_1 - chocolate_pudding
68
+ bbq_sauce_1 - bbq_sauce
69
+ ketchup_1 - ketchup
70
+ salad_dressing_1 - salad_dressing
71
+ )
72
+
73
+ (:obj_of_interest
74
+ orange_juice_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On orange_juice_1 floor_target_object_region)
80
+ (On butter_1 floor_other_object_region_0)
81
+ (On chocolate_pudding_1 floor_other_object_region_1)
82
+ (On bbq_sauce_1 floor_other_object_region_2)
83
+ (On ketchup_1 floor_other_object_region_3)
84
+ (On salad_dressing_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In orange_juice_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_salad_dressing_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the salad dressing and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (-0.145 -0.265 -0.095 -0.215)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ salad_dressing_1 - salad_dressing
65
+ basket_1 - basket
66
+ ketchup_1 - ketchup
67
+ alphabet_soup_1 - alphabet_soup
68
+ cream_cheese_1 - cream_cheese
69
+ milk_1 - milk
70
+ tomato_sauce_1 - tomato_sauce
71
+ )
72
+
73
+ (:obj_of_interest
74
+ salad_dressing_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On salad_dressing_1 floor_target_object_region)
80
+ (On ketchup_1 floor_other_object_region_0)
81
+ (On alphabet_soup_1 floor_other_object_region_1)
82
+ (On cream_cheese_1 floor_other_object_region_2)
83
+ (On milk_1 floor_other_object_region_3)
84
+ (On tomato_sauce_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In salad_dressing_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/pick_up_the_tomato_sauce_and_place_it_in_the_basket.bddl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Floor_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the tomato sauce and place it in the basket)
4
+ (:regions
5
+ (bin_region
6
+ (:target floor)
7
+ (:ranges (
8
+ (-0.01 0.25 0.01 0.27)
9
+ )
10
+ )
11
+ )
12
+ (target_object_region
13
+ (:target floor)
14
+ (:ranges (
15
+ (0.025 -0.125 0.07500000000000001 -0.07500000000000001)
16
+ )
17
+ )
18
+ )
19
+ (other_object_region_0
20
+ (:target floor)
21
+ (:ranges (
22
+ (-0.145 -0.265 -0.095 -0.215)
23
+ )
24
+ )
25
+ )
26
+ (other_object_region_1
27
+ (:target floor)
28
+ (:ranges (
29
+ (-0.175 0.034999999999999996 -0.125 0.08499999999999999)
30
+ )
31
+ )
32
+ )
33
+ (other_object_region_2
34
+ (:target floor)
35
+ (:ranges (
36
+ (0.07500000000000001 -0.225 0.125 -0.17500000000000002)
37
+ )
38
+ )
39
+ )
40
+ (other_object_region_3
41
+ (:target floor)
42
+ (:ranges (
43
+ (0.125 0.0049999999999999975 0.175 0.055)
44
+ )
45
+ )
46
+ )
47
+ (other_object_region_4
48
+ (:target floor)
49
+ (:ranges (
50
+ (-0.225 -0.10500000000000001 -0.17500000000000002 -0.055)
51
+ )
52
+ )
53
+ )
54
+ (contain_region
55
+ (:target basket_1)
56
+ )
57
+ )
58
+
59
+ (:fixtures
60
+ floor - floor
61
+ )
62
+
63
+ (:objects
64
+ tomato_sauce_1 - tomato_sauce
65
+ basket_1 - basket
66
+ milk_1 - milk
67
+ butter_1 - butter
68
+ orange_juice_1 - orange_juice
69
+ chocolate_pudding_1 - chocolate_pudding
70
+ bbq_sauce_1 - bbq_sauce
71
+ )
72
+
73
+ (:obj_of_interest
74
+ tomato_sauce_1
75
+ basket_1
76
+ )
77
+
78
+ (:init
79
+ (On tomato_sauce_1 floor_target_object_region)
80
+ (On milk_1 floor_other_object_region_0)
81
+ (On butter_1 floor_other_object_region_1)
82
+ (On orange_juice_1 floor_other_object_region_2)
83
+ (On chocolate_pudding_1 floor_other_object_region_3)
84
+ (On bbq_sauce_1 floor_other_object_region_4)
85
+ (On basket_1 floor_bin_region)
86
+ )
87
+
88
+ (:goal
89
+ (And (In tomato_sauce_1 basket_1_contain_region))
90
+ )
91
+
92
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_object/tasks_info.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ libero/bddl_files/libero_object/pick_up_the_alphabet_soup_and_place_it_in_the_basket.bddl
2
+ libero/bddl_files/libero_object/pick_up_the_cream_cheese_and_place_it_in_the_basket.bddl
3
+ libero/bddl_files/libero_object/pick_up_the_milk_and_place_it_in_the_basket.bddl
4
+ libero/bddl_files/libero_object/pick_up_the_tomato_sauce_and_place_it_in_the_basket.bddl
5
+ libero/bddl_files/libero_object/pick_up_the_butter_and_place_it_in_the_basket.bddl
6
+ libero/bddl_files/libero_object/pick_up_the_orange_juice_and_place_it_in_the_basket.bddl
7
+ libero/bddl_files/libero_object/pick_up_the_chocolate_pudding_and_place_it_in_the_basket.bddl
8
+ libero/bddl_files/libero_object/pick_up_the_bbq_sauce_and_place_it_in_the_basket.bddl
9
+ libero/bddl_files/libero_object/pick_up_the_ketchup_and_place_it_in_the_basket.bddl
10
+ libero/bddl_files/libero_object/pick_up_the_salad_dressing_and_place_it_in_the_basket.bddl
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl between the plate and the ramekin and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 main_table_between_plate_ramekin_region)
123
+ (On akita_black_bowl_2 main_table_next_to_ramekin_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl from table center and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 main_table_table_center)
123
+ (On akita_black_bowl_2 main_table_next_to_plate_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl in the top layer of the wooden cabinet and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (In akita_black_bowl_1 wooden_cabinet_1_top_region)
123
+ (On akita_black_bowl_2 wooden_cabinet_1_top_side)
124
+ (Open wooden_cabinet_1_top_region)
125
+ (On plate_1 main_table_plate_region)
126
+ (On cookies_1 main_table_box_region)
127
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
128
+ (On wooden_cabinet_1 main_table_cabinet_region)
129
+ (On flat_stove_1 main_table_stove_region)
130
+ )
131
+
132
+ (:goal
133
+ (And (On akita_black_bowl_1 plate_1))
134
+ )
135
+
136
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl next to the cookies box and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 main_table_next_to_box_region)
123
+ (On akita_black_bowl_2 flat_stove_1_cook_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl next to the plate and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 main_table_next_to_plate_region)
123
+ (On akita_black_bowl_2 main_table_next_to_ramekin_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl next to the ramekin and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 main_table_next_to_ramekin_region)
123
+ (On akita_black_bowl_2 main_table_next_to_box_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl on the cookies box and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 cookies_1)
123
+ (On akita_black_bowl_2 wooden_cabinet_1_top_side)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl on the ramekin and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 glazed_rim_porcelain_ramekin_1)
123
+ (On akita_black_bowl_2 cookies_1)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl on the stove and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 flat_stove_1_cook_region)
123
+ (On akita_black_bowl_2 wooden_cabinet_1_top_side)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate.bddl ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (define (problem LIBERO_Tabletop_Manipulation)
2
+ (:domain robosuite)
3
+ (:language Pick the akita black bowl on the wooden cabinet and place it on the plate)
4
+ (:regions
5
+ (plate_region
6
+ (:target main_table)
7
+ (:ranges (
8
+ (0.05 0.19 0.07 0.21)
9
+ )
10
+ )
11
+ )
12
+ (next_to_plate_region
13
+ (:target main_table)
14
+ (:ranges (
15
+ (0.0 0.3 0.02 0.32)
16
+ )
17
+ )
18
+ )
19
+ (box_region
20
+ (:target main_table)
21
+ (:ranges (
22
+ (0.06 0.02 0.08 0.04)
23
+ )
24
+ )
25
+ )
26
+ (next_to_box_region
27
+ (:target main_table)
28
+ (:ranges (
29
+ (0.12 -0.08 0.14 -0.06)
30
+ )
31
+ )
32
+ )
33
+ (between_plate_ramekin_region
34
+ (:target main_table)
35
+ (:ranges (
36
+ (-0.06 0.19 -0.04 0.21)
37
+ )
38
+ )
39
+ )
40
+ (ramekin_region
41
+ (:target main_table)
42
+ (:ranges (
43
+ (-0.21 0.19 -0.19 0.21)
44
+ )
45
+ )
46
+ )
47
+ (next_to_ramekin_region
48
+ (:target main_table)
49
+ (:ranges (
50
+ (-0.19 0.31 -0.17 0.33)
51
+ )
52
+ )
53
+ )
54
+ (table_center
55
+ (:target main_table)
56
+ (:ranges (
57
+ (-0.1 -0.01 -0.05 0.01)
58
+ )
59
+ )
60
+ )
61
+ (table_front
62
+ (:target main_table)
63
+ (:ranges (
64
+ (0.19 -0.01 0.21 0.01)
65
+ )
66
+ )
67
+ )
68
+ (cabinet_region
69
+ (:target main_table)
70
+ (:ranges (
71
+ (0.02 -0.28 0.04 -0.26)
72
+ )
73
+ )
74
+ (:yaw_rotation (
75
+ (2.6613777765410678 2.7242096296128633)
76
+ )
77
+ )
78
+ )
79
+ (stove_region
80
+ (:target main_table)
81
+ (:ranges (
82
+ (-0.42 -0.15 -0.4 -0.13)
83
+ )
84
+ )
85
+ )
86
+ (top_region
87
+ (:target wooden_cabinet_1)
88
+ )
89
+ (middle_region
90
+ (:target wooden_cabinet_1)
91
+ )
92
+ (bottom_region
93
+ (:target wooden_cabinet_1)
94
+ )
95
+ (top_side
96
+ (:target wooden_cabinet_1)
97
+ )
98
+ (cook_region
99
+ (:target flat_stove_1)
100
+ )
101
+ )
102
+
103
+ (:fixtures
104
+ main_table - table
105
+ wooden_cabinet_1 - wooden_cabinet
106
+ flat_stove_1 - flat_stove
107
+ )
108
+
109
+ (:objects
110
+ akita_black_bowl_1 akita_black_bowl_2 - akita_black_bowl
111
+ cookies_1 - cookies
112
+ glazed_rim_porcelain_ramekin_1 - glazed_rim_porcelain_ramekin
113
+ plate_1 - plate
114
+ )
115
+
116
+ (:obj_of_interest
117
+ akita_black_bowl_1
118
+ plate_1
119
+ )
120
+
121
+ (:init
122
+ (On akita_black_bowl_1 wooden_cabinet_1_top_side)
123
+ (On akita_black_bowl_2 flat_stove_1_cook_region)
124
+ (On plate_1 main_table_plate_region)
125
+ (On cookies_1 main_table_box_region)
126
+ (On glazed_rim_porcelain_ramekin_1 main_table_ramekin_region)
127
+ (On wooden_cabinet_1 main_table_cabinet_region)
128
+ (On flat_stove_1 main_table_stove_region)
129
+ )
130
+
131
+ (:goal
132
+ (And (On akita_black_bowl_1 plate_1))
133
+ )
134
+
135
+ )
eval/vendored/LIBERO/libero/libero/bddl_files/libero_spatial/tasks_info.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate.bddl
2
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate.bddl
3
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate.bddl
4
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate.bddl
5
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate.bddl
6
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate.bddl
7
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate.bddl
8
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate.bddl
9
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate.bddl
10
+ libero/bddl_files/libero_spatial/pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate.bddl
eval/vendored/LIBERO/libero/libero/benchmark/__init__.py ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import abc
2
+ import os
3
+ import glob
4
+ import random
5
+ import torch
6
+
7
+ from typing import List, NamedTuple, Type
8
+ from libero.libero import get_libero_path
9
+ from libero.libero.benchmark.libero_suite_task_map import libero_task_map
10
+
11
+ BENCHMARK_MAPPING = {}
12
+
13
+
14
+ def register_benchmark(target_class):
15
+ """We design the mapping to be case-INsensitive."""
16
+ BENCHMARK_MAPPING[target_class.__name__.lower()] = target_class
17
+
18
+
19
+ def get_benchmark_dict(help=False):
20
+ if help:
21
+ print("Available benchmarks:")
22
+ for benchmark_name in BENCHMARK_MAPPING.keys():
23
+ print(f"\t{benchmark_name}")
24
+ return BENCHMARK_MAPPING
25
+
26
+
27
+ def get_benchmark(benchmark_name):
28
+ return BENCHMARK_MAPPING[benchmark_name.lower()]
29
+
30
+
31
+ def print_benchmark():
32
+ print(BENCHMARK_MAPPING)
33
+
34
+
35
+ class Task(NamedTuple):
36
+ name: str
37
+ language: str
38
+ problem: str
39
+ problem_folder: str
40
+ bddl_file: str
41
+ init_states_file: str
42
+
43
+
44
+ def grab_language_from_filename(x):
45
+ if x[0].isupper(): # LIBERO-100
46
+ if "SCENE10" in x:
47
+ language = " ".join(x[x.find("SCENE") + 8 :].split("_"))
48
+ else:
49
+ language = " ".join(x[x.find("SCENE") + 7 :].split("_"))
50
+ else:
51
+ language = " ".join(x.split("_"))
52
+ en = language.find(".bddl")
53
+ return language[:en]
54
+
55
+
56
+ libero_suites = [
57
+ "libero_spatial",
58
+ "libero_object",
59
+ "libero_goal",
60
+ "libero_90",
61
+ "libero_10",
62
+ ]
63
+ task_maps = {}
64
+ max_len = 0
65
+ for libero_suite in libero_suites:
66
+ task_maps[libero_suite] = {}
67
+
68
+ for task in libero_task_map[libero_suite]:
69
+ language = grab_language_from_filename(task + ".bddl")
70
+ task_maps[libero_suite][task] = Task(
71
+ name=task,
72
+ language=language,
73
+ problem="Libero",
74
+ problem_folder=libero_suite,
75
+ bddl_file=f"{task}.bddl",
76
+ init_states_file=f"{task}.pruned_init",
77
+ )
78
+
79
+ # print(language, "\n", f"{task}.bddl", "\n")
80
+ # print("")
81
+
82
+
83
+ task_orders = [
84
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
85
+ [4, 6, 8, 7, 3, 1, 2, 0, 9, 5],
86
+ [6, 3, 5, 0, 4, 2, 9, 1, 8, 7],
87
+ [7, 4, 3, 0, 8, 1, 2, 5, 9, 6],
88
+ [4, 5, 6, 3, 8, 0, 2, 7, 1, 9],
89
+ [1, 2, 3, 0, 6, 9, 5, 7, 4, 8],
90
+ [3, 7, 8, 1, 6, 2, 9, 4, 0, 5],
91
+ [4, 2, 9, 7, 6, 8, 5, 1, 3, 0],
92
+ [1, 8, 5, 4, 0, 9, 6, 7, 2, 3],
93
+ [8, 3, 6, 4, 9, 5, 1, 2, 0, 7],
94
+ [6, 9, 0, 5, 7, 1, 2, 8, 3, 4],
95
+ [6, 8, 3, 1, 0, 2, 5, 9, 7, 4],
96
+ [8, 0, 6, 9, 4, 1, 7, 3, 2, 5],
97
+ [3, 8, 6, 4, 2, 5, 0, 7, 1, 9],
98
+ [7, 1, 5, 6, 3, 2, 8, 9, 4, 0],
99
+ [2, 0, 9, 5, 3, 6, 8, 7, 1, 4],
100
+ [3, 5, 9, 6, 2, 4, 8, 7, 1, 0],
101
+ [7, 6, 5, 9, 0, 3, 4, 2, 8, 1],
102
+ [2, 5, 0, 9, 3, 1, 6, 4, 8, 7],
103
+ [3, 5, 1, 2, 7, 8, 6, 0, 4, 9],
104
+ [3, 4, 1, 9, 7, 6, 8, 2, 0, 5],
105
+ ]
106
+
107
+
108
+ class Benchmark(abc.ABC):
109
+ """A Benchmark."""
110
+
111
+ def __init__(self, task_order_index=0):
112
+ self.task_embs = None
113
+ self.task_order_index = task_order_index
114
+
115
+ def _make_benchmark(self):
116
+ tasks = list(task_maps[self.name].values())
117
+ if self.name == "libero_90":
118
+ self.tasks = tasks
119
+ else:
120
+ print(f"[info] using task orders {task_orders[self.task_order_index]}")
121
+ self.tasks = [tasks[i] for i in task_orders[self.task_order_index]]
122
+ self.n_tasks = len(self.tasks)
123
+
124
+ def get_num_tasks(self):
125
+ return self.n_tasks
126
+
127
+ def get_task_names(self):
128
+ return [task.name for task in self.tasks]
129
+
130
+ def get_task_problems(self):
131
+ return [task.problem for task in self.tasks]
132
+
133
+ def get_task_bddl_files(self):
134
+ return [task.bddl_file for task in self.tasks]
135
+
136
+ def get_task_bddl_file_path(self, i):
137
+ bddl_file_path = os.path.join(
138
+ get_libero_path("bddl_files"),
139
+ self.tasks[i].problem_folder,
140
+ self.tasks[i].bddl_file,
141
+ )
142
+ return bddl_file_path
143
+
144
+ def get_task_demonstration(self, i):
145
+ assert (
146
+ 0 <= i and i < self.n_tasks
147
+ ), f"[error] task number {i} is outer of range {self.n_tasks}"
148
+ # this path is relative to the datasets folder
149
+ demo_path = f"{self.tasks[i].problem_folder}/{self.tasks[i].name}_demo.hdf5"
150
+ return demo_path
151
+
152
+ def get_task(self, i):
153
+ return self.tasks[i]
154
+
155
+ def get_task_emb(self, i):
156
+ return self.task_embs[i]
157
+
158
+ def get_task_init_states(self, i):
159
+ init_states_path = os.path.join(
160
+ get_libero_path("init_states"),
161
+ self.tasks[i].problem_folder,
162
+ self.tasks[i].init_states_file,
163
+ )
164
+ init_states = torch.load(init_states_path)
165
+ return init_states
166
+
167
+ def set_task_embs(self, task_embs):
168
+ self.task_embs = task_embs
169
+
170
+
171
+ @register_benchmark
172
+ class LIBERO_SPATIAL(Benchmark):
173
+ def __init__(self, task_order_index=0):
174
+ super().__init__(task_order_index=task_order_index)
175
+ self.name = "libero_spatial"
176
+ self._make_benchmark()
177
+
178
+
179
+ @register_benchmark
180
+ class LIBERO_OBJECT(Benchmark):
181
+ def __init__(self, task_order_index=0):
182
+ super().__init__(task_order_index=task_order_index)
183
+ self.name = "libero_object"
184
+ self._make_benchmark()
185
+
186
+
187
+ @register_benchmark
188
+ class LIBERO_GOAL(Benchmark):
189
+ def __init__(self, task_order_index=0):
190
+ super().__init__(task_order_index=task_order_index)
191
+ self.name = "libero_goal"
192
+ self._make_benchmark()
193
+
194
+
195
+ @register_benchmark
196
+ class LIBERO_90(Benchmark):
197
+ def __init__(self, task_order_index=0):
198
+ super().__init__(task_order_index=task_order_index)
199
+ assert (
200
+ task_order_index == 0
201
+ ), "[error] currently only support task order for 10-task suites"
202
+ self.name = "libero_90"
203
+ self._make_benchmark()
204
+
205
+
206
+ @register_benchmark
207
+ class LIBERO_10(Benchmark):
208
+ def __init__(self, task_order_index=0):
209
+ super().__init__(task_order_index=task_order_index)
210
+ self.name = "libero_10"
211
+ self._make_benchmark()
212
+
213
+
214
+ @register_benchmark
215
+ class LIBERO_100(Benchmark):
216
+ def __init__(self, task_order_index=0):
217
+ super().__init__(task_order_index=task_order_index)
218
+ self.name = "libero_100"
219
+ self._make_benchmark()
eval/vendored/LIBERO/libero/libero/benchmark/libero_suite_task_map.py ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ libero_task_map = {
2
+ "libero_spatial": [
3
+ "pick_up_the_black_bowl_between_the_plate_and_the_ramekin_and_place_it_on_the_plate",
4
+ "pick_up_the_black_bowl_next_to_the_ramekin_and_place_it_on_the_plate",
5
+ "pick_up_the_black_bowl_from_table_center_and_place_it_on_the_plate",
6
+ "pick_up_the_black_bowl_on_the_cookie_box_and_place_it_on_the_plate",
7
+ "pick_up_the_black_bowl_in_the_top_drawer_of_the_wooden_cabinet_and_place_it_on_the_plate",
8
+ "pick_up_the_black_bowl_on_the_ramekin_and_place_it_on_the_plate",
9
+ "pick_up_the_black_bowl_next_to_the_cookie_box_and_place_it_on_the_plate",
10
+ "pick_up_the_black_bowl_on_the_stove_and_place_it_on_the_plate",
11
+ "pick_up_the_black_bowl_next_to_the_plate_and_place_it_on_the_plate",
12
+ "pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate",
13
+ ],
14
+ "libero_object": [
15
+ "pick_up_the_alphabet_soup_and_place_it_in_the_basket",
16
+ "pick_up_the_cream_cheese_and_place_it_in_the_basket",
17
+ "pick_up_the_salad_dressing_and_place_it_in_the_basket",
18
+ "pick_up_the_bbq_sauce_and_place_it_in_the_basket",
19
+ "pick_up_the_ketchup_and_place_it_in_the_basket",
20
+ "pick_up_the_tomato_sauce_and_place_it_in_the_basket",
21
+ "pick_up_the_butter_and_place_it_in_the_basket",
22
+ "pick_up_the_milk_and_place_it_in_the_basket",
23
+ "pick_up_the_chocolate_pudding_and_place_it_in_the_basket",
24
+ "pick_up_the_orange_juice_and_place_it_in_the_basket",
25
+ ],
26
+ "libero_goal": [
27
+ "open_the_middle_drawer_of_the_cabinet",
28
+ "put_the_bowl_on_the_stove",
29
+ "put_the_wine_bottle_on_top_of_the_cabinet",
30
+ "open_the_top_drawer_and_put_the_bowl_inside",
31
+ "put_the_bowl_on_top_of_the_cabinet",
32
+ "push_the_plate_to_the_front_of_the_stove",
33
+ "put_the_cream_cheese_in_the_bowl",
34
+ "turn_on_the_stove",
35
+ "put_the_bowl_on_the_plate",
36
+ "put_the_wine_bottle_on_the_rack",
37
+ ],
38
+ "libero_10": [
39
+ "LIVING_ROOM_SCENE2_put_both_the_alphabet_soup_and_the_tomato_sauce_in_the_basket",
40
+ "LIVING_ROOM_SCENE2_put_both_the_cream_cheese_box_and_the_butter_in_the_basket",
41
+ "KITCHEN_SCENE3_turn_on_the_stove_and_put_the_moka_pot_on_it",
42
+ "KITCHEN_SCENE4_put_the_black_bowl_in_the_bottom_drawer_of_the_cabinet_and_close_it",
43
+ "LIVING_ROOM_SCENE5_put_the_white_mug_on_the_left_plate_and_put_the_yellow_and_white_mug_on_the_right_plate",
44
+ "STUDY_SCENE1_pick_up_the_book_and_place_it_in_the_back_compartment_of_the_caddy",
45
+ "LIVING_ROOM_SCENE6_put_the_white_mug_on_the_plate_and_put_the_chocolate_pudding_to_the_right_of_the_plate",
46
+ "LIVING_ROOM_SCENE1_put_both_the_alphabet_soup_and_the_cream_cheese_box_in_the_basket",
47
+ "KITCHEN_SCENE8_put_both_moka_pots_on_the_stove",
48
+ "KITCHEN_SCENE6_put_the_yellow_and_white_mug_in_the_microwave_and_close_it",
49
+ ],
50
+ "libero_90": [
51
+ "KITCHEN_SCENE10_close_the_top_drawer_of_the_cabinet",
52
+ "KITCHEN_SCENE10_close_the_top_drawer_of_the_cabinet_and_put_the_black_bowl_on_top_of_it",
53
+ "KITCHEN_SCENE10_put_the_black_bowl_in_the_top_drawer_of_the_cabinet",
54
+ "KITCHEN_SCENE10_put_the_butter_at_the_back_in_the_top_drawer_of_the_cabinet_and_close_it",
55
+ "KITCHEN_SCENE10_put_the_butter_at_the_front_in_the_top_drawer_of_the_cabinet_and_close_it",
56
+ "KITCHEN_SCENE10_put_the_chocolate_pudding_in_the_top_drawer_of_the_cabinet_and_close_it",
57
+ "KITCHEN_SCENE1_open_the_bottom_drawer_of_the_cabinet",
58
+ "KITCHEN_SCENE1_open_the_top_drawer_of_the_cabinet",
59
+ "KITCHEN_SCENE1_open_the_top_drawer_of_the_cabinet_and_put_the_bowl_in_it",
60
+ "KITCHEN_SCENE1_put_the_black_bowl_on_the_plate",
61
+ "KITCHEN_SCENE1_put_the_black_bowl_on_top_of_the_cabinet",
62
+ "KITCHEN_SCENE2_open_the_top_drawer_of_the_cabinet",
63
+ "KITCHEN_SCENE2_put_the_black_bowl_at_the_back_on_the_plate",
64
+ "KITCHEN_SCENE2_put_the_black_bowl_at_the_front_on_the_plate",
65
+ "KITCHEN_SCENE2_put_the_middle_black_bowl_on_the_plate",
66
+ "KITCHEN_SCENE2_put_the_middle_black_bowl_on_top_of_the_cabinet",
67
+ "KITCHEN_SCENE2_stack_the_black_bowl_at_the_front_on_the_black_bowl_in_the_middle",
68
+ "KITCHEN_SCENE2_stack_the_middle_black_bowl_on_the_back_black_bowl",
69
+ "KITCHEN_SCENE3_put_the_frying_pan_on_the_stove",
70
+ "KITCHEN_SCENE3_put_the_moka_pot_on_the_stove",
71
+ "KITCHEN_SCENE3_turn_on_the_stove",
72
+ "KITCHEN_SCENE3_turn_on_the_stove_and_put_the_frying_pan_on_it",
73
+ "KITCHEN_SCENE4_close_the_bottom_drawer_of_the_cabinet",
74
+ "KITCHEN_SCENE4_close_the_bottom_drawer_of_the_cabinet_and_open_the_top_drawer",
75
+ "KITCHEN_SCENE4_put_the_black_bowl_in_the_bottom_drawer_of_the_cabinet",
76
+ "KITCHEN_SCENE4_put_the_black_bowl_on_top_of_the_cabinet",
77
+ "KITCHEN_SCENE4_put_the_wine_bottle_in_the_bottom_drawer_of_the_cabinet",
78
+ "KITCHEN_SCENE4_put_the_wine_bottle_on_the_wine_rack",
79
+ "KITCHEN_SCENE5_close_the_top_drawer_of_the_cabinet",
80
+ "KITCHEN_SCENE5_put_the_black_bowl_in_the_top_drawer_of_the_cabinet",
81
+ "KITCHEN_SCENE5_put_the_black_bowl_on_the_plate",
82
+ "KITCHEN_SCENE5_put_the_black_bowl_on_top_of_the_cabinet",
83
+ "KITCHEN_SCENE5_put_the_ketchup_in_the_top_drawer_of_the_cabinet",
84
+ "KITCHEN_SCENE6_close_the_microwave",
85
+ "KITCHEN_SCENE6_put_the_yellow_and_white_mug_to_the_front_of_the_white_mug",
86
+ "KITCHEN_SCENE7_open_the_microwave",
87
+ "KITCHEN_SCENE7_put_the_white_bowl_on_the_plate",
88
+ "KITCHEN_SCENE7_put_the_white_bowl_to_the_right_of_the_plate",
89
+ "KITCHEN_SCENE8_put_the_right_moka_pot_on_the_stove",
90
+ "KITCHEN_SCENE8_turn_off_the_stove",
91
+ "KITCHEN_SCENE9_put_the_frying_pan_on_the_cabinet_shelf",
92
+ "KITCHEN_SCENE9_put_the_frying_pan_on_top_of_the_cabinet",
93
+ "KITCHEN_SCENE9_put_the_frying_pan_under_the_cabinet_shelf",
94
+ "KITCHEN_SCENE9_put_the_white_bowl_on_top_of_the_cabinet",
95
+ "KITCHEN_SCENE9_turn_on_the_stove",
96
+ "KITCHEN_SCENE9_turn_on_the_stove_and_put_the_frying_pan_on_it",
97
+ "LIVING_ROOM_SCENE1_pick_up_the_alphabet_soup_and_put_it_in_the_basket",
98
+ "LIVING_ROOM_SCENE1_pick_up_the_cream_cheese_box_and_put_it_in_the_basket",
99
+ "LIVING_ROOM_SCENE1_pick_up_the_ketchup_and_put_it_in_the_basket",
100
+ "LIVING_ROOM_SCENE1_pick_up_the_tomato_sauce_and_put_it_in_the_basket",
101
+ "LIVING_ROOM_SCENE2_pick_up_the_alphabet_soup_and_put_it_in_the_basket",
102
+ "LIVING_ROOM_SCENE2_pick_up_the_butter_and_put_it_in_the_basket",
103
+ "LIVING_ROOM_SCENE2_pick_up_the_milk_and_put_it_in_the_basket",
104
+ "LIVING_ROOM_SCENE2_pick_up_the_orange_juice_and_put_it_in_the_basket",
105
+ "LIVING_ROOM_SCENE2_pick_up_the_tomato_sauce_and_put_it_in_the_basket",
106
+ "LIVING_ROOM_SCENE3_pick_up_the_alphabet_soup_and_put_it_in_the_tray",
107
+ "LIVING_ROOM_SCENE3_pick_up_the_butter_and_put_it_in_the_tray",
108
+ "LIVING_ROOM_SCENE3_pick_up_the_cream_cheese_and_put_it_in_the_tray",
109
+ "LIVING_ROOM_SCENE3_pick_up_the_ketchup_and_put_it_in_the_tray",
110
+ "LIVING_ROOM_SCENE3_pick_up_the_tomato_sauce_and_put_it_in_the_tray",
111
+ "LIVING_ROOM_SCENE4_pick_up_the_black_bowl_on_the_left_and_put_it_in_the_tray",
112
+ "LIVING_ROOM_SCENE4_pick_up_the_chocolate_pudding_and_put_it_in_the_tray",
113
+ "LIVING_ROOM_SCENE4_pick_up_the_salad_dressing_and_put_it_in_the_tray",
114
+ "LIVING_ROOM_SCENE4_stack_the_left_bowl_on_the_right_bowl_and_place_them_in_the_tray",
115
+ "LIVING_ROOM_SCENE4_stack_the_right_bowl_on_the_left_bowl_and_place_them_in_the_tray",
116
+ "LIVING_ROOM_SCENE5_put_the_red_mug_on_the_left_plate",
117
+ "LIVING_ROOM_SCENE5_put_the_red_mug_on_the_right_plate",
118
+ "LIVING_ROOM_SCENE5_put_the_white_mug_on_the_left_plate",
119
+ "LIVING_ROOM_SCENE5_put_the_yellow_and_white_mug_on_the_right_plate",
120
+ "LIVING_ROOM_SCENE6_put_the_chocolate_pudding_to_the_left_of_the_plate",
121
+ "LIVING_ROOM_SCENE6_put_the_chocolate_pudding_to_the_right_of_the_plate",
122
+ "LIVING_ROOM_SCENE6_put_the_red_mug_on_the_plate",
123
+ "LIVING_ROOM_SCENE6_put_the_white_mug_on_the_plate",
124
+ "STUDY_SCENE1_pick_up_the_book_and_place_it_in_the_front_compartment_of_the_caddy",
125
+ "STUDY_SCENE1_pick_up_the_book_and_place_it_in_the_left_compartment_of_the_caddy",
126
+ "STUDY_SCENE1_pick_up_the_book_and_place_it_in_the_right_compartment_of_the_caddy",
127
+ "STUDY_SCENE1_pick_up_the_yellow_and_white_mug_and_place_it_to_the_right_of_the_caddy",
128
+ "STUDY_SCENE2_pick_up_the_book_and_place_it_in_the_back_compartment_of_the_caddy",
129
+ "STUDY_SCENE2_pick_up_the_book_and_place_it_in_the_front_compartment_of_the_caddy",
130
+ "STUDY_SCENE2_pick_up_the_book_and_place_it_in_the_left_compartment_of_the_caddy",
131
+ "STUDY_SCENE2_pick_up_the_book_and_place_it_in_the_right_compartment_of_the_caddy",
132
+ "STUDY_SCENE3_pick_up_the_book_and_place_it_in_the_front_compartment_of_the_caddy",
133
+ "STUDY_SCENE3_pick_up_the_book_and_place_it_in_the_left_compartment_of_the_caddy",
134
+ "STUDY_SCENE3_pick_up_the_book_and_place_it_in_the_right_compartment_of_the_caddy",
135
+ "STUDY_SCENE3_pick_up_the_red_mug_and_place_it_to_the_right_of_the_caddy",
136
+ "STUDY_SCENE3_pick_up_the_white_mug_and_place_it_to_the_right_of_the_caddy",
137
+ "STUDY_SCENE4_pick_up_the_book_in_the_middle_and_place_it_on_the_cabinet_shelf",
138
+ "STUDY_SCENE4_pick_up_the_book_on_the_left_and_place_it_on_top_of_the_shelf",
139
+ "STUDY_SCENE4_pick_up_the_book_on_the_right_and_place_it_on_the_cabinet_shelf",
140
+ "STUDY_SCENE4_pick_up_the_book_on_the_right_and_place_it_under_the_cabinet_shelf",
141
+ ],
142
+ }
eval/vendored/LIBERO/libero/libero/benchmark/mu_creation.py ADDED
@@ -0,0 +1,1575 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ from libero.libero.envs import objects
3
+ from libero.libero.utils.bddl_generation_utils import *
4
+ from libero.libero.envs.objects import OBJECTS_DICT
5
+ from libero.libero.utils.object_utils import get_affordance_regions
6
+
7
+ from libero.libero.utils.mu_utils import register_mu, InitialSceneTemplates
8
+
9
+
10
+ @register_mu(scene_type="kitchen")
11
+ class KitchenScene1(InitialSceneTemplates):
12
+ def __init__(self):
13
+
14
+ fixture_num_info = {
15
+ "kitchen_table": 1,
16
+ "wooden_cabinet": 1,
17
+ }
18
+
19
+ object_num_info = {
20
+ "akita_black_bowl": 1,
21
+ "plate": 1,
22
+ }
23
+
24
+ super().__init__(
25
+ workspace_name="kitchen_table",
26
+ fixture_num_info=fixture_num_info,
27
+ object_num_info=object_num_info,
28
+ )
29
+
30
+ def define_regions(self):
31
+ self.regions.update(
32
+ self.get_region_dict(
33
+ region_centroid_xy=[0.0, -0.30],
34
+ region_name="wooden_cabinet_init_region",
35
+ target_name=self.workspace_name,
36
+ region_half_len=0.01,
37
+ yaw_rotation=(np.pi, np.pi),
38
+ )
39
+ )
40
+
41
+ self.regions.update(
42
+ self.get_region_dict(
43
+ region_centroid_xy=[0.0, 0.0],
44
+ region_name="akita_black_bowl_init_region",
45
+ target_name=self.workspace_name,
46
+ region_half_len=0.025,
47
+ )
48
+ )
49
+
50
+ self.regions.update(
51
+ self.get_region_dict(
52
+ region_centroid_xy=[0.0, 0.25],
53
+ region_name="plate_init_region",
54
+ target_name=self.workspace_name,
55
+ region_half_len=0.025,
56
+ )
57
+ )
58
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
59
+ self.regions
60
+ )
61
+
62
+ @property
63
+ def init_states(self):
64
+ states = [
65
+ ("On", "akita_black_bowl_1", "kitchen_table_akita_black_bowl_init_region"),
66
+ ("On", "plate_1", "kitchen_table_plate_init_region"),
67
+ ("On", "wooden_cabinet_1", "kitchen_table_wooden_cabinet_init_region"),
68
+ ]
69
+ return states
70
+
71
+
72
+ @register_mu(scene_type="kitchen")
73
+ class KitchenScene2(InitialSceneTemplates):
74
+ def __init__(self):
75
+
76
+ fixture_num_info = {
77
+ "kitchen_table": 1,
78
+ "wooden_cabinet": 1,
79
+ }
80
+
81
+ object_num_info = {
82
+ "akita_black_bowl": 3,
83
+ "plate": 1,
84
+ }
85
+
86
+ super().__init__(
87
+ workspace_name="kitchen_table",
88
+ fixture_num_info=fixture_num_info,
89
+ object_num_info=object_num_info,
90
+ )
91
+
92
+ def define_regions(self):
93
+ self.regions.update(
94
+ self.get_region_dict(
95
+ region_centroid_xy=[0.0, -0.30],
96
+ region_name="wooden_cabinet_init_region",
97
+ target_name=self.workspace_name,
98
+ region_half_len=0.01,
99
+ yaw_rotation=(np.pi, np.pi),
100
+ )
101
+ )
102
+
103
+ self.regions.update(
104
+ self.get_region_dict(
105
+ region_centroid_xy=[-0.05, 0.20],
106
+ region_name="akita_black_bowl_middle_init_region",
107
+ target_name=self.workspace_name,
108
+ region_half_len=0.025,
109
+ )
110
+ )
111
+
112
+ self.regions.update(
113
+ self.get_region_dict(
114
+ region_centroid_xy=[0.10, 0.15],
115
+ region_name="akita_black_bowl_front_init_region",
116
+ target_name=self.workspace_name,
117
+ region_half_len=0.025,
118
+ )
119
+ )
120
+
121
+ self.regions.update(
122
+ self.get_region_dict(
123
+ region_centroid_xy=[-0.15, 0.05],
124
+ region_name="akita_black_bowl_back_init_region",
125
+ target_name=self.workspace_name,
126
+ region_half_len=0.025,
127
+ )
128
+ )
129
+
130
+ self.regions.update(
131
+ self.get_region_dict(
132
+ region_centroid_xy=[0.0, 0.0],
133
+ region_name="plate_init_region",
134
+ target_name=self.workspace_name,
135
+ region_half_len=0.025,
136
+ )
137
+ )
138
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
139
+ self.regions
140
+ )
141
+
142
+ @property
143
+ def init_states(self):
144
+ states = [
145
+ (
146
+ "On",
147
+ "akita_black_bowl_1",
148
+ "kitchen_table_akita_black_bowl_front_init_region",
149
+ ),
150
+ (
151
+ "On",
152
+ "akita_black_bowl_2",
153
+ "kitchen_table_akita_black_bowl_middle_init_region",
154
+ ),
155
+ (
156
+ "On",
157
+ "akita_black_bowl_3",
158
+ "kitchen_table_akita_black_bowl_back_init_region",
159
+ ),
160
+ ("On", "plate_1", "kitchen_table_plate_init_region"),
161
+ ("On", "wooden_cabinet_1", "kitchen_table_wooden_cabinet_init_region"),
162
+ ]
163
+ return states
164
+
165
+
166
+ @register_mu(scene_type="kitchen")
167
+ class KitchenScene3(InitialSceneTemplates):
168
+ def __init__(self):
169
+
170
+ fixture_num_info = {
171
+ "kitchen_table": 1,
172
+ "flat_stove": 1,
173
+ }
174
+
175
+ object_num_info = {"chefmate_8_frypan": 1, "moka_pot": 1}
176
+
177
+ super().__init__(
178
+ workspace_name="kitchen_table",
179
+ fixture_num_info=fixture_num_info,
180
+ object_num_info=object_num_info,
181
+ )
182
+
183
+ def define_regions(self):
184
+ self.regions.update(
185
+ self.get_region_dict(
186
+ region_centroid_xy=[-0.20, 0.20],
187
+ region_name="flat_stove_init_region",
188
+ target_name=self.workspace_name,
189
+ region_half_len=0.01,
190
+ )
191
+ )
192
+
193
+ self.regions.update(
194
+ self.get_region_dict(
195
+ region_centroid_xy=[-0.05, -0.25],
196
+ region_name="frypan_init_region",
197
+ target_name=self.workspace_name,
198
+ region_half_len=0.025,
199
+ )
200
+ )
201
+
202
+ self.regions.update(
203
+ self.get_region_dict(
204
+ region_centroid_xy=[0.05, 0.0],
205
+ region_name="moka_pot_init_region",
206
+ target_name=self.workspace_name,
207
+ region_half_len=0.025,
208
+ )
209
+ )
210
+
211
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
212
+ self.regions
213
+ )
214
+
215
+ @property
216
+ def init_states(self):
217
+ states = [
218
+ ("On", "flat_stove_1", "kitchen_table_flat_stove_init_region"),
219
+ ("On", "chefmate_8_frypan_1", "kitchen_table_frypan_init_region"),
220
+ ("On", "moka_pot_1", "kitchen_table_moka_pot_init_region"),
221
+ ]
222
+ return states
223
+
224
+
225
+ @register_mu(scene_type="kitchen")
226
+ class KitchenScene4(InitialSceneTemplates):
227
+ def __init__(self):
228
+
229
+ fixture_num_info = {
230
+ "kitchen_table": 1,
231
+ "white_cabinet": 1,
232
+ "wine_rack": 1,
233
+ }
234
+
235
+ object_num_info = {"akita_black_bowl": 1, "wine_bottle": 1}
236
+
237
+ super().__init__(
238
+ workspace_name="kitchen_table",
239
+ fixture_num_info=fixture_num_info,
240
+ object_num_info=object_num_info,
241
+ )
242
+
243
+ def define_regions(self):
244
+ self.regions.update(
245
+ self.get_region_dict(
246
+ region_centroid_xy=[0.0, 0.30],
247
+ region_name="white_cabinet_init_region",
248
+ target_name=self.workspace_name,
249
+ region_half_len=0.01,
250
+ )
251
+ )
252
+ self.regions.update(
253
+ self.get_region_dict(
254
+ region_centroid_xy=[-0.10, -0.30],
255
+ region_name="wine_rack_init_region",
256
+ target_name=self.workspace_name,
257
+ region_half_len=0.01,
258
+ yaw_rotation=(np.pi, np.pi),
259
+ )
260
+ )
261
+ self.regions.update(
262
+ self.get_region_dict(
263
+ region_centroid_xy=[0.03, -0.05],
264
+ region_name="akita_black_bowl_init_region",
265
+ target_name=self.workspace_name,
266
+ region_half_len=0.025,
267
+ )
268
+ )
269
+
270
+ self.regions.update(
271
+ self.get_region_dict(
272
+ region_centroid_xy=[-0.15, 0.05],
273
+ region_name="wine_bottle_init_region",
274
+ target_name=self.workspace_name,
275
+ region_half_len=0.025,
276
+ )
277
+ )
278
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
279
+ self.regions
280
+ )
281
+
282
+ @property
283
+ def init_states(self):
284
+ states = [
285
+ ("On", "akita_black_bowl_1", "kitchen_table_akita_black_bowl_init_region"),
286
+ ("On", "wine_bottle_1", "kitchen_table_wine_bottle_init_region"),
287
+ ("On", "white_cabinet_1", "kitchen_table_white_cabinet_init_region"),
288
+ ("On", "wine_rack_1", "kitchen_table_wine_rack_init_region"),
289
+ ("Open", "white_cabinet_1_bottom_region"),
290
+ ]
291
+ return states
292
+
293
+
294
+ @register_mu(scene_type="kitchen")
295
+ class KitchenScene5(InitialSceneTemplates):
296
+ def __init__(self):
297
+
298
+ fixture_num_info = {
299
+ "kitchen_table": 1,
300
+ "white_cabinet": 1,
301
+ }
302
+
303
+ object_num_info = {
304
+ "akita_black_bowl": 1,
305
+ "plate": 1,
306
+ "ketchup": 1,
307
+ }
308
+
309
+ super().__init__(
310
+ workspace_name="kitchen_table",
311
+ fixture_num_info=fixture_num_info,
312
+ object_num_info=object_num_info,
313
+ )
314
+
315
+ def define_regions(self):
316
+ self.regions.update(
317
+ self.get_region_dict(
318
+ region_centroid_xy=[0.0, 0.30],
319
+ region_name="white_cabinet_init_region",
320
+ target_name=self.workspace_name,
321
+ region_half_len=0.01,
322
+ )
323
+ )
324
+
325
+ self.regions.update(
326
+ self.get_region_dict(
327
+ region_centroid_xy=[0.03, -0.05],
328
+ region_name="akita_black_bowl_init_region",
329
+ target_name=self.workspace_name,
330
+ region_half_len=0.025,
331
+ )
332
+ )
333
+
334
+ self.regions.update(
335
+ self.get_region_dict(
336
+ region_centroid_xy=[-0.10, -0.10],
337
+ region_name="ketchup_init_region",
338
+ target_name=self.workspace_name,
339
+ region_half_len=0.025,
340
+ )
341
+ )
342
+
343
+ self.regions.update(
344
+ self.get_region_dict(
345
+ region_centroid_xy=[-0.05, -0.25],
346
+ region_name="plate_init_region",
347
+ target_name=self.workspace_name,
348
+ region_half_len=0.025,
349
+ )
350
+ )
351
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
352
+ self.regions
353
+ )
354
+
355
+ @property
356
+ def init_states(self):
357
+ states = [
358
+ ("On", "akita_black_bowl_1", "kitchen_table_akita_black_bowl_init_region"),
359
+ ("On", "plate_1", "kitchen_table_plate_init_region"),
360
+ ("On", "white_cabinet_1", "kitchen_table_white_cabinet_init_region"),
361
+ ("On", "ketchup_1", "kitchen_table_ketchup_init_region"),
362
+ ("Open", "white_cabinet_1_top_region"),
363
+ ]
364
+ return states
365
+
366
+
367
+ @register_mu(scene_type="kitchen")
368
+ class KitchenScene6(InitialSceneTemplates):
369
+ def __init__(self):
370
+
371
+ fixture_num_info = {
372
+ "kitchen_table": 1,
373
+ "microwave": 1,
374
+ }
375
+
376
+ object_num_info = {
377
+ "porcelain_mug": 1,
378
+ "white_yellow_mug": 1,
379
+ }
380
+
381
+ super().__init__(
382
+ workspace_name="kitchen_table",
383
+ fixture_num_info=fixture_num_info,
384
+ object_num_info=object_num_info,
385
+ )
386
+
387
+ def define_regions(self):
388
+ self.regions.update(
389
+ self.get_region_dict(
390
+ region_centroid_xy=[0.0, 0.35],
391
+ region_name="microwave_init_region",
392
+ target_name=self.workspace_name,
393
+ region_half_len=0.01,
394
+ yaw_rotation=(0, 0),
395
+ )
396
+ )
397
+
398
+ self.regions.update(
399
+ self.get_region_dict(
400
+ region_centroid_xy=[0.0, 0.0],
401
+ region_name="white_yellow_mug_init_region",
402
+ target_name=self.workspace_name,
403
+ region_half_len=0.025,
404
+ )
405
+ )
406
+
407
+ self.regions.update(
408
+ self.get_region_dict(
409
+ region_centroid_xy=[-0.10, -0.25],
410
+ region_name="porcelain_mug_init_region",
411
+ target_name=self.workspace_name,
412
+ region_half_len=0.025,
413
+ )
414
+ )
415
+
416
+ self.regions.update(
417
+ self.get_region_dict(
418
+ region_centroid_xy=[0.0, -0.25],
419
+ region_name="porcelain_mug_front_region",
420
+ target_name=self.workspace_name,
421
+ region_half_len=0.05,
422
+ )
423
+ )
424
+
425
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
426
+ self.regions
427
+ )
428
+
429
+ @property
430
+ def init_states(self):
431
+ states = [
432
+ ("On", "porcelain_mug_1", "kitchen_table_porcelain_mug_init_region"),
433
+ ("On", "white_yellow_mug_1", "kitchen_table_white_yellow_mug_init_region"),
434
+ ("On", "microwave_1", "kitchen_table_microwave_init_region"),
435
+ ("Open", "microwave_1"),
436
+ ]
437
+ return states
438
+
439
+
440
+ @register_mu(scene_type="kitchen")
441
+ class KitchenScene7(InitialSceneTemplates):
442
+ def __init__(self):
443
+
444
+ fixture_num_info = {
445
+ "kitchen_table": 1,
446
+ "microwave": 1,
447
+ }
448
+
449
+ object_num_info = {
450
+ "white_bowl": 1,
451
+ "plate": 1,
452
+ }
453
+
454
+ super().__init__(
455
+ workspace_name="kitchen_table",
456
+ fixture_num_info=fixture_num_info,
457
+ object_num_info=object_num_info,
458
+ )
459
+
460
+ def define_regions(self):
461
+ self.regions.update(
462
+ self.get_region_dict(
463
+ region_centroid_xy=[0.0, -0.25],
464
+ region_name="microwave_init_region",
465
+ target_name=self.workspace_name,
466
+ region_half_len=0.01,
467
+ yaw_rotation=(np.pi, np.pi),
468
+ )
469
+ )
470
+
471
+ self.regions.update(
472
+ self.get_region_dict(
473
+ region_centroid_xy=[0.0, 0.0],
474
+ region_name="plate_init_region",
475
+ target_name=self.workspace_name,
476
+ region_half_len=0.025,
477
+ )
478
+ )
479
+
480
+ self.regions.update(
481
+ self.get_region_dict(
482
+ region_centroid_xy=[0.0, 0.10],
483
+ region_name="plate_right_region",
484
+ target_name=self.workspace_name,
485
+ region_half_len=0.05,
486
+ )
487
+ )
488
+
489
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
490
+ self.regions
491
+ )
492
+
493
+ @property
494
+ def init_states(self):
495
+ states = [
496
+ ("On", "white_bowl_1", "microwave_1_top_side"),
497
+ ("On", "microwave_1", "kitchen_table_microwave_init_region"),
498
+ ("Close", "microwave_1"),
499
+ ("On", "plate_1", "kitchen_table_plate_init_region"),
500
+ ]
501
+ return states
502
+
503
+
504
+ @register_mu(scene_type="kitchen")
505
+ class KitchenScene8(InitialSceneTemplates):
506
+ def __init__(self):
507
+
508
+ fixture_num_info = {
509
+ "kitchen_table": 1,
510
+ "flat_stove": 1,
511
+ }
512
+
513
+ object_num_info = {"moka_pot": 2}
514
+
515
+ super().__init__(
516
+ workspace_name="kitchen_table",
517
+ fixture_num_info=fixture_num_info,
518
+ object_num_info=object_num_info,
519
+ )
520
+
521
+ def define_regions(self):
522
+ self.regions.update(
523
+ self.get_region_dict(
524
+ region_centroid_xy=[-0.20, -0.20],
525
+ region_name="flat_stove_init_region",
526
+ target_name=self.workspace_name,
527
+ region_half_len=0.01,
528
+ )
529
+ )
530
+
531
+ self.regions.update(
532
+ self.get_region_dict(
533
+ region_centroid_xy=[-0.05, 0.25],
534
+ region_name="moka_pot_right_init_region",
535
+ target_name=self.workspace_name,
536
+ region_half_len=0.025,
537
+ )
538
+ )
539
+
540
+ self.regions.update(
541
+ self.get_region_dict(
542
+ region_centroid_xy=[0.05, 0.05],
543
+ region_name="moka_pot_left_init_region",
544
+ target_name=self.workspace_name,
545
+ region_half_len=0.025,
546
+ )
547
+ )
548
+
549
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
550
+ self.regions
551
+ )
552
+
553
+ @property
554
+ def init_states(self):
555
+ states = [
556
+ ("On", "flat_stove_1", "kitchen_table_flat_stove_init_region"),
557
+ ("On", "moka_pot_1", "kitchen_table_moka_pot_right_init_region"),
558
+ ("On", "moka_pot_2", "kitchen_table_moka_pot_left_init_region"),
559
+ ("Turnon", "flat_stove_1"),
560
+ ]
561
+ return states
562
+
563
+
564
+ @register_mu(scene_type="kitchen")
565
+ class KitchenScene9(InitialSceneTemplates):
566
+ def __init__(self):
567
+
568
+ fixture_num_info = {
569
+ "kitchen_table": 1,
570
+ "flat_stove": 1,
571
+ "wooden_two_layer_shelf": 1,
572
+ }
573
+
574
+ object_num_info = {
575
+ "white_bowl": 1,
576
+ "chefmate_8_frypan": 1,
577
+ }
578
+
579
+ super().__init__(
580
+ workspace_name="kitchen_table",
581
+ fixture_num_info=fixture_num_info,
582
+ object_num_info=object_num_info,
583
+ )
584
+
585
+ def define_regions(self):
586
+ self.regions.update(
587
+ self.get_region_dict(
588
+ region_centroid_xy=[-0.20, 0.30],
589
+ region_name="flat_stove_init_region",
590
+ target_name=self.workspace_name,
591
+ region_half_len=0.01,
592
+ )
593
+ )
594
+ self.regions.update(
595
+ self.get_region_dict(
596
+ region_centroid_xy=[0, -0.25],
597
+ region_name="wooden_two_layer_shelf_init_region",
598
+ target_name=self.workspace_name,
599
+ region_half_len=0.01,
600
+ yaw_rotation=(np.pi, np.pi),
601
+ )
602
+ )
603
+
604
+ self.regions.update(
605
+ self.get_region_dict(
606
+ region_centroid_xy=[0.05, 0.0],
607
+ region_name="frypan_init_region",
608
+ target_name=self.workspace_name,
609
+ region_half_len=0.025,
610
+ )
611
+ )
612
+
613
+ self.regions.update(
614
+ self.get_region_dict(
615
+ region_centroid_xy=[-0.15, 0.10],
616
+ region_name="white_bowl_init_region",
617
+ target_name=self.workspace_name,
618
+ region_half_len=0.025,
619
+ )
620
+ )
621
+
622
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
623
+ self.regions
624
+ )
625
+
626
+ @property
627
+ def init_states(self):
628
+ states = [
629
+ ("On", "flat_stove_1", "kitchen_table_flat_stove_init_region"),
630
+ ("On", "chefmate_8_frypan_1", "kitchen_table_frypan_init_region"),
631
+ ("On", "white_bowl_1", "kitchen_table_white_bowl_init_region"),
632
+ (
633
+ "On",
634
+ "wooden_two_layer_shelf_1",
635
+ "kitchen_table_wooden_two_layer_shelf_init_region",
636
+ ),
637
+ ]
638
+ return states
639
+
640
+
641
+ @register_mu(scene_type="kitchen")
642
+ class KitchenScene10(InitialSceneTemplates):
643
+ def __init__(self):
644
+
645
+ fixture_num_info = {
646
+ "kitchen_table": 1,
647
+ "wooden_cabinet": 1,
648
+ }
649
+
650
+ object_num_info = {
651
+ "akita_black_bowl": 1,
652
+ "butter": 2,
653
+ "chocolate_pudding": 1,
654
+ }
655
+
656
+ super().__init__(
657
+ workspace_name="kitchen_table",
658
+ fixture_num_info=fixture_num_info,
659
+ object_num_info=object_num_info,
660
+ )
661
+
662
+ def define_regions(self):
663
+ self.regions.update(
664
+ self.get_region_dict(
665
+ region_centroid_xy=[0.0, -0.30],
666
+ region_name="wooden_cabinet_init_region",
667
+ target_name=self.workspace_name,
668
+ region_half_len=0.01,
669
+ yaw_rotation=(np.pi, np.pi),
670
+ )
671
+ )
672
+
673
+ self.regions.update(
674
+ self.get_region_dict(
675
+ region_centroid_xy=[-0.10, 0.0],
676
+ region_name="akita_black_bowl_init_region",
677
+ target_name=self.workspace_name,
678
+ region_half_len=0.025,
679
+ )
680
+ )
681
+
682
+ self.regions.update(
683
+ self.get_region_dict(
684
+ region_centroid_xy=[-0.10, 0.20],
685
+ region_name="butter_back_init_region",
686
+ target_name=self.workspace_name,
687
+ region_half_len=0.025,
688
+ )
689
+ )
690
+ self.regions.update(
691
+ self.get_region_dict(
692
+ region_centroid_xy=[0.0, 0.20],
693
+ region_name="butter_front_init_region",
694
+ target_name=self.workspace_name,
695
+ region_half_len=0.025,
696
+ )
697
+ )
698
+ self.regions.update(
699
+ self.get_region_dict(
700
+ region_centroid_xy=[0.0, 0.05],
701
+ region_name="chocolate_pudding_init_region",
702
+ target_name=self.workspace_name,
703
+ region_half_len=0.025,
704
+ )
705
+ )
706
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
707
+ self.regions
708
+ )
709
+
710
+ @property
711
+ def init_states(self):
712
+ states = [
713
+ ("On", "akita_black_bowl_1", "kitchen_table_akita_black_bowl_init_region"),
714
+ ("On", "butter_1", "kitchen_table_butter_front_init_region"),
715
+ ("On", "butter_2", "kitchen_table_butter_back_init_region"),
716
+ (
717
+ "On",
718
+ "chocolate_pudding_1",
719
+ "kitchen_table_chocolate_pudding_init_region",
720
+ ),
721
+ ("On", "wooden_cabinet_1", "kitchen_table_wooden_cabinet_init_region"),
722
+ ("Open", "wooden_cabinet_1_top_region"),
723
+ ]
724
+ return states
725
+
726
+
727
+ @register_mu(scene_type="living_room")
728
+ class LivingRoomScene1(InitialSceneTemplates):
729
+ def __init__(self):
730
+
731
+ fixture_num_info = {
732
+ "living_room_table": 1,
733
+ }
734
+
735
+ object_num_info = {
736
+ "alphabet_soup": 1,
737
+ "cream_cheese": 1,
738
+ "tomato_sauce": 1,
739
+ "ketchup": 1,
740
+ "basket": 1,
741
+ }
742
+
743
+ super().__init__(
744
+ workspace_name="living_room_table",
745
+ fixture_num_info=fixture_num_info,
746
+ object_num_info=object_num_info,
747
+ )
748
+
749
+ def define_regions(self):
750
+ self.regions.update(
751
+ self.get_region_dict(
752
+ region_centroid_xy=[0.0, 0.26],
753
+ region_name="basket_init_region",
754
+ target_name=self.workspace_name,
755
+ region_half_len=0.01,
756
+ )
757
+ )
758
+
759
+ self.regions.update(
760
+ self.get_region_dict(
761
+ region_centroid_xy=[0.05, -0.10],
762
+ region_name="alphabet_soup_init_region",
763
+ target_name=self.workspace_name,
764
+ region_half_len=0.025,
765
+ )
766
+ )
767
+
768
+ self.regions.update(
769
+ self.get_region_dict(
770
+ region_centroid_xy=[-0.15, 0.06],
771
+ region_name="cream_cheese_init_region",
772
+ target_name=self.workspace_name,
773
+ region_half_len=0.025,
774
+ )
775
+ )
776
+
777
+ self.regions.update(
778
+ self.get_region_dict(
779
+ region_centroid_xy=[0.10, -0.20],
780
+ region_name="tomato_sauce_init_region",
781
+ target_name=self.workspace_name,
782
+ region_half_len=0.025,
783
+ )
784
+ )
785
+
786
+ self.regions.update(
787
+ self.get_region_dict(
788
+ region_centroid_xy=[-0.20, -0.15],
789
+ region_name="ketchup_init_region",
790
+ target_name=self.workspace_name,
791
+ region_half_len=0.025,
792
+ )
793
+ )
794
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
795
+ self.regions
796
+ )
797
+
798
+ @property
799
+ def init_states(self):
800
+ states = [
801
+ ("On", "alphabet_soup_1", "living_room_table_alphabet_soup_init_region"),
802
+ ("On", "cream_cheese_1", "living_room_table_cream_cheese_init_region"),
803
+ ("On", "tomato_sauce_1", "living_room_table_tomato_sauce_init_region"),
804
+ ("On", "ketchup_1", "living_room_table_ketchup_init_region"),
805
+ ("On", "basket_1", "living_room_table_basket_init_region"),
806
+ ]
807
+ return states
808
+
809
+
810
+ @register_mu(scene_type="living_room")
811
+ class LivingRoomScene2(InitialSceneTemplates):
812
+ def __init__(self):
813
+
814
+ fixture_num_info = {
815
+ "living_room_table": 1,
816
+ }
817
+
818
+ object_num_info = {
819
+ "alphabet_soup": 1,
820
+ "cream_cheese": 1,
821
+ "tomato_sauce": 1,
822
+ "ketchup": 1,
823
+ "orange_juice": 1,
824
+ "milk": 1,
825
+ "butter": 1,
826
+ "basket": 1,
827
+ }
828
+
829
+ super().__init__(
830
+ workspace_name="living_room_table",
831
+ fixture_num_info=fixture_num_info,
832
+ object_num_info=object_num_info,
833
+ )
834
+
835
+ def define_regions(self):
836
+ self.regions.update(
837
+ self.get_region_dict(
838
+ region_centroid_xy=[0.0, 0.26],
839
+ region_name="basket_init_region",
840
+ target_name=self.workspace_name,
841
+ region_half_len=0.01,
842
+ )
843
+ )
844
+
845
+ self.regions.update(
846
+ self.get_region_dict(
847
+ region_centroid_xy=[0.05, -0.10],
848
+ region_name="milk_init_region",
849
+ target_name=self.workspace_name,
850
+ region_half_len=0.025,
851
+ )
852
+ )
853
+
854
+ self.regions.update(
855
+ self.get_region_dict(
856
+ region_centroid_xy=[0.10, -0.20],
857
+ region_name="cream_cheese_init_region",
858
+ target_name=self.workspace_name,
859
+ region_half_len=0.025,
860
+ )
861
+ )
862
+
863
+ self.regions.update(
864
+ self.get_region_dict(
865
+ region_centroid_xy=[0.0, -0.25],
866
+ region_name="orange_juice_init_region",
867
+ target_name=self.workspace_name,
868
+ region_half_len=0.025,
869
+ )
870
+ )
871
+
872
+ self.regions.update(
873
+ self.get_region_dict(
874
+ region_centroid_xy=[-0.1, 0.05],
875
+ region_name="tomato_sauce_init_region",
876
+ target_name=self.workspace_name,
877
+ region_half_len=0.025,
878
+ )
879
+ )
880
+ self.regions.update(
881
+ self.get_region_dict(
882
+ region_centroid_xy=[-0.10, -0.15],
883
+ region_name="alphabet_soup_init_region",
884
+ target_name=self.workspace_name,
885
+ region_half_len=0.025,
886
+ )
887
+ )
888
+ self.regions.update(
889
+ self.get_region_dict(
890
+ region_centroid_xy=[0.05, 0.05],
891
+ region_name="butter_init_region",
892
+ target_name=self.workspace_name,
893
+ region_half_len=0.025,
894
+ )
895
+ )
896
+ self.regions.update(
897
+ self.get_region_dict(
898
+ region_centroid_xy=[-0.25, -0.15],
899
+ region_name="ketchup_init_region",
900
+ target_name=self.workspace_name,
901
+ region_half_len=0.025,
902
+ )
903
+ )
904
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
905
+ self.regions
906
+ )
907
+
908
+ @property
909
+ def init_states(self):
910
+ states = [
911
+ ("On", "alphabet_soup_1", "living_room_table_alphabet_soup_init_region"),
912
+ ("On", "cream_cheese_1", "living_room_table_cream_cheese_init_region"),
913
+ ("On", "tomato_sauce_1", "living_room_table_tomato_sauce_init_region"),
914
+ ("On", "ketchup_1", "living_room_table_ketchup_init_region"),
915
+ ("On", "milk_1", "living_room_table_milk_init_region"),
916
+ ("On", "orange_juice_1", "living_room_table_orange_juice_init_region"),
917
+ ("On", "butter_1", "living_room_table_butter_init_region"),
918
+ ("On", "basket_1", "living_room_table_basket_init_region"),
919
+ ]
920
+ return states
921
+
922
+
923
+ @register_mu(scene_type="living_room")
924
+ class LivingRoomScene3(InitialSceneTemplates):
925
+ def __init__(self):
926
+
927
+ fixture_num_info = {
928
+ "living_room_table": 1,
929
+ }
930
+
931
+ object_num_info = {
932
+ "alphabet_soup": 1,
933
+ "cream_cheese": 1,
934
+ "tomato_sauce": 1,
935
+ "ketchup": 1,
936
+ "butter": 1,
937
+ "wooden_tray": 1,
938
+ }
939
+
940
+ super().__init__(
941
+ workspace_name="living_room_table",
942
+ fixture_num_info=fixture_num_info,
943
+ object_num_info=object_num_info,
944
+ )
945
+
946
+ def define_regions(self):
947
+ self.regions.update(
948
+ self.get_region_dict(
949
+ region_centroid_xy=[0.0, 0.26],
950
+ region_name="wooden_tray_init_region",
951
+ target_name=self.workspace_name,
952
+ region_half_len=0.01,
953
+ )
954
+ )
955
+
956
+ self.regions.update(
957
+ self.get_region_dict(
958
+ region_centroid_xy=[0.10, -0.20],
959
+ region_name="cream_cheese_init_region",
960
+ target_name=self.workspace_name,
961
+ region_half_len=0.025,
962
+ )
963
+ )
964
+
965
+ self.regions.update(
966
+ self.get_region_dict(
967
+ region_centroid_xy=[-0.1, 0.05],
968
+ region_name="tomato_sauce_init_region",
969
+ target_name=self.workspace_name,
970
+ region_half_len=0.025,
971
+ )
972
+ )
973
+ self.regions.update(
974
+ self.get_region_dict(
975
+ region_centroid_xy=[-0.10, -0.15],
976
+ region_name="alphabet_soup_init_region",
977
+ target_name=self.workspace_name,
978
+ region_half_len=0.025,
979
+ )
980
+ )
981
+ self.regions.update(
982
+ self.get_region_dict(
983
+ region_centroid_xy=[0.05, 0.05],
984
+ region_name="butter_init_region",
985
+ target_name=self.workspace_name,
986
+ region_half_len=0.025,
987
+ )
988
+ )
989
+ self.regions.update(
990
+ self.get_region_dict(
991
+ region_centroid_xy=[-0.25, -0.15],
992
+ region_name="ketchup_init_region",
993
+ target_name=self.workspace_name,
994
+ region_half_len=0.025,
995
+ )
996
+ )
997
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
998
+ self.regions
999
+ )
1000
+
1001
+ @property
1002
+ def init_states(self):
1003
+ states = [
1004
+ ("On", "alphabet_soup_1", "living_room_table_alphabet_soup_init_region"),
1005
+ ("On", "cream_cheese_1", "living_room_table_cream_cheese_init_region"),
1006
+ ("On", "tomato_sauce_1", "living_room_table_tomato_sauce_init_region"),
1007
+ ("On", "ketchup_1", "living_room_table_ketchup_init_region"),
1008
+ ("On", "butter_1", "living_room_table_butter_init_region"),
1009
+ ("On", "wooden_tray_1", "living_room_table_wooden_tray_init_region"),
1010
+ ]
1011
+ return states
1012
+
1013
+
1014
+ @register_mu(scene_type="living_room")
1015
+ class LivingRoomScene4(InitialSceneTemplates):
1016
+ def __init__(self):
1017
+
1018
+ fixture_num_info = {
1019
+ "living_room_table": 1,
1020
+ }
1021
+
1022
+ object_num_info = {
1023
+ "akita_black_bowl": 2,
1024
+ "new_salad_dressing": 1,
1025
+ "chocolate_pudding": 1,
1026
+ "wooden_tray": 1,
1027
+ }
1028
+
1029
+ super().__init__(
1030
+ workspace_name="living_room_table",
1031
+ fixture_num_info=fixture_num_info,
1032
+ object_num_info=object_num_info,
1033
+ )
1034
+
1035
+ def define_regions(self):
1036
+ self.regions.update(
1037
+ self.get_region_dict(
1038
+ region_centroid_xy=[0.0, 0.26],
1039
+ region_name="wooden_tray_init_region",
1040
+ target_name=self.workspace_name,
1041
+ region_half_len=0.01,
1042
+ )
1043
+ )
1044
+
1045
+ self.regions.update(
1046
+ self.get_region_dict(
1047
+ region_centroid_xy=[0.10, -0.20],
1048
+ region_name="chocolate_pudding_init_region",
1049
+ target_name=self.workspace_name,
1050
+ region_half_len=0.025,
1051
+ )
1052
+ )
1053
+
1054
+ self.regions.update(
1055
+ self.get_region_dict(
1056
+ region_centroid_xy=[-0.1, 0.05],
1057
+ region_name="akita_black_bowl_right_init_region",
1058
+ target_name=self.workspace_name,
1059
+ region_half_len=0.025,
1060
+ )
1061
+ )
1062
+ self.regions.update(
1063
+ self.get_region_dict(
1064
+ region_centroid_xy=[-0.10, -0.15],
1065
+ region_name="akita_black_bowl_left_init_region",
1066
+ target_name=self.workspace_name,
1067
+ region_half_len=0.025,
1068
+ )
1069
+ )
1070
+ self.regions.update(
1071
+ self.get_region_dict(
1072
+ region_centroid_xy=[-0.25, -0.10],
1073
+ region_name="salad_dressing_init_region",
1074
+ target_name=self.workspace_name,
1075
+ region_half_len=0.025,
1076
+ )
1077
+ )
1078
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1079
+ self.regions
1080
+ )
1081
+
1082
+ @property
1083
+ def init_states(self):
1084
+ states = [
1085
+ (
1086
+ "On",
1087
+ "chocolate_pudding_1",
1088
+ "living_room_table_chocolate_pudding_init_region",
1089
+ ),
1090
+ (
1091
+ "On",
1092
+ "akita_black_bowl_1",
1093
+ "living_room_table_akita_black_bowl_left_init_region",
1094
+ ),
1095
+ (
1096
+ "On",
1097
+ "akita_black_bowl_2",
1098
+ "living_room_table_akita_black_bowl_right_init_region",
1099
+ ),
1100
+ (
1101
+ "On",
1102
+ "new_salad_dressing_1",
1103
+ "living_room_table_salad_dressing_init_region",
1104
+ ),
1105
+ ("On", "wooden_tray_1", "living_room_table_wooden_tray_init_region"),
1106
+ ]
1107
+ return states
1108
+
1109
+
1110
+ @register_mu(scene_type="living_room")
1111
+ class LivingRoomScene5(InitialSceneTemplates):
1112
+ def __init__(self):
1113
+
1114
+ fixture_num_info = {
1115
+ "living_room_table": 1,
1116
+ }
1117
+
1118
+ object_num_info = {
1119
+ "porcelain_mug": 1,
1120
+ "red_coffee_mug": 1,
1121
+ "white_yellow_mug": 1,
1122
+ "plate": 2,
1123
+ }
1124
+
1125
+ super().__init__(
1126
+ workspace_name="living_room_table",
1127
+ fixture_num_info=fixture_num_info,
1128
+ object_num_info=object_num_info,
1129
+ )
1130
+
1131
+ def define_regions(self):
1132
+ self.regions.update(
1133
+ self.get_region_dict(
1134
+ region_centroid_xy=[0.0, -0.30],
1135
+ region_name="plate_left_region",
1136
+ target_name=self.workspace_name,
1137
+ region_half_len=0.025,
1138
+ )
1139
+ )
1140
+ self.regions.update(
1141
+ self.get_region_dict(
1142
+ region_centroid_xy=[0.0, 0.30],
1143
+ region_name="plate_right_region",
1144
+ target_name=self.workspace_name,
1145
+ region_half_len=0.025,
1146
+ )
1147
+ )
1148
+
1149
+ self.regions.update(
1150
+ self.get_region_dict(
1151
+ region_centroid_xy=[-0.10, -0.15],
1152
+ region_name="porcelain_mug_init_region",
1153
+ target_name=self.workspace_name,
1154
+ region_half_len=0.025,
1155
+ )
1156
+ )
1157
+ self.regions.update(
1158
+ self.get_region_dict(
1159
+ region_centroid_xy=[-0.05, 0.10],
1160
+ region_name="white_yellow_mug_init_region",
1161
+ target_name=self.workspace_name,
1162
+ region_half_len=0.025,
1163
+ )
1164
+ )
1165
+ self.regions.update(
1166
+ self.get_region_dict(
1167
+ region_centroid_xy=[-0.20, 0.0],
1168
+ region_name="red_coffee_mug_init_region",
1169
+ target_name=self.workspace_name,
1170
+ region_half_len=0.025,
1171
+ )
1172
+ )
1173
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1174
+ self.regions
1175
+ )
1176
+
1177
+ @property
1178
+ def init_states(self):
1179
+ states = [
1180
+ ("On", "plate_1", "living_room_table_plate_left_region"),
1181
+ ("On", "plate_2", "living_room_table_plate_right_region"),
1182
+ ("On", "red_coffee_mug_1", "living_room_table_red_coffee_mug_init_region"),
1183
+ (
1184
+ "On",
1185
+ "white_yellow_mug_1",
1186
+ "living_room_table_white_yellow_mug_init_region",
1187
+ ),
1188
+ ("On", "porcelain_mug_1", "living_room_table_porcelain_mug_init_region"),
1189
+ ]
1190
+ return states
1191
+
1192
+
1193
+ @register_mu(scene_type="living_room")
1194
+ class LivingRoomScene6(InitialSceneTemplates):
1195
+ def __init__(self):
1196
+
1197
+ fixture_num_info = {
1198
+ "living_room_table": 1,
1199
+ }
1200
+
1201
+ object_num_info = {
1202
+ "porcelain_mug": 1,
1203
+ "red_coffee_mug": 1,
1204
+ "plate": 1,
1205
+ "chocolate_pudding": 1,
1206
+ }
1207
+
1208
+ super().__init__(
1209
+ workspace_name="living_room_table",
1210
+ fixture_num_info=fixture_num_info,
1211
+ object_num_info=object_num_info,
1212
+ )
1213
+
1214
+ def define_regions(self):
1215
+ self.regions.update(
1216
+ self.get_region_dict(
1217
+ region_centroid_xy=[0.15, -0.10],
1218
+ region_name="plate_left_region",
1219
+ target_name=self.workspace_name,
1220
+ region_half_len=0.05,
1221
+ )
1222
+ )
1223
+ self.regions.update(
1224
+ self.get_region_dict(
1225
+ region_centroid_xy=[0.15, 0.10],
1226
+ region_name="plate_right_region",
1227
+ target_name=self.workspace_name,
1228
+ region_half_len=0.05,
1229
+ )
1230
+ )
1231
+ self.regions.update(
1232
+ self.get_region_dict(
1233
+ region_centroid_xy=[0.15, 0.0],
1234
+ region_name="plate_init_region",
1235
+ target_name=self.workspace_name,
1236
+ region_half_len=0.025,
1237
+ )
1238
+ )
1239
+ self.regions.update(
1240
+ self.get_region_dict(
1241
+ region_centroid_xy=[-0.10, -0.15],
1242
+ region_name="porcelain_mug_init_region",
1243
+ target_name=self.workspace_name,
1244
+ region_half_len=0.025,
1245
+ )
1246
+ )
1247
+ self.regions.update(
1248
+ self.get_region_dict(
1249
+ region_centroid_xy=[-0.05, 0.10],
1250
+ region_name="chocolate_pudding_init_region",
1251
+ target_name=self.workspace_name,
1252
+ region_half_len=0.025,
1253
+ )
1254
+ )
1255
+ self.regions.update(
1256
+ self.get_region_dict(
1257
+ region_centroid_xy=[-0.20, 0.0],
1258
+ region_name="red_coffee_mug_init_region",
1259
+ target_name=self.workspace_name,
1260
+ region_half_len=0.025,
1261
+ )
1262
+ )
1263
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1264
+ self.regions
1265
+ )
1266
+
1267
+ @property
1268
+ def init_states(self):
1269
+ states = [
1270
+ ("On", "plate_1", "living_room_table_plate_init_region"),
1271
+ ("On", "red_coffee_mug_1", "living_room_table_red_coffee_mug_init_region"),
1272
+ (
1273
+ "On",
1274
+ "chocolate_pudding_1",
1275
+ "living_room_table_chocolate_pudding_init_region",
1276
+ ),
1277
+ ("On", "porcelain_mug_1", "living_room_table_porcelain_mug_init_region"),
1278
+ ]
1279
+ return states
1280
+
1281
+
1282
+ @register_mu(scene_type="study")
1283
+ class StudyScene1(InitialSceneTemplates):
1284
+ def __init__(self):
1285
+
1286
+ fixture_num_info = {
1287
+ "study_table": 1,
1288
+ "desk_caddy": 1,
1289
+ }
1290
+
1291
+ object_num_info = {
1292
+ "black_book": 1,
1293
+ "white_yellow_mug": 1,
1294
+ }
1295
+
1296
+ super().__init__(
1297
+ workspace_name="study_table",
1298
+ fixture_num_info=fixture_num_info,
1299
+ object_num_info=object_num_info,
1300
+ )
1301
+
1302
+ def define_regions(self):
1303
+ self.regions.update(
1304
+ self.get_region_dict(
1305
+ region_centroid_xy=[-0.20, -0.14],
1306
+ region_name="desk_caddy_init_region",
1307
+ target_name=self.workspace_name,
1308
+ region_half_len=0.01,
1309
+ yaw_rotation=(np.pi, np.pi),
1310
+ )
1311
+ )
1312
+ self.regions.update(
1313
+ self.get_region_dict(
1314
+ region_centroid_xy=[0.0, 0.15],
1315
+ region_name="black_book_init_region",
1316
+ target_name=self.workspace_name,
1317
+ region_half_len=0.025,
1318
+ yaw_rotation=(-np.pi / 2, -np.pi / 4),
1319
+ )
1320
+ )
1321
+ self.regions.update(
1322
+ self.get_region_dict(
1323
+ region_centroid_xy=[0.10, 0.0],
1324
+ region_name="white_yellow_mug_init_region",
1325
+ target_name=self.workspace_name,
1326
+ region_half_len=0.025,
1327
+ )
1328
+ )
1329
+ self.regions.update(
1330
+ self.get_region_dict(
1331
+ region_centroid_xy=[-0.20, 0.15],
1332
+ region_name="desk_caddy_right_region",
1333
+ target_name=self.workspace_name,
1334
+ region_half_len=0.05,
1335
+ yaw_rotation=(np.pi, np.pi),
1336
+ )
1337
+ )
1338
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1339
+ self.regions
1340
+ )
1341
+
1342
+ @property
1343
+ def init_states(self):
1344
+ states = [
1345
+ ("On", "desk_caddy_1", "study_table_desk_caddy_init_region"),
1346
+ ("On", "black_book_1", "study_table_black_book_init_region"),
1347
+ ("On", "white_yellow_mug_1", "study_table_white_yellow_mug_init_region"),
1348
+ ]
1349
+ return states
1350
+
1351
+
1352
+ @register_mu(scene_type="study")
1353
+ class StudyScene2(InitialSceneTemplates):
1354
+ def __init__(self):
1355
+ fixture_num_info = {
1356
+ "study_table": 1,
1357
+ "desk_caddy": 1,
1358
+ }
1359
+
1360
+ object_num_info = {
1361
+ "black_book": 1,
1362
+ "red_coffee_mug": 1,
1363
+ }
1364
+
1365
+ super().__init__(
1366
+ workspace_name="study_table",
1367
+ fixture_num_info=fixture_num_info,
1368
+ object_num_info=object_num_info,
1369
+ )
1370
+
1371
+ def define_regions(self):
1372
+ self.regions.update(
1373
+ self.get_region_dict(
1374
+ region_centroid_xy=[0.0, 0.15],
1375
+ region_name="red_coffee_mug_init_region",
1376
+ target_name=self.workspace_name,
1377
+ region_half_len=0.025,
1378
+ )
1379
+ )
1380
+ self.regions.update(
1381
+ self.get_region_dict(
1382
+ region_centroid_xy=[0.0, -0.05],
1383
+ region_name="black_book_init_region",
1384
+ target_name=self.workspace_name,
1385
+ region_half_len=0.025,
1386
+ yaw_rotation=(-np.pi / 2, -np.pi / 4),
1387
+ )
1388
+ )
1389
+ self.regions.update(
1390
+ self.get_region_dict(
1391
+ region_centroid_xy=[-0.20, -0.14],
1392
+ region_name="desk_caddy_init_region",
1393
+ target_name=self.workspace_name,
1394
+ region_half_len=0.01,
1395
+ yaw_rotation=(np.pi, np.pi),
1396
+ )
1397
+ )
1398
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1399
+ self.regions
1400
+ )
1401
+
1402
+ @property
1403
+ def init_states(self):
1404
+ states = [
1405
+ ("On", "desk_caddy_1", "study_table_desk_caddy_init_region"),
1406
+ ("On", "black_book_1", "study_table_black_book_init_region"),
1407
+ ("On", "red_coffee_mug_1", "study_table_red_coffee_mug_init_region"),
1408
+ ]
1409
+ return states
1410
+
1411
+
1412
+ @register_mu(scene_type="study")
1413
+ class StudyScene3(InitialSceneTemplates):
1414
+ def __init__(self):
1415
+ fixture_num_info = {
1416
+ "study_table": 1,
1417
+ "desk_caddy": 1,
1418
+ }
1419
+
1420
+ object_num_info = {
1421
+ "black_book": 1,
1422
+ "red_coffee_mug": 1,
1423
+ "porcelain_mug": 1,
1424
+ }
1425
+
1426
+ super().__init__(
1427
+ workspace_name="study_table",
1428
+ fixture_num_info=fixture_num_info,
1429
+ object_num_info=object_num_info,
1430
+ )
1431
+
1432
+ def define_regions(self):
1433
+ self.regions.update(
1434
+ self.get_region_dict(
1435
+ region_centroid_xy=[0.20, 0.15],
1436
+ region_name="red_coffee_mug_init_region",
1437
+ target_name=self.workspace_name,
1438
+ region_half_len=0.025,
1439
+ )
1440
+ )
1441
+ self.regions.update(
1442
+ self.get_region_dict(
1443
+ region_centroid_xy=[0.10, 0.15],
1444
+ region_name="red_coffee_mug_behind_region",
1445
+ target_name=self.workspace_name,
1446
+ region_half_len=0.05,
1447
+ )
1448
+ )
1449
+ self.regions.update(
1450
+ self.get_region_dict(
1451
+ region_centroid_xy=[0.0, 0.0],
1452
+ region_name="porcelain_mug_init_region",
1453
+ target_name=self.workspace_name,
1454
+ region_half_len=0.025,
1455
+ )
1456
+ )
1457
+ self.regions.update(
1458
+ self.get_region_dict(
1459
+ region_centroid_xy=[0.10, 0.0],
1460
+ region_name="black_book_init_region",
1461
+ target_name=self.workspace_name,
1462
+ region_half_len=0.025,
1463
+ )
1464
+ )
1465
+ self.regions.update(
1466
+ self.get_region_dict(
1467
+ region_centroid_xy=[-0.20, -0.14],
1468
+ region_name="desk_caddy_init_region",
1469
+ target_name=self.workspace_name,
1470
+ region_half_len=0.01,
1471
+ yaw_rotation=(np.pi, np.pi),
1472
+ )
1473
+ )
1474
+ self.regions.update(
1475
+ self.get_region_dict(
1476
+ region_centroid_xy=[0.0, -0.15],
1477
+ region_name="desk_caddy_front_left_contain_region",
1478
+ target_name=self.workspace_name,
1479
+ region_half_len=0.025,
1480
+ )
1481
+ )
1482
+ self.regions.update(
1483
+ self.get_region_dict(
1484
+ region_centroid_xy=[-0.20, 0.15],
1485
+ region_name="desk_caddy_right_region",
1486
+ target_name=self.workspace_name,
1487
+ region_half_len=0.05,
1488
+ yaw_rotation=(np.pi, np.pi),
1489
+ )
1490
+ )
1491
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1492
+ self.regions
1493
+ )
1494
+
1495
+ @property
1496
+ def init_states(self):
1497
+ states = [
1498
+ ("On", "desk_caddy_1", "study_table_desk_caddy_init_region"),
1499
+ ("On", "black_book_1", "study_table_desk_caddy_front_left_contain_region"),
1500
+ ("On", "porcelain_mug_1", "study_table_porcelain_mug_init_region"),
1501
+ ("On", "red_coffee_mug_1", "study_table_red_coffee_mug_init_region"),
1502
+ ]
1503
+ return states
1504
+
1505
+
1506
+ @register_mu(scene_type="study")
1507
+ class StudyScene4(InitialSceneTemplates):
1508
+ def __init__(self):
1509
+ fixture_num_info = {
1510
+ "study_table": 1,
1511
+ "wooden_two_layer_shelf": 1,
1512
+ }
1513
+
1514
+ object_num_info = {
1515
+ "black_book": 1,
1516
+ "yellow_book": 2,
1517
+ }
1518
+
1519
+ super().__init__(
1520
+ workspace_name="study_table",
1521
+ fixture_num_info=fixture_num_info,
1522
+ object_num_info=object_num_info,
1523
+ )
1524
+
1525
+ def define_regions(self):
1526
+ self.regions.update(
1527
+ self.get_region_dict(
1528
+ region_centroid_xy=[0.0, 0.0],
1529
+ region_name="yellow_book_right_init_region",
1530
+ target_name=self.workspace_name,
1531
+ region_half_len=0.01,
1532
+ )
1533
+ )
1534
+ self.regions.update(
1535
+ self.get_region_dict(
1536
+ region_centroid_xy=[-0.05, -0.25],
1537
+ region_name="yellow_book_left_init_region",
1538
+ target_name=self.workspace_name,
1539
+ region_half_len=0.01,
1540
+ )
1541
+ )
1542
+ self.regions.update(
1543
+ self.get_region_dict(
1544
+ region_centroid_xy=[0.05, -0.15],
1545
+ region_name="black_book_init_region",
1546
+ target_name=self.workspace_name,
1547
+ region_half_len=0.01,
1548
+ )
1549
+ )
1550
+ self.regions.update(
1551
+ self.get_region_dict(
1552
+ region_centroid_xy=[0.0, 0.28],
1553
+ region_name="wooden_two_layer_shelf_init_region",
1554
+ target_name=self.workspace_name,
1555
+ region_half_len=0.01,
1556
+ yaw_rotation=(0, 0),
1557
+ )
1558
+ )
1559
+ self.xy_region_kwargs_list = get_xy_region_kwargs_list_from_regions_info(
1560
+ self.regions
1561
+ )
1562
+
1563
+ @property
1564
+ def init_states(self):
1565
+ states = [
1566
+ (
1567
+ "On",
1568
+ "wooden_two_layer_shelf_1",
1569
+ "study_table_wooden_two_layer_shelf_init_region",
1570
+ ),
1571
+ ("On", "yellow_book_1", "study_table_yellow_book_right_init_region"),
1572
+ ("On", "yellow_book_2", "study_table_yellow_book_left_init_region"),
1573
+ ("On", "black_book_1", "study_table_black_book_init_region"),
1574
+ ]
1575
+ return states