Reza-Safdari / SimSiam-91.9-top1-acc-on-CIFAR10

Pytorch implementation of the paper Exploring Simple Siamese Representation Learning.
66 stars 16 forks source link

requirements file #3

Open gabrieldernbach opened 2 years ago

gabrieldernbach commented 2 years ago

Thanks for sharing! I just made a test-run with the current torch docker container. However I get an error in validation.py", line 78, in _topk_retrieval where retrieval = torch.gather(candidates, 1, yi) RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

I may be running a different torch version. Can you add your python version / requirements.txt ?

Best