In this post, we shall look at the task of metric learning, and implement the paper Classification is a strong baseline for deep metric learning on the Inshop dataset
- What is Metric Learning?
- Framing Image Classification as an Image Retrieval problem
- Model Architecture
- Loss Function
- The Inshop Dataset
- Implementing the paper on inshop dataset in fastai
- Building a datablock & dataloader
- Implementing a custom sampler
- Implementing a custom metric
- Training the model
- Evaluation on unseen data
- References