pytorch-metric-learning icon indicating copy to clipboard operation
pytorch-metric-learning copied to clipboard

The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch.

Results 97 pytorch-metric-learning issues
Sort by recently updated
recently updated
newest added

Hi Kevin, I am looking to add the **Normalized Discounted Cumulative Gain** ([NDCG](https://en.wikipedia.org/wiki/Discounted_cumulative_gain)) metric to the `AccuracyCalculator` while also using the `GlobalEmbeddingSpaceTester`. The NDCG allows the use of non binary...

enhancement

First, thank you for the wonderful library. It helped me achieve amazing results in my project, and your continious support is much appreciated! I am a it struggling with adding...

enhancement

The easiest way might be to make the trainers extend [Ignite](https://github.com/pytorch/ignite), [Catalyst](https://github.com/catalyst-team/catalyst), [Lightning](https://github.com/PyTorchLightning/pytorch-lightning) etc.

enhancement

I am training now on a set that has a lot of outliers (not clean). As such I get a lot of class mismatches from k nearest. There are only...

enhancement

Hi Kevin Would you mind add my Selectively Contrastive Triplet loss (which is published in ECCV2020)? The major idea of this paper is to overcome the local minima during the...

new algorithm request

I see the [sampler to generate a fixed set of triplets](https://kevinmusgrave.github.io/pytorch-metric-learning/samplers/#fixedsetoftriplets) and the [miner that uses that fixed set](https://kevinmusgrave.github.io/pytorch-metric-learning/miners/#embeddingsalreadypackagedastriplets). Is there an analogous sampler/miner duo for generating and using a...

new algorithm request

Do you have any plans to implement RLL in this DML?

help wanted
new algorithm request

I am currently training a model with semi-supervised learning and I have two separate losses and miner as well. All of them use the same distance matrix, so when I...

enhancement