-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_experiments.sh
executable file
·65 lines (54 loc) · 1.79 KB
/
run_experiments.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
run_on_grid="True"
root_dir=$(pwd)
if [[ $run_on_grid == "True" ]]
then
distributed='sge'
else
distributed=$root_dir'/bob/paper/wifs2021_biohashing_sota_face/local.py'
fi
for dataset in {LFW,mobio-all}
do
echo "Dataset: $dataset ----------------"
for the_model in {VGG16_Oxford,AFFFE,ArcFace,Res50_VGG2_ArcFace,MobileNetV2_MSCeleb_ArcFace_2021,FaceNet,IncResV1_MSCeleb,IncResV2_MSCeleb}
do
echo $the_model
cd $root_dir
cd experiments
cd $dataset
cd $the_model
cd Baseline
$root_dir/bin/bob bio pipelines vanilla-biometrics my_pipeline.py -l $distributed -o results -vvv
for Bhsh_length in {0_100,0_200,0_300,0_400,0_500,0_600,0_700,0_800,0_900,1_000,2_000}
do
for scenario in {normal,stolen}
do
cd $root_dir
cd experiments
cd $dataset
cd $the_model
cd Biohash
cd $Bhsh_length
cd $scenario
$root_dir/bin/bob bio pipelines vanilla-biometrics my_pipeline.py -l $distributed -o results -vvv
done
done
done
for the_model in {VGG16_Oxford,AFFFE,ArcFace,Res50_VGG2_ArcFace,MobileNetV2_MSCeleb_ArcFace_2021}
do
echo $the_model
for Bhsh_length in {0_025,0_050,0_075,0_125,0_150,0_175}
do
for scenario in {normal,stolen}
do
cd $root_dir
cd experiments
cd $dataset
cd $the_model
cd Biohash
cd $Bhsh_length
cd $scenario
$root_dir/bin/bob bio pipelines vanilla-biometrics my_pipeline.py -l $distributed -o results -vvv
done
done
done
done