wangz10 / contrastive_loss

Experiments with supervised contrastive learning methods with different loss functions
213 stars 35 forks source link

Thank you and a few doubts #1

Closed sayakpaul closed 4 years ago

sayakpaul commented 4 years ago

Hi @wangz10,

Thank you for putting together this repository and also the blog post. After going through the code, I had the following doubts. If you could help me clarify I would really appreciate it:

Thank you and looking forward to hearing from you.

wangz10 commented 4 years ago

Hi @sayakpaul ,

sayakpaul commented 4 years ago

Thanks for providing the additional details @wangz10.

I am referring to this implementation of the baseline architecture where you used wherein it seems like you have also normalized the features within the network which is where my doubt.

Regarding max_margin_contrastive_loss, could you provide some details regarding your approach towards computing the contrastive pairs?