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.5M 6K 660
catalyst-team
catalyst

Accelerated deep learning R&D

22K 3K 400
scikit-learn-contrib
metric-learn

Metric learning algorithms in Python

7K 1K 232
tensorflow
tfsim-nightly

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

6K 1K 105
tensorflow
tensorflow-similarity

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

2K 1K 105
OML-Team
open-metric-learning

Metric learning and retrieval pipelines, models and zoo.

2K 991 78
jina-ai
finetuner

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

2K 2K 65
johny-c
pylmnn

Large Margin Nearest Neighbors implementation in python

2K 49 13
romue404
metric-learning-layers

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

1K 1 0
nmichlo
disent

Vae disentanglement framework built with pytorch lightning.

858 134 18
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.

837 4 0
MPI-Dortmund
tomotwin-cryoet

Picking procedure for cryo em tomography

807 44 10
qdrant
quaterion

Similarity Learning fine-tuning framework

632 660 48
KevinMusgrave
powerful-benchmarker

A library for ML benchmarking. It's powerful.

587 441 42
hand10ryo
pytorchcml

Collaborative Metric Learning implemented by PyTorch

537 20 3
Ximilar-com
tf-metric-learning

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

433 38 5
mmkuznecov
ssrlib

A modular Python framework for self-supervised representation analysis with automatic component discovery and training-time embedding monitoring

428 4 0
bm2-lab
scmdml

scmdml

409 4 4
zbr17
gedml

GeDML is an easy-to-use generalized deep metric learning library, which contains state-of-the-art deep metric learning algorithms and auxiliary modules to build end-to-end compute vision systems

336 36 3
patrickfrank1
chesspos

A library for manipulating, learning and searching chess positions

294 16 6
raamana
kernelmethods

Foundational library for Kernel methods in pattern analysis and machine learning

259 44 11
gjhuizing
wsingular

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

225 10 1
bm2-lab
mtsc

mtSC

132 4 4
jina-ai
finetuner-client

Finetuner allows one to tune the weights of any deep neural network for better embeddings on search tasks.

128 2K 65
    • Data from PyPI, GitHub, ClickHouse, and BigQuery