Closed a1030076395 closed 3 years ago
Hi @a1030076395, I edited your comment from single-quoted error messages to triple-quoted so that everybody can read easily. I hope you could consider that if you write next time.
And what I can share with you about the error is the version of PyTorch you use. Which one are you using, please?
I could figure out you are using torch 1.7.1, I'm checking what can happen then... please hold on.
I found that you didn't apply the patch provided in this repo. Please follow this, from README.md:
Download external source files, and apply a patch. Our implementation uses the following.
curl -O https://raw.githubusercontent.com/lucidrains/byol-pytorch/2aa84ee18fafecaf35637da4657f92619e83876d/byol_pytorch/byol_pytorch.py
patch < byol_a/byol_pytorch.diff
mv byol_pytorch.py byol_a
curl -O https://raw.githubusercontent.com/daisukelab/general-learning/7b31d31637d73e1a74aec3930793bd5175b64126/MLP/torch_mlp_clf.py
mv torch_mlp_clf.py utils
Hi @daisukelab Thank you for your answer, I ignored the .diff file.It can run now. your paper is super interesting, I am trying to understand the principle of augmentation module