-
Notifications
You must be signed in to change notification settings - Fork 1
/
facescrub-actors-evaluation.sh
executable file
·67 lines (55 loc) · 4.47 KB
/
facescrub-actors-evaluation.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
#!/bin/sh
# BASELINE
#====================================================================================================================
# VGG-Face
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m VGG-Face -o baseline-vggface-1.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m VGG-Face -o baseline-vggface-2.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m VGG-Face -o baseline-vggface-3.txt
# FaceNet
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Facenet512 -o baseline-facenet-1.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Facenet512 -o baseline-facenet-2.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Facenet512 -o baseline-facenet-3.txt
# ArcFace
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m ArcFace -o baseline-arcface-1.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m ArcFace -o baseline-arcface-2.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m ArcFace -o baseline-arcface-3.txt
# Ensemble
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Ensemble -o baseline-ensemble-1.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Ensemble -o baseline-ensemble-2.txt
python3 run.py -s images/original-facescrub/ -d images/original-facescrub/ -k 5 -m Ensemble -o baseline-ensemble-3.txt
# FAWKES
#====================================================================================================================
# VGG-Face
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o fawkes-vggface-1.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o fawkes-vggface-2.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o fawkes-vggface-3.txt
# FaceNet
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o fawkes-facenet-1.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o fawkes-facenet-2.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o fawkes-facenet-3.txt
# ArcFace
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o fawkes-arcface-1.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o fawkes-arcface-2.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o fawkes-arcface-3.txt
# Ensemble
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o fawkes-ensemble-1.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o fawkes-ensemble-2.txt
python3 run.py -s images/fawkes-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o fawkes-ensemble-3.txt
# LOWKEY
#====================================================================================================================
# VGG-Face
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o lowkey-vggface-1.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o lowkey-vggface-2.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m VGG-Face -o lowkey-vggface-3.txt
# FaceNet
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o lowkey-facenet-1.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o lowkey-facenet-2.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Facenet512 -o lowkey-facenet-3.txt
# ArcFace
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o lowkey-arcface-1.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o lowkey-arcface-2.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m ArcFace -o lowkey-arcface-3.txt
# Ensemble
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o lowkey-ensemble-1.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o lowkey-ensemble-2.txt
python3 run.py -s images/lowkey-imgs/ -d images/original-facescrub/ -k 5 -m Ensemble -o lowkey-ensemble-3.txt