-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplot_megaface_results.py
36 lines (30 loc) · 990 Bytes
/
plot_megaface_results.py
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
# -*- coding: utf-8 -*-
"""
Created on Sat Feb 03 06:44:14 2018
@author: zhaoy
"""
import _init_paths
from plot_megaface_result import plot_megaface_result
if __name__ == '__main__':
your_method_dirs = [
r'../Challenge1External/facenet',
r'../Challenge1External/SIAT_MMLAB',
]
your_method_labels = [
'facenet',
'SIAT_MMLAB'
]
probesets = ['facescrub', 'fgnet']
# feat_ending = '_feat'
# other_methods_dir = None
other_methods_dir = r'../Challenge1External'
# save_tpr_and_rank1_for_others = False
save_tpr_and_rank1_for_others = True
for probe_name in probesets:
save_dir = './rlt_megaface_%s_results' % probe_name
plot_megaface_result(your_method_dirs, your_method_labels,
probe_name,
save_dir,
other_methods_dir,
save_tpr_and_rank1_for_others
)