# Deep Metric Learning
Implementation of several methods for deep metric learning in [Chainer v2](https://docs.chainer.org/en/v2.0.2/).
- N-pair loss:  [Improved Deep Metric Learning with Multi-class N-pair Loss Objective](https://papers.nips.cc/paper/6200-improved-deep-metric-learning-with-multi-class-n-pair-loss-objective)
- Lifted structure: [Deep Metric Learning via Lifted Structured Feature Embedding](https://arxiv.org/abs/1511.06452v1)
- Clustering loss: [Deep Metric Learning via Facility Location](http://openaccess.thecvf.com/content_cvpr_2017/papers/Song_Deep_Metric_Learning_CVPR_2017_paper.pdf)

# Dependencies
```bash
pip install cupy==1.0.2 chainer==2.0.2 fuel==0.2.0 tqdm
```

# Deep Metric Learning
Implementation of several methods for deep metric learning in [Chainer v2](https://docs.chainer.org/en/v2.0.2/).

- N-pair loss:  [Improved Deep Metric Learning with Multi-class N-pair Loss Objective](https://papers.nips.cc/paper/6200-improved-deep-metric-learning-with-multi-class-n-pair-loss-objective)
- Lifted structure: [Deep Metric Learning via Lifted Structured Feature Embedding](https://arxiv.org/abs/1511.06452v1)
- Clustering loss: [Deep Metric Learning via Facility Location](http://openaccess.thecvf.com/content_cvpr_2017/papers/Song_Deep_Metric_Learning_CVPR_2017_paper.pdf)
- Angular loss: [Deep Metric Learning with Angular Loss](https://arxiv.org/abs/1708.01682v1)

# Dependencies
```bash
pip install cupy==1.0.2 chainer==2.0.2 fuel==0.2.0 tqdm
```

Add angular loss to readme
Add angular loss to readme
