Skip to content

How to evaluate TAR FAR on your dataset

左庆 edited this page Sep 19, 2018 · 17 revisions

(1)先清洗数据How-to-clean-your-dataset

(2)创建一个批处理文件比如evaluate-tar-far.bat 用记事本/写字板/Notepad++打开,填入以下命令

set proto_file=model\mobilefacenet-res4-8-16-4-dim128.zqparams

set model_file=model\mobilefacenet-res4-8-16-4-dim128-emore.nchwbin

set blob_name=fc5

set src_root=webface1000X50-112X112

set thread_num=10

x64\Release\SampleFaceDatabaseZQCNN make_compact %src_root% tar-far-database.feats tar-far-database.names %proto_file% %model_file% %blob_name% 2 %thread_num%

x64\Release\SampleFaceDatabaseZQCNN compute_similarity_compact tar-far-score.raw tar-far-flag.raw tar-far-info.txt tar-far-database.feats tar-far-database.names %thread_num%

x64\Release\SampleFaceDatabaseZQCNN evaluate_tar_far tar-far-score.raw tar-far-flag.raw tar-far-info.txt

最终tar-far数据会在控制台显示。你也可以在cmd里运行 call evaluate-tar-far.bat>log.txt 这样运行过程及最终结果都会写在log.txt里

Clone this wiki locally