-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_conjuction_experiments.sh
101 lines (73 loc) · 3.27 KB
/
run_conjuction_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
#!/bin/bash
############
# settings #
############
LOGS="out/logs/"
mkdir -p $LOGS
echo "# EXPERIMENTS WITH CONJUNCTION OF PROPERTIES #"
MODEL_PREFIX="GRN"
MODEL_DIM=2
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done
MODEL_PREFIX="MRH"
MODEL_DIM=2
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done
MODEL_PREFIX="GRN"
MODEL_DIM=4
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0 1 2 3 4 5
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done
MODEL_PREFIX="MRH"
MODEL_DIM=4
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0 1 2 3 4 5
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done
MODEL_PREFIX="GRN"
MODEL_DIM=6
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done
MODEL_PREFIX="MRH"
MODEL_DIM=8
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M:%S)
OUT="${LOGS}Conj_${MODEL_PREFIX}${MODEL_DIM}_${DATE}_${TIME}_out.txt"
for i in 0 1 2 3 4 5 6
do
echo $MODEL_PREFIX$MODEL_DIM i: $i
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag True --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
python comb_stoch_run_cqr.py --qr_training_flag False --comb_calibr_flag False --comb_idx $i --model_prefix $MODEL_PREFIX --model_dim $MODEL_DIM >> $OUT 2>&1
done