trace-vla-code / code /sera_v4 /tools /chain_fs1_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
719 Bytes
#!/bin/bash
# FEW-SHOT PHASE 1 (E1) eval chain: 5 conditions on checkpoint
# 010000, gate-critical conditions first. Wave 1 runs b/a/c in
# parallel lanes (one GPU, ~3 GB per eval process), wave 2 runs
# d/e. Each condition is resumable; this script is idempotent.
set -u
EXP=$HOME/sera_v4_experiments
CKPT=$EXP/sera-v4-fs1-demo/checkpoints/010000/pretrained_model
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-cond-$1.jsonl" \
> "$RES/fs1-cond-$1.log" 2>&1
echo "condition $1 done"
}
run_cond b & run_cond a & run_cond c & wait
run_cond d & run_cond e & wait
echo "ALL CONDITIONS DONE"