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

A problem with simclr implementation #159

Closed
lzyhha opened this issue Dec 24, 2021 · 1 comment
Closed

A problem with simclr implementation #159

lzyhha opened this issue Dec 24, 2021 · 1 comment

Comments

@lzyhha
Copy link

lzyhha commented Dec 24, 2021

At the line 72 in simclr.py, the images are concatenated together, with order "0 1 ... N-1 0 1 ... N-1". So I think the positive indexes should be "N-1 N N+1 ... 2N-2 0 1 2 3 ... N-1". However, the positive indexes is "0 0 2 2 4 4... 2N-2 2N-2" in the code.
I'm not sure about this, looking forward to your reply.

@fangyixiao18
Copy link
Collaborator

Thank your for your comment, it is actually a bug and I also find it today while training simclr for its training logs. It will be fixed soon!

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