-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About mask2 in cifp_margin #4
Comments
This part is modified from official CIFP code (https://github.com/Tencent/TFace/blob/99cc558fde0176f38ff051155b110bfd7f6cdb3a/recognition/torchkit/head/localfc/cifp.py#L12) I don't know the reason either. But I have tried many experiments on CIFP, and the implementation can really work and improve accuracy. |
Thanks Fu-En, your implementation is much more readable than the official code! Have you experimented without the |
I guess so. Because I had removed the official code line-by-line to check the corresponding performance, and my network.py only keeps the necessary parts to improve performance. |
I see. My assumption is that the high |
Hello, why in CIFP margin did you consider only
neg_logits
that are smaller thanpos_logits - self.m
? Why those largerneg_logits
should not be penalised? Thanks.MixFairFace/network.py
Lines 29 to 30 in 11691d3
The text was updated successfully, but these errors were encountered: