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

The version of python and torch #21

Open
Drow999 opened this issue Apr 23, 2021 · 3 comments
Open

The version of python and torch #21

Drow999 opened this issue Apr 23, 2021 · 3 comments

Comments

@Drow999
Copy link

Drow999 commented Apr 23, 2021

Hi Silvia,

I read the Readme file, it said you use python2.7 and test on torch 0.5.0, is that correct? But in the requirements.txt, torch ==0.4.1. So I guess the version of torch you use is 0.4.1, don't you? And I wanna install the torch 0.4.1, but it didn't support python 2.7. It can only be installed with python >=3.5. And I read some issues which said the code cannot be run under python3 directly. I try to follow your version, could you please tell me how to install torch 0.4.1 with python 2.7? Thank you so much!

Specifications:

  • pytorch=0.4.1 -> python[version='>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=2.7

@silviazuffi
Copy link
Owner

silviazuffi commented Apr 23, 2021 via email

@Drow999
Copy link
Author

Drow999 commented Apr 23, 2021

Thanks for you explanation! Exactly which version you used? 0.4.1 or 0.5.0. I felt confused because I only found 0.4.1 on the Pytorch official website.

@silviazuffi
Copy link
Owner

silviazuffi commented Apr 23, 2021 via email

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