Skip to content

anubhav1392/TF-Siamese-Face-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF-Siamese-Face-Recognition

The code is implemented using Tensorflow(version 1.14) This is a simple Face recognition model that will predict wether the two images belong to same person or not. This model is trained to recognize face of 10 different people including my own but it can be extended to more people also. Loss Function used in this model is Binary Cross entropy but in code there's Contrastive loss also available to use. Dataset used for training is AT&T face dataset The Model is trained for 100 epochs and after testing it on unseen test images the ROC score is 0.9

Contrastive Loss: alt text

Siamese Network Architecture alt text

Changes Made:

  • Added 2 Dropout Layers
  • Added ROC score calculation during training and Plot after training
  • Added Similarity image plot: select one image from list of unseen images and model will predict the most similar image.

Releases

No releases published

Packages

No packages published

Languages