CosFace_pytorch
CosFace_pytorch copied to clipboard
About the title
I think this project is about 'SphereFace', not 'CosFace'. CosFace use LMCL loss function, not A-softmax loss.
@LeeBC2298 I think it's indeed cosface. The output of the classifier (https://github.com/MuggleWang/CosFace_pytorch/blob/master/layer.py#L43) is the cosine similarity with margin. And directly optimizing the cosine similarity with cross entropy loss is equal to LMCL (Eq. 4 in the paper).