Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Liu committed Jan 17, 2020
1 parent 120df19 commit b29ed23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaface_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def megaface_test(model):
cmd = 'python megaface/devkit/experiments/run_experiment.py -p megaface/devkit/templatelists/facescrub_uncropped_features_list.json megaface/MegaFace_aligned/FlickrFinal2 megaface/FaceScrub_aligned _0.bin results -s 1000000'
# print(cmd)
output = subprocess.check_output(cmd, shell=True).decode("utf-8")
# print(output)
print(output)

lines = output.split('\n')
line = [l for l in lines if l.startswith('Rank 1: ')][0]
Expand Down

0 comments on commit b29ed23

Please sign in to comment.