Skip to content

Commit 02ce175

Browse files
committed
intergrate openvla policy and PR
1 parent 5d456c9 commit 02ce175

File tree

2 files changed

+24
-41
lines changed

2 files changed

+24
-41
lines changed

README.md

-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
# SimplerEnv: Simulated Manipulation Policy Evaluation Environments for Real Robot Setups + OpenVLA policy
22

3-
> [!IMPORTANT]
4-
> This a fork repo from [SimplerEnv](https://github.com/simpler-env/SimplerEnv) with [openvla](https://github.com/openvla/openvla) policy intergration. The evaluation results are not very satisfactory, possibly due to my code implementation and the OpenVLA model itself. I need about one day to complete all the experiments and organize the data before reporting the results. If you have any questions, please feel free to suggest code modifications and raise issues.
5-
> * the evaluation scripts keep consistent with original repo under ./scripts/
6-
7-
```bash
8-
openvla_bridge.sh
9-
openvla_drawer_variant_agg.sh
10-
openvla_drawer_visual_matching.sh
11-
openvla_move_near_variant_agg.sh
12-
openvla_move_near_visual_matching.sh
13-
openvla_pick_coke_can_variant_agg.sh
14-
openvla_pick_coke_can_visual_matching.sh
15-
openvla_put_in_drawer_variant_agg.sh
16-
openvla_put_in_drawer_visual_matching.sh
17-
```
18-
193
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/simpler-env/SimplerEnv/blob/main/example.ipynb)
204

215
![](./images/teaser.png)

scripts/openvla_bridge.sh

+24-25
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,30 @@ robot=widowx
77
rgb_overlay_path=ManiSkill2_real2sim/data/real_inpainting/bridge_real_eval_1.png
88
robot_init_x=0.147
99
robot_init_y=0.028
10-
export DISPLAY=:1.0
11-
# VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
12-
# python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
13-
# --robot ${robot} --policy-setup widowx_bridge \
14-
# --control-freq 5 --sim-freq 500 --max-episode-steps 60 \
15-
# --env-name PutCarrotOnPlateInScene-v0 --scene-name ${scene_name} \
16-
# --rgb-overlay-path ${rgb_overlay_path} \
17-
# --robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
18-
# --robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
19-
#
20-
# python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
21-
# --robot ${robot} --policy-setup widowx_bridge \
22-
# --control-freq 5 --sim-freq 500 --max-episode-steps 60 \
23-
# --env-name StackGreenCubeOnYellowCubeBakedTexInScene-v0 --scene-name ${scene_name} \
24-
# --rgb-overlay-path ${rgb_overlay_path} \
25-
# --robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
26-
# --robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
27-
#
28-
# python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
29-
# --robot ${robot} --policy-setup widowx_bridge \
30-
# --control-freq 5 --sim-freq 500 --max-episode-steps 60 \
31-
# --env-name PutSpoonOnTableClothInScene-v0 --scene-name ${scene_name} \
32-
# --rgb-overlay-path ${rgb_overlay_path} \
33-
# --robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
34-
# --robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
10+
11+
python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
12+
--robot ${robot} --policy-setup widowx_bridge \
13+
--control-freq 5 --sim-freq 500 --max-episode-steps 60 \
14+
--env-name PutCarrotOnPlateInScene-v0 --scene-name ${scene_name} \
15+
--rgb-overlay-path ${rgb_overlay_path} \
16+
--robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
17+
--robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
18+
19+
python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
20+
--robot ${robot} --policy-setup widowx_bridge \
21+
--control-freq 5 --sim-freq 500 --max-episode-steps 60 \
22+
--env-name StackGreenCubeOnYellowCubeBakedTexInScene-v0 --scene-name ${scene_name} \
23+
--rgb-overlay-path ${rgb_overlay_path} \
24+
--robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
25+
--robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
26+
27+
python simpler_env/main_inference.py --policy-model ${policy_model} --ckpt-path ${ckpt_path} \
28+
--robot ${robot} --policy-setup widowx_bridge \
29+
--control-freq 5 --sim-freq 500 --max-episode-steps 60 \
30+
--env-name PutSpoonOnTableClothInScene-v0 --scene-name ${scene_name} \
31+
--rgb-overlay-path ${rgb_overlay_path} \
32+
--robot-init-x ${robot_init_x} ${robot_init_x} 1 --robot-init-y ${robot_init_y} ${robot_init_y} 1 --obj-variation-mode episode --obj-episode-range 0 24 \
33+
--robot-init-rot-quat-center 0 0 0 1 --robot-init-rot-rpy-range 0 0 1 0 0 1 0 0 1;
3534

3635

3736
scene_name=bridge_table_1_v2

0 commit comments

Comments
 (0)