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

Not working for batch size=2 #10

Open
israrbacha opened this issue Jul 2, 2022 · 1 comment
Open

Not working for batch size=2 #10

israrbacha opened this issue Jul 2, 2022 · 1 comment

Comments

@israrbacha
Copy link

I am trying to experiment with batch size of 2 but seems like there is an index error in loss.py

@FredericOdermatt
Copy link

the contrastive loss requires at least a batch size of 3

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