Metric learning
See original GitHub issue🚀 Feature Request
It would be great to have metric learning pipeline in Catalyst. The goal of metric learning is to get the model that can map some objects into vector space where similar objects will have close representation and different objects will have far representations. The typical example is the person reidentefication task - reid.
Now we only have several triplet loss implementations in contrib. But there are a lot of missing puzzle details like:
Sampler
that can sample batches with both positive and negatives examples in sufficient quantity.TripletSelector
hat can provide politics for triplets selection: all triplets, hard triplets, k-hardest triplets and so on.RetrievalMetric
(likecmc-score
) that can evaluate the model: usually it is calculated after splitting validation dataset into query and gallery parts. and so on
It would be great to see all of this as a consistent framework. As datasets for debugging and example we can use: omniglot (objects are symbols) or mars (objects are people) or any other suitable dataset.
Alternative for reid: deep reid library.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
1. What is Metric Learning? — metric-learn 0.6.2 documentation
Distance metric learning (or simply, metric learning) aims at automatically constructing task-specific distance metrics from (weakly) supervised data, ...
Read more >The Why and the How of Deep Metric Learning.
Metric learning is an approach based directly on a distance metric that aims to establish similarity or dissimilarity between images. Deep ...
Read more >[1812.05944] A Tutorial on Distance Metric Learning - arXiv
Abstract: Distance metric learning is a branch of machine learning that aims to learn distances from the data, which enhances the performance of ......
Read more >Metric Learning - Papers With Code
The goal of Metric Learning is to learn a representation function that maps objects into an embedded space. The distance in the embedded...
Read more >GitHub - KevinMusgrave/pytorch-metric-learning
The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Discussed on the call.
Next step: prepare proposal with @PUSSYMIPT
okay, now looks like it’s done 😃