Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Was trying to work with the formula #3

Closed
mikelmh025 opened this issue Nov 18, 2021 · 2 comments
Closed

Was trying to work with the formula #3

mikelmh025 opened this issue Nov 18, 2021 · 2 comments

Comments

@mikelmh025
Copy link

Hi there,

Great work! I am trying to learn from the formula and walk through the proof of propositions. I was trying to find the derivatives of the loss function and encountered finding the partial derivative of the cosine similarity term. By comparing my answer and steps in the paper I kind of get this result (as the image shows).

I am not quite sure if that is correct and how that works. Would you mind help me a bit with this?

image

@raminnakhli
Copy link
Owner

Hi and thank you!
The second line is correct as the z_j is independent of z_i. However, in the first line, z^1_i and z^2_i are augmentations of the same image which means they are dependent on each other. Therefore, the first term is not necessarily correct.
I hope it would have helped.

@raminnakhli
Copy link
Owner

I'll close this issue as there hasn't been an activity for a while. Please open another issue if this is not responded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants