facebookresearch / facebookresearch/moco

Report a mistake

Open
#120 0 comments 6 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.1k
Forks
802
PR merge metrics
No merged PRs in 30d

Description

maybe the 396th line in ```main_moco.py```
```
correct_k = correct[:k].view(-1).float().sum(0, keepdim=True)
```
should be
```
correct_k = correct[:k].contiguous().view(-1).float().sum(0, keepdim=True)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.