/siamese_triplet_loss

One shot learning using Siamese network with triplet loss

Primary LanguageJupyter Notebook

Siamese Network with Triplet Loss

This repository is an implemenation of following medium story --Illustrated Guide to Siamese Network. This project implements siamese network with triplet loss using cosine and L2 loss function.

Requirements

  • Python3
  • Tensorflow 2.0 and above
  • Numpy
  • Matplotlib
  • OpenCV
  • Jupyter Notebook (or any interative environment)

Training

  1. Download the repository
  2. Open and Siamese_With_Triplet_Loss.ipynb