Build-Your-Own-Face-Model icon indicating copy to clipboard operation
Build-Your-Own-Face-Model copied to clipboard

精度达不到24.pth

Open GGgrey opened this issue 2 years ago • 1 comments

您好,我最近跑了一下您的代码,参数设置就是默认的coonfig.py中的参数,数据集用的清洗后的CASIA-WebFace,测试用的LFW中6000个样本对,但是精度达不到24.pth。

Test Model: /mnt/sunqiao/xyh/models/_0.pth Accuracy: 0.661 Threshold: 0.704

Test Model: /mnt/sunqiao/xyh/models/_10.pth Accuracy: 0.825 Threshold: 0.426

Test Model: /mnt/sunqiao/xyh/models/_20.pth Accuracy: 0.835 Threshold: 0.391

Test Model: /mnt/sunqiao/xyh/models/_30.pth Accuracy: 0.835 Threshold: 0.399

再往下训练也基本停在84%左右,达不到97%,不知道什么原因。

GGgrey avatar Jan 16 '22 11:01 GGgrey

我也很纳闷为什么同样的代码会有这么多的差异。你可以试试改改 batch size 或者初始化参数的方法。

siriusdemon avatar Feb 23 '22 09:02 siriusdemon