insightface
insightface copied to clipboard
Bugs in a ArcFace implementation
Can somebody explain me why ArcFace class implementation was changed in this commit https://github.com/deepinsight/insightface/commit/657ae30e41fc53641a50a68694009d0530d9f6b3? In my opinion, here are some bugs:
- ArcFace has no_grad() in forward() which can give us wrong gradients
- ArcFace object in forward() has no field
self.s
, instead of it hasself.scale