Skip to content
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

Triplet Loss #9

Closed
prateekg opened this issue Sep 5, 2020 · 3 comments
Closed

Triplet Loss #9

prateekg opened this issue Sep 5, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@prateekg
Copy link

prateekg commented Sep 5, 2020

Using accuracy metric and not using the triplet loss for learning the weights ??

@swghosh swghosh changed the title Using accuracy metric and not using the triplet loss for learning the weights ?? Triplet Loss Sep 5, 2020
@swghosh
Copy link
Owner

swghosh commented Sep 5, 2020

#1 (comment)

We're not using a triplet loss based implementation as this repo aims to replicate work done in the original DeepFace paper which uses Softmax Classification for Face Recognition.

PS: FaceNet (a.k.a Triplet Loss) came much later to the publication of DeepFace. (a year later)

@prateekg
Copy link
Author

prateekg commented Sep 5, 2020

Sure, but I think including the triplet loss will be a more enhanced and optimised version to implement the facial recognition system.

@swghosh
Copy link
Owner

swghosh commented Sep 5, 2020

Right. Triplet loss based models indeed have an edge over face recognition tasks. FaceNet and the alike can well support one shot learning and does not necessarily need to be trained again for the target recognition task.

Since, you're interested in Triplet Loss based models probably you could look into this repo: https://github.com/davidsandberg/facenet

And, in case you're willing to train your own FaceNet model from scratch you could refer to my other repo (which implements Triplet loss based FaceNet using the NN2 architecture in the paper): https://github.com/swghosh/FaceNet

@swghosh swghosh self-assigned this Sep 5, 2020
@swghosh swghosh added the question Further information is requested label Sep 5, 2020
@swghosh swghosh closed this as completed Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants