deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.16k stars 5.39k forks source link

where can i find the insightface loss in this project #407

Closed LiuWeiLun closed 1 year ago

LiuWeiLun commented 5 years ago

In this project, there is a folder named 'losses'. But in this folder, i can only find the center loss. Where can i find the source code of the insightface loss and the sphereface loss in this project.

LiuWeiLun commented 5 years ago

I find the source code of the insightface loss. But about the sphereface loss, it is use the function mx.sym.LSoftmax(). In the Official website of the MXnet, i can not find this function. Could you please copy its resoures code for me? Thank you very much!

insikk commented 5 years ago

https://github.com/deepinsight/insightface/blob/master/src/train.py#L388

LiuWeiLun commented 5 years ago

thank you very much!