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

https://github.com/neka-nat/pytorch-softtriple

SoftTriple (ICCV2019) in pytorch
https://github.com/neka-nat/pytorch-softtriple

deep-learning deep-metric-learning iccv2019 pytorch

Last synced: 6 months ago
JSON representation

SoftTriple (ICCV2019) in pytorch

Awesome Lists containing this project

README

          

# SoftTriple

This is an unofficial implementation of ["SoftTriple Loss: Deep Metric Learning Without Triplet Sampling" (ICCV 2019)](https://arxiv.org/abs/1909.05235) in Pytorch.

## Installation

```
cd pytorch-hdml
pip install pipenv
pipenv install
```

## Download dataset

```
cd data
python cars196_downloader.py
python cars196_converter.py
```

## Train CARS196 dataset
Execute a training script.
When executed, the tensorboard log is saved.

```
pipenv shell
python train_softtriple.py
```

## Result

### CARS196 result on training(99 classes, 30000 iterations)

#### Loss

![loss](assets/loss.png)

#### t-SNE

![train_tsne](assets/train_tsne.gif)