-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·34 lines (27 loc) · 944 Bytes
/
run.sh
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
SCRIPT=./train_layout.py
DATA=./data/scriptOutput.csv
AUG='{"Affine": {"scale": [0.9, 0.65],"rotate": [5,25],"shear": [10,30]}}'
for gcn_layers in 1 2 4
do
for gcn_repetitions in 1 2 4
do
for layer_type in GatedGraphConv GraphConv
do
for activation in None ReLU
do
python -u $SCRIPT --name test -d $DATA \
--batch-size 24 --learning-rate 0.0002 --max-iteration 50000 \
--net-config "{\"type\":\"gcn\", \"gcn_layers\":${gcn_layers}, \"gcn_repetitions\":${gcn_repetitions}, \"hidden_dim\":64, \"layer_type\":\"${layer_type}\", \"activation\":\"${activation}\"}" \
--aug $AUG\
| tee -a log_GCN_${layer_type}_${activation}_d64_l${gcn_layers}_r${gcn_repetitions}.log
done
done
done
done
exit
for l in $(seq 1 8)
do
python -u $SCRIPT --name test -d $DATA \
--batch-size 16 --learning-rate 0.0002 --max-iteration 50000 \
--net-config "{\"type\":\"mlp\", \"depth\":${l}}" --aug $AUG | tee -a log_MLP_d64_l${l}.log
done