MobileFaceNet_Pytorch icon indicating copy to clipboard operation
MobileFaceNet_Pytorch copied to clipboard

测试精度

Open zhaowendao30 opened this issue 6 years ago • 13 comments

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

zhaowendao30 avatar Apr 30 '20 10:04 zhaowendao30

我没有看懂他evaluation_10_fold(root='./result/pytorch_result.mat'):这个函数中计算准确率的数学依据,也不是特征归一化操作。请问你是怎么理解evaluation_10_fold()这个函数的?

Serissa avatar May 15 '20 02:05 Serissa

我没有看懂他evaluation_10_fold(root='./result/pytorch_result.mat'):这个函数中计算准确率的数学依据,也不是特征归一化操作。请问你是怎么理解evaluation_10_fold()这个函数的?

mu表示的就是均值,他对人脸特征进行了归一化,然后算出左人脸和右人脸两个向量的内积,如果内积大于阈值认为同一个人,否则不是同一个人,threshold = getThreshold(scores[valFold[0]], flags[valFold[0]], 10000) 表示先用验证集去搜索准确率最高的阈值,阈值在-1到1之间,共20001个浮点数,在计算准确率函数中getAccuracy(scores, flags, threshold),P表示true positive,N表示true negative。然后用最佳的阈值在测试集上评估

consolexinhun avatar Jun 28 '20 03:06 consolexinhun

我没有看懂他evaluation_10_fold(root='./result/pytorch_result.mat'):这个函数中计算准确率的数学依据,也不是特征归一化操作。请问你是怎么理解evaluation_10_fold()这个函数的?

mu表示的就是均值,他对人脸特征进行了归一化,然后算出左人脸和右人脸两个向量的内积,如果内积大于阈值认为同一个人,否则不是同一个人,threshold = getThreshold(scores[valFold[0]], flags[valFold[0]], 10000) 表示先用验证集去搜索准确率最高的阈值,阈值在-1到1之间,共20001个浮点数,在计算准确率函数中getAccuracy(scores, flags, threshold),P表示true positive,N表示true negative。然后用最佳的阈值在测试集上评估

讲的好透彻

weidongmei123 avatar Jul 13 '20 11:07 weidongmei123

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?

Wong3549 avatar Apr 05 '21 09:04 Wong3549

解决啦,后来能达到九十以上的准确率

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 下午5:20 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

weidongmei123 avatar Apr 05 '21 13:04 weidongmei123

请问一下您最后查出来是哪里的问题了吗

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:50 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

解决啦,后来能达到九十以上的准确率

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 下午5:20 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Wong3549 avatar Apr 05 '21 13:04 Wong3549

半年多之前做的了,在写毕业论文,等写完帮你看看吧

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问一下您最后查出来是哪里的问题了吗

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:50 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

解决啦,后来能达到九十以上的准确率

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 下午5:20
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

weidongmei123 avatar Apr 07 '21 02:04 weidongmei123

谢谢大佬,我也在做小论文,感谢您的指导。

---原始邮件--- 发件人: @.> 发送时间: 2021年4月7日(周三) 上午10:15 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

半年多之前做的了,在写毕业论文,等写完帮你看看吧

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问一下您最后查出来是哪里的问题了吗

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 晚上9:50
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

解决啦,后来能达到九十以上的准确率

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 下午5:20
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Wong3549 avatar Apr 07 '21 02:04 Wong3549

您好,能够加一下联系方式吗?感觉我跑这个代码的准确率一直上不去,希望私聊请教一下您。

---原始邮件--- 发件人: @.> 发送时间: 2021年4月7日(周三) 上午10:15 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

半年多之前做的了,在写毕业论文,等写完帮你看看吧

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问一下您最后查出来是哪里的问题了吗

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 晚上9:50
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

解决啦,后来能达到九十以上的准确率

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 下午5:20
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Wong3549 avatar Apr 25 '21 11:04 Wong3549

您好!我没有做这个方向了------------------ 原始邮件 ------------------ @.> 发送时间: 2021年4月25日(星期天) 晚上7:58 @.>; @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

Serissa avatar Apr 25 '21 12:04 Serissa

您好,能够加一下联系方式吗?感觉我跑这个代码的准确率一直上不去,希望私聊请教一下您

---原始邮件--- 发件人: @.> 发送时间: 2021年4月7日(周三) 上午10:15 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

半年多之前做的了,在写毕业论文,等写完帮你看看吧

---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问一下您最后查出来是哪里的问题了吗

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 晚上9:50
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

解决啦,后来能达到九十以上的准确率

---原始邮件---
发件人: @.>
发送时间: 2021年4月5日(周一) 下午5:20
收件人: @.
>;
抄送: @.@.>;
主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右

同问,请问您解决了吗?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Wong3549 avatar Apr 26 '21 06:04 Wong3549

您好,能够加一下联系方式吗?感觉我跑这个代码的准确率一直上不去,希望私聊请教一下您 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月7日(周三) 上午10:15 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 半年多之前做的了,在写毕业论文,等写完帮你看看吧 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 请问一下您最后查出来是哪里的问题了吗 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:50 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 解决啦,后来能达到九十以上的准确率 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 下午5:20 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右 同问,请问您解决了吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,请问你的准确率上去了吗,我现在也是一直在某一个点左右徘徊

LHH20000923 avatar Nov 25 '21 15:11 LHH20000923

其实我也是刚刚入门,主要是反向传播那里的动量衰减阿尔法要改一下,按你实际的batchsize按比例放缩,然后权值初始化算法可以换一下试试,一般第一轮结果超过80%就有戏。

---原始邮件--- 发件人: @.> 发送时间: 2021年11月25日(周四) 晚上11:20 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10)

您好,能够加一下联系方式吗?感觉我跑这个代码的准确率一直上不去,希望私聊请教一下您 … ---原始邮件--- 发件人: @.> 发送时间: 2021年4月7日(周三) 上午10:15 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 半年多之前做的了,在写毕业论文,等写完帮你看看吧 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:51 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 请问一下您最后查出来是哪里的问题了吗 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 晚上9:50 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 解决啦,后来能达到九十以上的准确率 ---原始邮件--- 发件人: @.> 发送时间: 2021年4月5日(周一) 下午5:20 收件人: @.>; 抄送: @.@.>; 主题: Re: [Xiaoccer/MobileFaceNet_Pytorch] 测试精度 (#10) 请问为什么我自己训练得不到那么高的精度?测试精度只有60%左右 同问,请问您解决了吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,请问你的准确率上去了吗,我现在也是一直在某一个点左右徘徊

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Wong3549 avatar Jan 10 '22 12:01 Wong3549