SimCLR Training Objective
Explore the SimCLR training objective by understanding how two augmented image views are processed through a neural network backbone and MLP projection head to produce feature embeddings. Learn how the contrastive loss uses similarity maximization between positive pairs and minimizes similarity among negative pairs by computing a similarity matrix. This lesson guides you step-by-step in implementing the SimCLR contrastive loss, preparing you to build self-supervised learning models for unlabeled data.
We'll cover the following...
Now that we have two augmented versions of the input batch,
Network architecture
As shown in the figure below, the two augmented versions of an image,