-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy patheval.sh
More file actions
40 lines (36 loc) · 1.36 KB
/
eval.sh
File metadata and controls
40 lines (36 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
source /nvme_data/zhiyuanma/miniconda3/bin/activate rlvla
# 切换到工作目录
cd SimplerEnv
# 定义变量
unnorm_key="bridge_orig"
vla_load_path="../SimplerEnv/wandb/run-20250614_062442-cert5non/glob/steps_389"
# 遍历种子和环境 ID
for seed in 0 1 2; do
for env_id in \
"PutOnPlateInScene25VisionImage-v1" \
"PutOnPlateInScene25VisionTexture03-v1" \
"PutOnPlateInScene25VisionTexture05-v1" \
"PutOnPlateInScene25VisionWhole03-v1" \
"PutOnPlateInScene25VisionWhole05-v1" \
"PutOnPlateInScene25Carrot-v1" \
"PutOnPlateInScene25Plate-v1" \
"PutOnPlateInScene25Instruct-v1" \
"PutOnPlateInScene25MultiCarrot-v1" \
"PutOnPlateInScene25MultiPlate-v1" \
"PutOnPlateInScene25Position-v1" \
"PutOnPlateInScene25EEPose-v1" \
"PutOnPlateInScene25PositionChangeTo-v1"; do
ckpt_path="../openvla/checkpoints/warmup/steps_2000/merged_002000"
CUDA_VISIBLE_DEVICES=$cuda XLA_PYTHON_CLIENT_PREALLOCATE=false \
python simpler_env/train_ms3_ppo.py \
--vla_path="${ckpt_path}" \
--vla_unnorm_key="${unnorm_key}" \
--vla_load_path="${vla_load_path}" \
--env_id="${env_id}" \
--seed=${seed} \
--buffer_inferbatch=64 \
--no_wandb \
--only_render
done
done