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

valid_labels = i_equal_j * (i_equal_k^ 1) #5

Open
traveling121 opened this issue Jul 30, 2020 · 1 comment
Open

valid_labels = i_equal_j * (i_equal_k^ 1) #5

traveling121 opened this issue Jul 30, 2020 · 1 comment

Comments

@traveling121
Copy link

In file hard_triplet_loss.py line 139: valid_labels = i_equal_j * (i_equal_k^ 1), why is there a '^1'?

@Radu1999
Copy link

^ 1 flips True to False and viceversa

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