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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Additive Margin Softmax #1125
Comments
Hi, the idea looks great, especially if you are interested in the implementation contribution :) I also think @ditwoo would be interested in too. |
Hi, yes I have a working implementation ready, I can write up some tests for it and create a pr. |
That's would be great, |
I will take look at it for sure. |
@Scitator I took a look at the tests, the tests seems to be well designed. So no worries. I will start with implementation and create PR soon. |
@Scitator can you give me some tips on how to pass the codestyle ?
Hence I wanted some help to make codestyle do not throw any error. |
sorry, but could not reproduce the issue: https://colab.research.google.com/drive/1JCGTVvWlrIsLXMPRRRSWiAstSLic4nbA?usp=sharing |
@Scitator Thank you now my codestyle is compatible. But when I run tests using pytest .. I get the following error Here are the specs of my env Any tips to resolve it ? |
I think, you still have to reinstall the requirements |
looks like merged ;) |
馃殌 Feature Request
I would like to add Additive Margin Softmax to its amazing list of various 'Face' losses.
Motivation
Catalyst has nice support for metric learning and I would like catalyst modules to be expanded more and possibly have most SOTA implementations of Face metrics.
Proposal
Just like how ArcFace and CosFace are implemented in the catalyst library, I would like to add AM-Softmax to this list as well. Possibly other metric learning modules if provided the opportunity.
Additional context
Additive margin softmax was used in 2nd place solution of a Kaggle competition.
Checklist
Note
This goes without saying I want to implement it
The text was updated successfully, but these errors were encountered: