SimCLR icon indicating copy to clipboard operation
SimCLR copied to clipboard

Calculating acc in training

Open timothyvanco opened this issue 4 years ago • 2 comments

Hi, I have a question about calculating an Accuracy in training mode of SimCLR model. How is it working, or how is it possible, that you can compute accuracy when you are training on data without labels? Thanks a lot!

timothyvanco avatar Feb 23 '21 22:02 timothyvanco

I think it's the accuracy of correctly matching the augmented pairs of the same input sample, as contrastive loss is crossentropy.

stojk avatar Apr 23 '21 11:04 stojk

Hello, does someone has a reference to where this accuracy metric comes from? I have read the simCLR paper and haven't found it. Is it something the author of this repository came up with?

feiwu77777 avatar May 12 '23 19:05 feiwu77777