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
- Download the dataset.
- 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.
- Run test.py to test model and display a 3d scatter plot. Adjust the saved model path.
3d plot of features
Confusion matrix of same shape but different color