trace-vla-code / code /sera_v4 /tools /chain_fs1_e2_eval.sh
phammminhhieu's picture
TRACE-VLA code snapshot 2026-11-22 11:47 +07: 456 canonical files + SHA256 manifest + sync report
b4396f0 verified
Raw History Blame Contribute Delete
627 Bytes
#!/bin/bash
# E2 eval chain for one arm: full E1 protocol (5 conditions)
# on that arm's checkpoint 010000. Usage: chain_fs1_e2_eval.sh <run>
set -u
RUN=$1
EXP=$HOME/sera_v4_experiments
CKPT=$EXP/$RUN/checkpoints/010000/pretrained_model
SHORT=${RUN##*-}
RES=$EXP/fewshot/results
mkdir -p "$RES"
cd "$HOME/lerobot"
run_cond() {
.venv/bin/python "$EXP/tools/eval_demo.py" --ckpt "$CKPT" \
--condition "$1" --out "$RES/fs1-$SHORT-cond-$1.jsonl" \
> "$RES/fs1-$SHORT-cond-$1.log" 2>&1
echo "$SHORT condition $1 done"
}
run_cond b & run_cond a & run_cond c & wait
run_cond d & run_cond e & wait
echo "E2 EVAL DONE $RUN"