summaryrefslogtreecommitdiff
path: root/diag/run_cycle.sh
blob: f85a6fd529b5edeaeadbe6caf2ec94d558ddadd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
# Ring-counting (ZINC, [#5-cycles,#6-cycles]) diagnosis: does a real 1-WL ceiling exist,
# and does noise (RNI) vs structured >1-WL (RWSE) break it?
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_cycle.py "$@" --layers 5 --epochs 200 --seed 0 || echo "!! FAILED $*"; }
run --conv gin --feat none      # 1-WL baseline (should fail to count)
run --conv gcn --feat none      # sub-1-WL reference
run --conv gin --feat rni       # noise / PTRM-style crude symmetry break
run --conv gin --feat rwse      # structured >1-WL positive control
echo "done=$(date -Is)"