-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_single_experiments.sh
105 lines (81 loc) · 2.42 KB
/
run_single_experiments.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/bin/bash
############
# settings #
############
LOGS="out/logs/"
mkdir -p $LOGS
echo "# SINGLE PROPERTY EXPERIMENTS #"
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}AAD_${DATE}_${TIME}_out.txt"
# AAD
echo "AAD"
python stoch_run_cqr.py --qr_training_flag False --property_idx -1 --model_prefix "AAD" --model_dim 2 >> $OUT 2>&1
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}AAD-F_${DATE}_${TIME}_out.txt"
# AAD-F
echo "AAD-F"
python stoch_run_cqr.py --qr_training_flag False --property_idx -1 --model_prefix "AADF" --model_dim 2 >> $OUT 2>&1
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}EHT_${DATE}_${TIME}_out.txt"
# EHT
echo "EHT"
python stoch_run_cqr.py --qr_training_flag False --property_idx -1 --model_prefix "EHT" --model_dim 2 >> $OUT 2>&1
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}MRH2_${DATE}_${TIME}_out.txt"
MODEL_PREFIX="MRH"
# MRH 2
for i in 0 1
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 2 >> $OUT 2>&1
done
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}MRH4_${DATE}_${TIME}_out.txt"
# MRH 4
for i in 0 1 2 3
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 4 >> $OUT 2>&1
done
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}MRH8_${DATE}_${TIME}_out.txt"
# MRH 8
for i in 0 1 2 3 4 5 6 7
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 8 >> $OUT 2>&1
done
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}GRN2_${DATE}_${TIME}_out.txt"
MODEL_PREFIX="GRN"
# GRN 2
for i in 0 1
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 2 >> $OUT 2>&1
done
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}GRN4_${DATE}_${TIME}_out.txt"
# GRN 4
for i in 0 1 2 3
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 4 >> $OUT 2>&1
done
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}GRN6_${DATE}_${TIME}_out.txt"
# GRN 6
for i in 0 1 2 3 4 5
do
echo $MODEL_PREFIX i: $i
python stoch_run_cqr.py --qr_training_flag False --property_idx $i --model_prefix $MODEL_PREFIX --model_dim 6 >> $OUT 2>&1
done