AsianPlayer/TriDrive / code /eval /run_v0_stats2_pairs.sh
AsianPlayer's picture
download
raw
1.06 kB
#!/usr/bin/env bash
# cwm3/eval/run_v0_stats2_pairs.sh — V base stats2 vs stats1 (roadmap §三 6): V0_can4s_s<k>_stats2 vs V0_can4s_s<k> on identical rows, both regimes, CPU.
# bash eval/run_v0_stats2_pairs.sh "0 1 2" (idempotent: tags V0s2_s<k>_stats2_vs_stats1 already in results/paired_compare.csv are skipped)
set -u
cd "$(dirname "$0")/.."
PY=python
export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4
have_tag() { grep -q ",$1,$2,test," results/paired_compare.csv 2>/dev/null; }
for s in ${1:-0 1 2}; do
A=results/runs/V0_can4s_s${s}_stats2; B=results/runs/V0_can4s_s${s}
[[ -f $A/PRED_DONE && -f $A/TRAIN_DONE && -f $B/PRED_DONE && -f $B/TRAIN_DONE ]] || { echo "skip s$s (runs not finished)"; continue; }
for reg in manual engaged; do
have_tag "V0s2_s${s}_stats2_vs_stats1" "$reg" && continue
echo "== V0s2_s${s}_stats2_vs_stats1 $reg"
$PY eval/paired_compare.py --regime "$reg" --a "$A" --b "$B" --tag "V0s2_s${s}_stats2_vs_stats1" 2>&1 | grep -E "appended|Error|Traceback|File \"|layout guard"
done
done
echo V0S2_PAIRS_DONE

Xet Storage Details

Size:
1.06 kB
·
Xet hash:
0d34fb6c7762825fb1187bd59eb6a77dc3d637505904102283873cfcc1c5803e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.