-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有ncnn测试代码吗?我这里测试自己的图片时输出的值的正确率很低,但是在insightFace那里验证时正确率99.5%左右 #8
Comments
有几个细节你排查下: |
@moli232777144 谢谢大佬,没想到你这么认真回复。我目前用的是欧式距离,但是识别出来通一个人的都有2点几到3点几,你用的是什么距离呢?我没有做归一化处理,用的是insightface训练的模型,我下载了lfw数据后,用insightface里的align成112*112了,然后用insightface里的eval目录下的代码加载mobilefacenet测试了align后的正确率都有99.5%,然后移植到ncnn后,输出的值就完全不对。 |
@moli232777144 你计算的是什么距离呢?输出节点是fc1吧? |
余弦距离,输出fc1 |
好的,谢啦,我再试试 |
我用mxnet计算了一下fc1输出的值的余弦距离,结果还是不对.模型用的是从insightface下载的模型(地址),然后图片用的是完全不同的男女两个人,已经用mtcnn对齐了的lfw里的图片. `#coding=utf-8 image_size = (112,112) def load_model(model_prefix): def dis(x,y): def test(model_prefix): model_prefix = "../../models/model" 上面是代码,下面是输出,
|
請問有成功測試出來了嗎 |
有ncnn测试代码吗?我这里测试自己的图片时输出的值的正确率很低,但是在insightFace那里验证时正确率99.5%左右
The text was updated successfully, but these errors were encountered: