-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_figure16.sh
89 lines (75 loc) · 3.6 KB
/
run_figure16.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
#!/bin/bash
# caltech_birds2011
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 CUB200_ElasticTrainer
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type full_training \
--run_name CUB200_Full_training
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type traditional_tl_training \
--run_name CUB200_Traditional_TL
python3 main.py --model_name resnet50 \
--dataset_name caltech_birds2011 \
--train_type bn_plus_bias_training \
--run_name CUB200_BN+Bias
python3 plot_curves.py --x_tag wall_time \
--y_tag test/accuracy \
--single False \
--elastic_trainer_path CUB200_ElasticTrainer \
--full_training_path CUB200_Full_training \
--traditional_tl_path CUB200_Traditional_TL \
--bn_plus_bias_path CUB200_BN+Bias \
--figure_id 1 \
--figure_name Figure_16_a.pdf
python3 plot_curves.py --x_tag wall_time \
--y_tag test/classification_loss \
--single False \
--elastic_trainer_path CUB200_ElasticTrainer \
--full_training_path CUB200_Full_training \
--traditional_tl_path CUB200_Traditional_TL \
--bn_plus_bias_path CUB200_BN+Bias \
--figure_id 2 \
--figure_name Figure_16_c.pdf
# oxford_iiit_pet
python3 profiler.py --model_name resnet50 \
--num_classes 37
python3 main.py --model_name resnet50 \
--dataset_name oxford_iiit_pet \
--train_type elastic_training \
--run_name PET37_ElasticTrainer
python3 main.py --model_name resnet50 \
--dataset_name oxford_iiit_pet \
--train_type full_training \
--run_name PET37_Full_training
python3 main.py --model_name resnet50 \
--dataset_name oxford_iiit_pet \
--train_type traditional_tl_training \
--run_name PET37_Traditional_TL
python3 main.py --model_name resnet50 \
--dataset_name oxford_iiit_pet \
--train_type bn_plus_bias_training \
--run_name PET37_BN+Bias
python3 plot_curves.py --x_tag wall_time \
--y_tag test/accuracy \
--single False \
--elastic_trainer_path PET37_ElasticTrainer \
--full_training_path PET37_Full_training \
--traditional_tl_path PET37_Traditional_TL \
--bn_plus_bias_path PET37_BN+Bias \
--figure_id 3 \
--figure_name Figure_16_b.pdf
python3 plot_curves.py --x_tag wall_time \
--y_tag test/classification_loss \
--single False \
--elastic_trainer_path PET37_ElasticTrainer \
--full_training_path PET37_Full_training \
--traditional_tl_path PET37_Traditional_TL \
--bn_plus_bias_path PET37_BN+Bias \
--figure_id 4 \
--figure_name Figure_16_d.pdf