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

Should assert n_views == 2? #32

Open
LinglanZhao opened this issue Apr 17, 2021 · 1 comment
Open

Should assert n_views == 2? #32

LinglanZhao opened this issue Apr 17, 2021 · 1 comment

Comments

@LinglanZhao
Copy link

Thanks for your excellent implementation! I'd like to confirm that N_VIEW == 2 as in the paper and the default args in the code. If N_VIEW > 2, with logits.shape = (N_VIEW x N, N_VIEW x N - 1)

logits = torch.cat([positives, negatives], dim=1)
, N_VIEW x N - 1 contains at least one more positive pairs (except the one indexed with 0) which will be treated as negative pairs. @sthalles @alessiamarcolini @butyuhao

@here101
Copy link

here101 commented Dec 30, 2021

Have you solved the problem?
I meet the same question.
Thanks.

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