We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The loss function in BYOL doesn't seem to match the one defined in the paper.
Running the training for BYOL.
lightning-bolts/src/pl_bolts/models/self_supervised/byol/byol_module.py
Lines 130 to 142 in 4f910f6
The loss should be 2 - (2 * F.cosine_similarity(h1, z2).mean())?
2 - (2 * F.cosine_similarity(h1, z2).mean())
The text was updated successfully, but these errors were encountered:
Thank you, @vishnu-dev mind sending PR with the fix? 🐰
Sorry, something went wrong.
No branches or pull requests
🐛 Bug
The loss function in BYOL doesn't seem to match the one defined in the paper.
To Reproduce
Running the training for BYOL.
Code sample
lightning-bolts/src/pl_bolts/models/self_supervised/byol/byol_module.py
Lines 130 to 142 in 4f910f6
Expected behavior
The loss should be
2 - (2 * F.cosine_similarity(h1, z2).mean())
?The text was updated successfully, but these errors were encountered: