-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_figure15_ego.sh
70 lines (58 loc) · 2.62 KB
/
run_figure15_ego.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
#!/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 plot_curves.py --x_tag wall_time \
--y_tag test/accuracy \
--single True \
--elastic_trainer_path CUB200_ElasticTrainer \
--figure_id 1 \
--figure_name Figure_15_a_ego.pdf
python3 plot_curves.py --x_tag wall_time \
--y_tag test/classification_loss \
--single True \
--elastic_trainer_path CUB200_ElasticTrainer \
--figure_id 2 \
--figure_name Figure_15_d_ego.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 plot_curves.py --x_tag wall_time \
--y_tag test/accuracy \
--single True \
--elastic_trainer_path PET37_ElasticTrainer \
--figure_id 3 \
--figure_name Figure_15_b_ego.pdf
python3 plot_curves.py --x_tag wall_time \
--y_tag test/classification_loss \
--single True \
--elastic_trainer_path PET37_ElasticTrainer \
--figure_id 4 \
--figure_name Figure_15_e_ego.pdf
# stanford_dogs
python3 profiler.py --model_name resnet50 \
--num_classes 120
python3 main.py --model_name resnet50 \
--dataset_name stanford_dogs \
--train_type elastic_training \
--run_name DOG120_ElasticTrainer
python3 plot_curves.py --x_tag wall_time \
--y_tag test/accuracy \
--single True \
--elastic_trainer_path DOG120_ElasticTrainer \
--figure_id 5 \
--figure_name Figure_15_c_ego.pdf
python3 plot_curves.py --x_tag wall_time \
--y_tag test/classification_loss \
--single True \
--elastic_trainer_path DOG120_ElasticTrainer \
--figure_id 6 \
--figure_name Figure_15_f_ego.pdf