Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.11 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.11 KB

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.