-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_figure19.sh
105 lines (89 loc) · 4.3 KB
/
run_figure19.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
# caltech_birds2011 resnet50
python3 profiler.py --model_name resnet50 \
--num_classes 200
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type elastic_training \
--run_name resnet50_ElasticTrainer \
--rho 0.4 \
--save_txt True
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type full_training \
--run_name resnet50_Full_training \
--save_txt True
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type traditional_tl_training \
--run_name resnet50_Traditional_TL \
--save_txt True
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type bn_plus_bias_training \
--run_name resnet50_BN+Bias \
--save_txt True
# caltech_birds2011 vgg16
python3 profiler.py --model_name vgg16 \
--num_classes 200
python3 main.py --model_name vgg16 \
--dataset_name caltech_birds2011 \
--train_type elastic_training \
--run_name vgg16_ElasticTrainer \
--rho 0.4 \
--save_txt True
python3 main.py --model_name vgg16 \
--dataset_name caltech_birds2011 \
--train_type full_training \
--run_name vgg16_Full_training \
--save_txt True
python3 main.py --model_name vgg16 \
--dataset_name caltech_birds2011 \
--train_type traditional_tl_training \
--run_name vgg16_Traditional_TL \
--save_txt True
python3 main.py --model_name vgg16 \
--dataset_name caltech_birds2011 \
--train_type bn_plus_bias_training \
--run_name vgg16_BN+Bias \
--save_txt True
# caltech_birds2011 mobilenetv2
python3 profiler.py --model_name mobilenetv2 \
--num_classes 200
python3 main.py --model_name mobilenetv2 \
--dataset_name caltech_birds2011 \
--train_type elastic_training \
--run_name mobilenetv2_ElasticTrainer \
--rho 0.4 \
--save_txt True
python3 main.py --model_name mobilenetv2 \
--dataset_name caltech_birds2011 \
--train_type full_training \
--run_name mobilenetv2_Full_training \
--num_epochs 24 \
--save_txt True
python3 main.py --model_name mobilenetv2 \
--dataset_name caltech_birds2011 \
--train_type traditional_tl_training \
--run_name mobilenetv2_Traditional_TL \
--save_txt True
python3 main.py --model_name mobilenetv2 \
--dataset_name caltech_birds2011 \
--train_type bn_plus_bias_training \
--run_name mobilenetv2_BN+Bias \
--save_txt True
python3 plot_bars_v2.py --path_to_elastic_trainer_resnet50 resnet50_ElasticTrainer \
--path_to_elastic_trainer_vgg16 vgg16_ElasticTrainer \
--path_to_elastic_trainer_mobilenetv2 mobilenetv2_ElasticTrainer \
--path_to_full_training_resnet50 resnet50_Full_training \
--path_to_full_training_vgg16 vgg16_Full_training \
--path_to_full_training_mobilenetv2 mobilenetv2_Full_training \
--path_to_traditional_tl_resnet50 resnet50_Traditional_TL \
--path_to_traditional_tl_vgg16 vgg16_Traditional_TL \
--path_to_traditional_tl_mobilenetv2 mobilenetv2_Traditional_TL \
--path_to_bn_plus_bias_resnet50 resnet50_BN+Bias \
--path_to_bn_plus_bias_vgg16 vgg16_BN+Bias \
--path_to_bn_plus_bias_mobilenetv2 mobilenetv2_BN+Bias \
--figure_id 1 \
--figure_name Figure_19 \
--ego False