forked from ano-demo/AdvAttacksASVspoof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
3.run_dev.sh
executable file
·59 lines (38 loc) · 3.15 KB
/
3.run_dev.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
GPU=0,1
echo "SENET12 T4" >> /data/longnv/OutDir/result__20221021_DEV.txt
python develop.py --resume /data/longnv/_saved/models/LA_SENet34_LPSseg_uf_seg600/20221013_053132T4/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt \
--device ${GPU} >> /data/longnv/OutDir/result__20221021_DEV_T4.txt
exit
exit()
GPU=0,1,2,3
python develop.py --resume /data/longnv/_saved/models/LA_SENet12_LPSseg_uf_seg600/20221023_012458/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt \
--device ${GPU} >> /data/longnv/OutDir/result__20221024_EVAL_T4.txt
exit
exit()
GPU=0,1
echo "SENET12" >> /data/longnv/OutDir/result__20221020_DEV.txt
python develop.py --resume /data/longnv/_saved/models/LA_SENet12_LPSseg_uf_seg600/20221019_184112_dim1/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt \
--device ${GPU} >> /data/longnv/OutDir/result__20221020_DEV_dim1.txt
GPU=0,1
echo "SENET12" >> /data/longnv/OutDir/result__20221020_DEV.txt
python develop.py --resume /data/longnv/_saved/models/LA_SENet12_LPSseg_uf_seg600/20221020_152656dimminus1/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt \
--device ${GPU} >> /data/longnv/OutDir/result__20221020_DEV_dimminus1.txt
exit
exit()
echo "LCNN HALF" >> /data/longnv/OutDir/result__20220603.txt
python develop.py --resume /data/longnv/_saved/models/LA_lcnnHalf_LPSseg_uf_seg600/20220603_083303/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt \
--device ${GPU} >> /data/longnv/OutDir/result__20220603.txt
echo "LCNN " >> /data/longnv/OutDir/result__20220603.txt
python develop.py --resume /data/longnv/_saved/models/LA_lcnn_LPSseg_uf_seg600/20220603_103336/model_best.pth \
--protocol_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_cm_protocols/ASVspoof2019.LA.cm.dev.trl.txt \
--asv_score_file /data/Dataset/ASVspoof/LA/ASVspoof2019_LA_asv_scores/ASVspoof2019.LA.asv.dev.gi.trl.scores.txt --device ${GPU} >> /data/longnv/OutDir/result__20220603.txt