Metric Learning for Images - Keras Code Examples

This video explains how to implement Metric Learning for Image Similarity Search in Keras! This is one of the most exciting areas of Deep Learning especially in applications such as Contrastive Self-Supervised Learning. You may also be interested in checking out a video I made taking apart the Retrieval-Augmented Generation model for NLP. The embeddings that come out of Deep Neural Networks / distributed representations, are one of the most interesting and useful products of Deep Learning. I hope you find this walkthrough useful, I think the key takeaway is understanding how to write a custom DataLoader and Training Step for this kind of learning task. Content Links: Original Keras Code Example: SparseCategoricalCrossEntropy: #standalone_usage : :
Back to Top