The version of python and torch
Opened this issue · 3 comments
Drow999 commented
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 commented
Hi,
Yes, I have used to code with Pytorch 0.4.1 and 0.5.0.
I am sorry but I cannot help you with the installation of Pytorch 0.4.1 with python 2.7 because I have not done it myself, but I assume the main issue is that 2.7 is getting obsolete. If you are planning to use the code for a new project, I suggest to reimplement for python 3 and a new differentiable renderer.
… On 23. Apr 2021, at 06:44, Drow999 ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#21>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABNYVFJZNAIT7AP5Y5B63BLTKD3LVANCNFSM43N4FHZQ>.
Drow999 commented
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 commented
I checked on the node where I have the code and the Pytorch version is 0.4.1, I think I tested also on a node with 0.5.0.
… On 23. Apr 2021, at 08:00, Drow999 ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABNYVFMQIXRJUFALFIBSES3TKEEI5ANCNFSM43N4FHZQ>.