I wrote a post on Contrastive Loss

I was having trouble with understanding the implementation of Contrastive Loss, so I wrote a Medium post where reimplemented it in Numpy. I hope this helps someone.


It helped me. Thanks!

1 Like

Thank You for explaining the loss, especially it is for explaining the one that is very useful but without more detailed explanation. I hope we will have more post like this in the future because I often do not know which loss to pick when doing more complicated and new experimental model…

1 Like