#208 · Primary category: Computer Vision
open-metric-learning
Metric learning and retrieval pipelines, models and zoo.
Project last updated:11/26/25
GitHub Stars
996
Forks
78
Contributors
27
License
Apache-2.0
Why we included this project
Most training recipes teach a network to classify and never directly shape how its embeddings sit in space. Metric learning does: it arranges embeddings so similar samples land close together and dissimilar ones drift apart, which is what makes image retrieval, near-duplicate detection, and product search work in practice. OML packages that workflow into a single PyTorch framework. Instead of assembling research code yourself, you get the specialized losses, miners, and samplers that metric learning needs, along with pretrained extractors such as ViT and CLIP. Its pipelines handle feature extraction and post-processing like adaptive thresholding and Siamese reranking, and they report evaluation metrics such as precision-at-k and FNR@FMR. If you already work in PyTorch Lightning, the training modules and DDP support drop in cleanly, and the same code runs on image, text, or audio inputs.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)