catalyst-team / catalyst

Accelerated deep learning R&D
https://catalyst-team.com
Apache License 2.0
3.3k stars 390 forks source link

Metric learning #787

Closed AlekseySh closed 4 years ago

AlekseySh commented 4 years ago

🚀 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:

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.

github-actions[bot] commented 4 years ago

Hi! Thank you for your contribution! Great first issue!

Scitator commented 4 years ago

Hi @AlekseySh , Honestly speaking, we already have a few Metric Learning experiments with @PUSSYMIPT :)

Nevertheless, let's discuss your proposal a bit more. What samplers and metrics would you like to implement?

AlekseySh commented 4 years ago

Discussed on the call.

Next step: prepare proposal with @PUSSYMIPT

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Scitator commented 4 years ago

@stale nope :)

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Scitator commented 4 years ago

okay, now looks like it's done :)