天山老霸王

Results 5 comments of 天山老霸王

loss用的ArcFaceSoftmaxLinear ,优化器adam 我参考 https://github.com/4uiiurz1/keras-arcface 使用相同的参数 与 embedding、label 得到的值如下 tf.Tensor( [[-1.85826263e+02 1.78392362e-02 3.18274021e-01 -2.43931785e-01 4.43012148e-01] [ 4.65939552e-01 -1.87115738e+02 -1.68064594e-01 3.11165512e-01 -2.62193173e-01] [ 6.80084586e-01 -1.71573654e+02 -1.87849730e-01 -8.77188817e-02 1.97854653e-01] [-3.73935848e-01 3.32845032e-01 -4.68550563e-01 -2.07526291e+02...

其他的也不行,我正尝试重写ArcFace

如果公式没错的话 只需要在SparseCategoricalCrossentropy(from_logits=True)加上from_logits=True就可以了 感谢代码 默认为False

Thank you and look forward to your next update I'm going to learn about this model