Open Zhen-Zohn-WANG opened 2 years ago
Because if you take the log over the exp, it gives the original value of logits.
I still did not understand the calculation of loss. Did you figure it out? Can anyone explain a little bit more?
I still did not understand the calculation of loss. Did you figure it out? Can anyone explain a little bit more?
log(a/b) = log(a)-log(b)
In the code of loss, the logits without exp() and log(), why it can minus a log_exp_logit? It is different with Eq.(2) of SupContrast paper.
Thank you for your help.