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

Metric Learning Python Packages

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

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

2M 6K 659
catalyst-team
catalyst

Accelerated deep learning R&D

7K 3K 397
scikit-learn-contrib
metric-learn

Metric learning algorithms in Python

4K 1K 231
tensorflow
tfsim-nightly

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

2K 1K 104
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

2K 135 19
jina-ai
finetuner

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

2K 2K 67
tensorflow
tensorflow-similarity

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

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

Metric learning and retrieval pipelines, models and zoo.

1K 997 78
johny-c
pylmnn

Large Margin Nearest Neighbors implementation in python

764 49 13
romue404
metric-learning-layers

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

674 1 0
KevinMusgrave
powerful-benchmarker

A library for ML benchmarking. It's powerful.

647 441 41
qdrant
quaterion

Blazing fast framework for fine-tuning similarity learning models

635 664 47
MPI-Dortmund
tomotwin-cryoet

cryo-ET particle picking by representation and metric learning

435 47 11
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.

374 5 0
bm2-lab
scmdml

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

265 4 4
Ximilar-com
tf-metric-learning

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

264 38 5
zbr17
gedml

Generalized Deep Metric Learning.

234 36 3
patrickfrank1
chesspos

Embedding based chess position search and embedding learning for chess positions

194 18 6
raamana
kernelmethods

Foundational library for Kernel methods in pattern analysis and machine learning

176 45 10
gjhuizing
wsingular

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

135 10 1
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.

129 20 3
bm2-lab
mtsc

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

87 4 4
mmkuznecov
ssrlib

Framework for unsupervised and self-supervised learning & embeddings analysis

83 8 1
catalyst-team
catalyst-pdm

Accelerated deep learning R&D

75 3K 397
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology