diff options
| author | YurenHao0426 <Blackhao0426@gmail.com> | 2026-07-21 06:38:55 -0500 |
|---|---|---|
| committer | YurenHao0426 <Blackhao0426@gmail.com> | 2026-07-21 06:38:55 -0500 |
| commit | 215acff518eea2d6d8a5bd7c90c398f49cc3b41b (patch) | |
| tree | 8c79739d8b0a614ce76e685a3eff323d4cdb1742 /experiments/diag_norm.sh | |
chore: capture initial SDIL project state
Diffstat (limited to 'experiments/diag_norm.sh')
| -rw-r--r-- | experiments/diag_norm.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/experiments/diag_norm.sh b/experiments/diag_norm.sh new file mode 100644 index 0000000..530cf44 --- /dev/null +++ b/experiments/diag_norm.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +cd /home/yurenh2/sdil +mkdir -p /tmp/diag logs/diag +SUM=logs/diag/summary.txt; : > "$SUM" +cfg() { # tag, extra-args... + local tag="$1"; shift + python3 experiments/run.py --device cpu --dataset fmnist --depth 5 --width 128 \ + --epochs 4 --tag "$tag" --outdir /tmp/diag "$@" > logs/diag/$tag.log 2>&1 + grep -h DONE logs/diag/$tag.log >> "$SUM" +} +cfg d_dfa --mode dfa --eta 0.05 +cfg d_sdil_raw --mode sdil --eta 0.05 --normalize_delta 0 --pert_ndirs 8 +cfg d_sdil_n01 --mode sdil --eta 0.1 --normalize_delta 1 --pert_ndirs 8 +cfg d_sdil_n03 --mode sdil --eta 0.3 --normalize_delta 1 --pert_ndirs 8 +echo "ALL DIAG DONE" >> "$SUM" |
