pytorch-metric-learning
Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.
- 6.3k
- Python
- MIT
- 12 h ago
Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.
Blazing fast framework for fine-tuning similarity learning models
Code for the NeurIPS 2017 Paper "Prototypical Networks for Few-shot Learning"
PyTorch Implementation for Deep Metric Learning Pipelines
Hardnet descriptor model - "Working hard to know your neighbor's margins: Local descriptor learning loss"
(ICML 2020) This repo contains code for our paper "Revisiting Training Strategies and Generalization Performance in Deep Metric Learning" (https://arxiv.org/abs/2002.08473) to facilitate consistent research in the field of Deep Metric Learning.
The corresponding code from our paper "DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations". Do not hesitate to open an issue if you run into any trouble!
A PyTorch framework for an image retrieval task including implementation of N-pair Loss (NIPS 2016) and Angular Loss (ICCV 2017).
Source code for the paper "Divide and Conquer the Embedding Space for Metric Learning", CVPR 2019
[NAACL'21 & ACL'21] SapBERT: Self-alignment pretraining for BERT & XL-BEL: Cross-Lingual Biomedical Entity Linking.
[ECCV 2020] QAConv: Interpretable and Generalizable Person Re-Identification with Query-Adaptive Convolution and Temporal Lifting, and [CVPR 2022] GS: Graph Sampling Based Deep Metric Learning
MinkLoc++: Lidar and Monocular Image Fusion for Place Recognition
[ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.
ePillID Dataset: A Low-Shot Fine-Grained Benchmark for Pill Identification (CVPR 2020 VL3)
MinkLoc3Dv2: Improving Point Cloud Based Place Recognition with Ranking-based Loss and Large Batch Training
Improved Deep Metric Learning with Multi-class N-pair Loss Objective
Official MXNet implementation of "Embedding Expansion: Augmentation in Embedding Space for Deep Metric Learning" (CVPR 2020)
Official PyTorch Implementation of HIER: Metric Learning Beyond Class Labels via Hierarchical Regularization, CVPR 2023
Official Tensorflow implementation of "Symmetrical Synthesis for Deep Metric Learning" (AAAI 2020)
EgoNN: Egocentric Neural Network for Point Cloud Based 6DoF Relocalization at the City Scale
(CVPR 2020) This repo contains code for "PADS: Policy-Adapted Sampling for Visual Similarity Learning", which proposes learnable triplet mining with Reinforcement Learning.
Generalized Product Quantization Network For Semi-supervised Image Retrieval - CVPR 2020
[ECCV 2020] Training neural networks to predict visual overlap of images, through interpretable non-metric box embeddings
Retrieve recipes from foodie pictures using Deep Learning and Pytorch
Source code for Spatio-Temporal Trajectory Similarity Learning in Road Networks. KDD 2022.
[TPAMI'23] GCoNet+: A Stronger Group Collaborative Co-Salient Object Detector.
A Tensorflow retrieval (space embedding) baseline. Metric learning baseline on CUB and Stanford Online Products.