forked from deephyper/deephyper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrain.sh
More file actions
32 lines (29 loc) · 736 Bytes
/
train.sh
File metadata and controls
32 lines (29 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
conda activate agu # or source activate agu
ROOT_DIR="./autognnuq/"
DATA_DIR="./autognnuq/data/"
BATCH_SIZE=128
LEARNING_RATE=0.001
EPOCH=30
MAX_EVAL=1000
for SEED in {0..7}; do
for DATASET in "delaney" "freesolv" "lipo" "qm7" "qm9"; do
if [ "$DATASET" == "qm9" ]; then
SPLIT_TYPE="811"
else
SPLIT_TYPE="523"
fi
for SIMPLE in 0 1; do
python train.py --ROOT_DIR "$ROOT_DIR" \
--DATA_DIR "$DATA_DIR" \
--SPLIT_TYPE "$SPLIT_TYPE" \
--seed $SEED \
--dataset "$DATASET" \
--batch_size $BATCH_SIZE \
--learning_rate $LEARNING_RATE \
--epoch $EPOCH \
--simple $SIMPLE \
--max_eval $MAX_EVAL
done
done
done