One Shot Learning with Siamese Networks in PyTorch

One Shot Learning with Siamese Networks in PyTorch

Example of One Shot learning. Source

How this article is Structured

Standard Classification vs. One Shot Classification

Enter Siamese Networks

The architecture

Figure 1.0

Contrastive Loss function

Equation 1.0

Equation 1.1

Equation 1.0 Explanation

The Datasets

OmniGlot Dataset

Figure 2.0. Some examples from the OmniGlot dataset

Conclusion

P.S.