KevinMusgrave/pytorch-metric-learning

pytorch-metric-learning

✅ Recently maintained

Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.

6,342Stars
663Forks
+17-day stars

Python · MIT · Last push 2026-11-01

Official repository & installation ↗

GitValue · Value evidence

Unscored · Evidence coverage 0%

Provisional rubric; documentation and runtime testing are separate. Missing evidence does not imply low value.

Star history

2025-09-292026-11-03
View historical data
DateStars
2026-10-056,335
2026-10-066,335
2026-10-076,335
2026-10-086,335
2026-10-096,336
2026-10-106,336
2026-10-116,336
2026-10-126,336
2026-10-136,337
2026-10-146,337
2026-10-156,337
2026-10-166,337
2026-10-176,337
2026-10-186,337
2026-10-196,338
2026-10-206,338
2026-10-216,339
2026-10-226,339
2026-10-236,339
2026-10-246,340
2026-10-256,341
2026-10-266,341
2026-10-276,342
2026-10-286,342
2026-10-296,342
2026-10-306,342
2026-10-316,342
2026-11-016,342
2026-11-026,342
2026-11-036,342

Get the project

git clone https://github.com/KevinMusgrave/pytorch-metric-learning.git

Cloning downloads the source. For dependencies and installation, follow the project README.

Related projects & alternative candidates

Related domains do not imply feature parity. Review official documentation and licenses.