-
Notifications
You must be signed in to change notification settings - Fork 0
/
performance_analysis.sh
63 lines (50 loc) · 1.44 KB
/
performance_analysis.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
DATA=$1
DEVICE_NUM=$2
DATA_DIR="/Liu+Xincong+DS3+CrackSegNet/Testing/"
ALL="all"
echo $DATA
echo $DEVICE_NUM
if [ $DATA = "all" ]; then
echo 1
python test.py \
--model Linknet\
--backbone densenet169 \
--data_dir "${DATA_DIR}Liu" \
--device_num $DEVICE_NUM
python performance_analysis.py \
--data "${DATA_DIR}Liu"
python test.py \
--model Linknet\
--backbone densenet169 \
--data_dir "${DATA_DIR}CrackSegNet" \
--device_num $DEVICE_NUM
python performance_analysis.py \
--data "${DATA_DIR}CrackSegNet"
python test.py \
--model Linknet\
--backbone densenet169 \
--data_dir "${DATA_DIR}CDLN" \
--device_num $DEVICE_NUM
python performance_analysis.py \
--data "CDLN"
python test.py \
--model Linknet\
--backbone densenet169 \
--data_dir "${DATA_DIR}Xincong" \
--device_num $DEVICE_NUM
python performance_analysis.py \
--data "${DATA_DIR}Xincong"
else
# python test.py \
# --model Linknet\
# --backbone densenet169 \
# --data_dir "${DATA_DIR}${DATA}" \
# --device_num $DEVICE_NUM
python test.py \
--model Linknet\
--backbone densenet169 \
--data_dir "${DATA_DIR}${DATA}" \
--device_num $DEVICE_NUM
python performance_analysis.py \
--data "${DATA_DIR}${DATA}"
fi