question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ArcFace loss.

See original GitHub issue

System information.

TensorFlow version (you are using): 2.8 Are you willing to contribute it (Yes/No) : No (but willing to provide starter if required.)

Describe the feature and the current behavior/state.

ArcFace, or Additive Angular Margin Loss, is a loss function used mainly in face recognition tasks. It is used to obtain highly discriminative features. This loss function can be used in <del>both</del> vision task <del>and nlp task</del>. <del>So, I think its general for keras_cv and keras_nlp</del>.

Paper: https://arxiv.org/pdf/1801.07698.pdf, TL,DR, https://paperswithcode.com/method/arcface Citation: 2939 (current)

Will this change the current api? How?


tf.keras.losses.SparseArcFace
tf.keras.losses.CategoricalArcFace

Who will benefit from this feature?

keras practitioners.

Contributing

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
LukeWoodcommented, Jul 23, 2022

When we do include this I do think it’s important to have a tutorial showing off how to use it, so let’s keep that in mind! Doesn’t have to be anything crazy, just some basics!

1reaction
sayakpaulcommented, Jul 21, 2022

I concur. Especially for retrieval tasks, ArcFace loss is greatly beneficial.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add ArcFace loss. · Issue #546 · keras-team/keras-cv - GitHub
ArcFace, or Additive Angular Margin Loss, is a loss function used mainly in face recognition tasks. It is used to obtain highly discriminative ......
Read more >
ArcFace Explained - Additive Angular Margin Loss
ArcFace, or Additive Angular Margin Loss, is a loss function used in face recognition tasks. The softmax is traditionally used in these tasks....
Read more >
Face Recognition and ArcFace: Additive Angular Margin Loss ...
In this article, you will discover an ArcFace approach, which obtains highly discriminative features for face recognition.
Read more >
ArcFace: Additive Angular Margin Loss for Deep Face ... - arXiv
In this paper, we first introduce an Additive Angular Margin Loss (ArcFace), which not only has a clear geometric interpretation but also significantly ......
Read more >
Additive Angular Margin Loss for Deep Face Recognition
to be combined with other loss functions in order to have stable performance, and can easily converge on any training datasets. Efficient. ArcFace...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found