pytorch-metric-learning and MagnetLoss-PyTorch

Maintenance 2/25
Adoption 25/25
Maturity 25/25
Community 20/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 17/25
Stars: 6,312
Forks: 663
Downloads: 5,671,502
Commits (30d): 0
Language: Python
License: MIT
Stars: 218
Forks: 29
Downloads:
Commits (30d): 0
Language: Python
License: MIT
Stale 6m
Stale 6m No Package No Dependents

About pytorch-metric-learning

KevinMusgrave/pytorch-metric-learning

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

Provides 9 independent modules—including loss functions (TripletMarginLoss, ArcFaceLoss, etc.), hard pair miners, distance metrics, and reducers—that compose into customizable training pipelines. Automatically converts between triplet and pair representations, supports self-supervised learning via augmentation pairs, and includes built-in trainers and evaluation utilities for metric learning workflows. Integrates seamlessly with standard PyTorch training loops and includes pre-built dataset loaders for common benchmarks like CUB-200 and Stanford Online Products.

About MagnetLoss-PyTorch

vithursant/MagnetLoss-PyTorch

PyTorch implementation of a deep metric learning technique called "Magnet Loss" from Facebook AI Research (FAIR) in ICLR 2016.

Scores updated daily from GitHub, PyPI, and npm data. How scores work