Skip to content

Commit 8c0a23d

Browse files
committed
intergrate openvla policy and PR
1 parent 0a44c35 commit 8c0a23d

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

scripts/openvla_bridge.sh

Lines changed: 24 additions & 25 deletions
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)