-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcollect_data_multidnn_experiment.sh
executable file
·85 lines (53 loc) · 4.33 KB
/
collect_data_multidnn_experiment.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
#!/usr/bin/env bash
mkdir baseline_engine_logs
printf "\n\nExperiment 1: GoogleNet and ResNet data profiling\n"
#GPU Baseline experiment
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_gpu_only.plan --plan2=baseline_engines/resnet101_gpu_only.plan
#GPU&DLA baseline, we run both GPU/DLA to pick the best.
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_gpu_only.plan --plan2=baseline_engines/resnet101_dla_only.plan
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_dla_only.plan --plan2=baseline_engines/resnet101_gpu_only.plan
#Herald
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_dla_transition_at_24.plan --plan2=baseline_engines/resnet101_gpu_transition_at_58.plan
#H2H
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_gpu_transition_at_52.plan --plan2=baseline_engines/resnet101_dla_transition_at_312.plan
#HaX-CoNN
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/googlenet_gpu_transition_at_80.plan --plan2=baseline_engines/resnet101_dla_transition_at_3.plan
printf "\n\n\nExperiment 2: Inception and Resnet152 data profiling\n"
#GPU Baseline experiment
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/inception_gpu_only.plan --plan2=baseline_engines/resnet152_gpu_only.plan
#GPU&DLA baseline, we run both GPU/DLA to pick the best.
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/resnet152_gpu_only.plan --plan2=baseline_engines/inception_dla_only.plan
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/resnet152_dla_only.plan --plan2=baseline_engines/inception_gpu_only.plan
#Herald
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/inception_gpu_transition_at_410.plan --plan2=baseline_engines/resnet152_dla_transition_at_58.plan
#H2H
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/inception_gpu_transition_at_380.plan --plan2=baseline_engines/resnet152_dla_transition_at_101.plan
#HaX-CoNN
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/inception_gpu_transition_at_510.plan --plan2=baseline_engines/resnet152_dla_transition_at_636.plan
printf "\n\n\nExperiment 3: Alexnet Resnet101 data profiling\n"
#GPU Baseline experiment
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_gpu_only.plan --plan2=baseline_engines/resnet101_gpu_only.plan
#GPU&DLA baseline, we run both GPU/DLA to pick the best.
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_gpu_only.plan --plan2=baseline_engines/resnet101_dla_only.plan
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_dla_only.plan --plan2=baseline_engines/resnet101_gpu_only.plan
#Herald
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_gpu_transition_at_14.plan --plan2=baseline_engines/resnet101_dla_transition_at_101.plan
#H2H
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_gpu_transition_at_5.plan --plan2=baseline_engines/resnet101_dla_transition_at_46.plan
#HaX-CoNN
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/alexnet_gpu_transition_at_16.plan --plan2=baseline_engines/resnet101_dla_transition_at_4.plan
printf "\n\n\nExperiment 4: VGG19 Resnet152 data profiling\n"
#GPU Baseline experiment
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_gpu_only.plan --plan2=baseline_engines/resnet152_gpu_only.plan
#GPU&DLA baseline, we run both GPU/DLA to pick the best.
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_gpu_only.plan --plan2=baseline_engines/resnet152_dla_only.plan
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_dla_only.plan --plan2=baseline_engines/resnet152_gpu_only.plan
#Herald
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_dla_transition_at_9.plan --plan2=baseline_engines/resnet152_gpu_transition_at_46.plan
#H2H
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_gpu_transition_at_22.plan --plan2=baseline_engines/resnet152_dla_transition_at_165.plan
#HaX-CoNN
python3 run_multiple_dnn_experiments.py --plan1=baseline_engines/vgg19_dla_transition_at_9.plan --plan2=baseline_engines/resnet152_gpu_transition_at_165.plan
cd baseline_engine_logs
grep -r " mean: " * | grep -v "end to end" > mean_results_of_executions.txt
cd ..