AdityaDutt / Siamese-Networks-Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Siamese-Networks-Tutorial

siamnet

This a basic tutorial of siamese networks. Here is an article written on Medium.

Here is the dataset used for this project: Multi Color and Shapes Dataset


Steps to run the file:

  1. Download the dataset.
  2. In the file main.py, adjust the path of the dataset. In the file model.py, adjust the path where the model will be saved. This will create data pairs and then model will be trained.
  3. Run test.py to test model and display a 3d scatter plot. Adjust the saved model path.

Output

gif

3d plot of features



confmat

Confusion matrix of same shape but different color

About


Languages

Language:Python 100.0%