Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agrover112/siamesenet-search

MNIST digits image similarity search by Indexing with Annoy and using trained embeddings from a Siamese Net with Triplet Loss .
https://github.com/agrover112/siamesenet-search

annoy image-similarity indexing mnist siamese-architecture siamese-network siamese-neural-network similarity-search tensorflow-examples tensorflow2

Last synced: 7 days ago
JSON representation

MNIST digits image similarity search by Indexing with Annoy and using trained embeddings from a Siamese Net with Triplet Loss .

Awesome Lists containing this project

README

        

# SiameseNet-Search
Search can be performed in various ways and using various architectures. In the following repository embeddings are created by using an non-cnn **base embedding model** which is tuned using a *Siamese Neural Net* with *Triplet Loss* inspired from [F. Schroff, D. Kalenichenko and J. Philbin, "FaceNet: A unified embedding for face recognition and clustering," 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, 2015, pp. 815-823. ](https://arxiv.org/pdf/1503.03832.pdf) paper from Google , on **10K MNIST digits** images from train-set.The trained model is used to create embeddings for *entire* train-set and then Indexed using [Approx Nearest Neighbours](https://github.com/spotify/annoy) being faster than K-NN.
More like a prototype.

### Embedding Space Visualized
PCA used for visualizing the embedding space of **10K images** of different classes.
![](https://github.com/Agrover112/SiameseNet-Search/blob/main/download.png)
## References
- https://arxiv.org/pdf/1503.03832.pdf
- http://www.cs.cmu.edu/~rsalakhu/papers/oneshot1.pdf
- http://yann.lecun.com/exdb/mnist/
- http://cseweb.ucsd.edu/~dasgupta/papers/rptree-stoc.pdf
- https://github.com/spotify/annoy
- https://github.com/PotatoSpudowski/S.I.D.E