This repository has the source code for the paper "Multi-Negative Deep Metric for Image Retrieval". For the loss layer implementation, look at here. Networks can be found here.
Example retrieval results on DeepFashion dataset. 

- Tensorflow r0.9
 - Download DeepFashion & CARS196 datasets.
 - Download pretrained VGG16 model from here.
 
- Ap cluster & generate negative sampling.
 - run training scrips
 
- extract feature
 - run test scrips