PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Metric Learning Python Packages

Python packages with the GitHub topic metric-learning. Sorted by relevance, with stars and monthly downloads.
KevinMusgrave
pytorch-metric-learning

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

3.4M 6K 659
catalyst-team
catalyst

Accelerated deep learning R&D

42K 3K 399
scikit-learn-contrib
metric-learn

Metric learning algorithms in Python

7K 1K 232
OML-Team
open-metric-learning

Metric learning and retrieval pipelines, models and zoo.

6K 992 77
jina-ai
finetuner

:dart: Task-oriented embedding tuning for BERT, CLIP, etc.

3K 2K 65
tensorflow
tensorflow-similarity

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

3K 1K 105
tensorflow
tfsim-nightly

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

2K 1K 105
nmichlo
disent

🧶 Modular VAE disentanglement framework for python built with PyTorch Lightning ▸ Including metrics and datasets ▸ With strongly supervised, weakly supervised and unsupervised methods ▸ Easily configured and run with Hydra config ▸ Inspired by disentanglement_lib

1K 135 18
johny-c
pylmnn

Large Margin Nearest Neighbor implementation in python

847 49 13
romue404
metric-learning-layers

A simple PyTorch package that includes the most common metric learning layers

810 1 0
KevinMusgrave
powerful-benchmarker

A library for ML benchmarking. It's powerful.

682 441 42
DaminK
ggml-ot

Improve Optimal Transport applications by Global Ground Metric Learning (published at AISTATS2025). This package supports single-cell data in Anndata format and generic array-like data.

557 4 0
hand10ryo
pytorchcml

PyTorchCML is a library of PyTorch implementations of matrix factorization (MF) and collaborative metric learning (CML), algorithms used in recommendation systems and data mining.

505 20 3
qdrant
quaterion

Similarity Learning fine-tuning framework

504 661 48
patrickfrank1
chesspos

A library for manipulating, learning and searching chess positions

499 18 6
MPI-Dortmund
tomotwin-cryoet

cryo-ET particle picking by representation and metric learning

438 45 10
zbr17
gedml

Generalized Deep Metric Learning.

390 36 3
Ximilar-com
tf-metric-learning

Minimalistic TensorFlow2+ deep metric/similarity learning library with loss functions, miners, and utils as embedding projector.

370 38 5
raamana
kernelmethods

Foundational library for Kernel methods in pattern analysis and machine learning

349 44 10
bm2-lab
scmdml

A multitask deep metric learning-based framework for single cell assignment based on multiple references

347 4 4
jina-ai
finetuner-client

:dart: Task-oriented embedding tuning for BERT, CLIP, etc.

239 2K 65
mmkuznecov
ssrlib

Framework for unsupervised and self-supervised learning & embeddings analysis

202 8 1
catalyst-team
catalyst-pdm

Catalyst fork compatible with PDM

187 3K 399
gjhuizing
wsingular

Python package for the ICML 2022 paper "Unsupervised Ground Metric Learning Using Wasserstein Singular Vectors".

184 10 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery