Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.02 KB

File metadata and controls

31 lines (17 loc) · 1.02 KB

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