summaryrefslogtreecommitdiff
path: root/diag/run_rec.sh
blob: 632498de350e48a9e5c6da71bf84109d9dd3ce54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
# Step-2: recursive GNN + full PTRM on ZINC ring-counting. Does per-step noise + best-Q@K
# selection break the 1-WL counting ceiling that input-RNI couldn't? Averaging vs selection.
set -uo pipefail
cd /home/yurenh2/rrog
export PYTHONPATH=/home/yurenh2/rrog
echo "host=$(hostname) gpu=${CUDA_VISIBLE_DEVICES:-?} start=$(date -Is)"
run() { echo "===== $* ====="; python3 diag/train_rec.py "$@" --epochs 200 --seed 0 || echo "!! FAILED $*"; }
run --sigma 0   --K 1  --select bestq    # deterministic recursive baseline (~1-WL ceiling)
run --sigma 0.1 --K 8  --select none     # averaging over rollouts (RNI-style null)
run --sigma 0.1 --K 8  --select bestq    # PTRM-proper: per-step noise + best-Q@K selection
run --sigma 0.2 --K 16 --select bestq    # scaled noise + rollouts
echo "done=$(date -Is)"