Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tokusumi/metric_learning_keras


https://github.com/tokusumi/metric_learning_keras

keras metric-learning

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Siamese Network with L2softmaxloss
Implemented with Keras

## Overview
This repository includes a comparison between L2-softmaxloss vs softmaxloss for metric learning.
I constructed Siamese network to calculate pointwise similarity between two images.

See [notebook](https://github.com/tokusumi/metric_learning_keras/blob/master/metric_learning_keras/L2SoftmaxLoss/notebooks/compare_L2SoftmaxLoss.ipynb)

## Dataset
MNIST handwritten digit image dataset: http://yann.lecun.com/exdb/mnist/

## Results
![PR curve](https://github.com/tokusumi/metric_learning_keras/blob/master/metric_learning_keras/L2SoftmaxLoss/notebooks/PR_curve_l2.png)

## Refs

### L2-SoftmaxLoss (L2-constrained Softmax Loss)

> Y. Wen, K. Zhang, Z. Li, and Y. Qiao. A discrimina- tive feature learning approach for deep face recognition. In European Conference on Computer Vision, pages 499–515. Springer, 2016.