Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardness-Aware Deep Metric Learning

This is an unofficial implementation of "Hardness-Aware Deep Metric Learning" (CVPR 2019 Oral) 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_triplet.py

Result triplet HDML

CARS196 result on training(99 classes, 30000 iterations)

Loss

loss

t-SNE

tsne

CARS196 result on testing(97 classes)

t-SNE

tsne

Todo

  • Implementation of Npair loss HDML

Reference

Official tensorflow implementation https://github.com/wzzheng/HDML

About

Hardness-Aware Deep Metric Learning (CVPR2019) in pytorch

Topics

Resources

Stars

28 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.