nv-tlabs / DIB-R

Learning to Predict 3D Objects with an Interpolation-based Differentiable Renderer (NeurIPS 2019)
https://nv-tlabs.github.io/DIB-R/
MIT License
657 stars 110 forks source link

pip install requirements not working #13

Closed IOTeule closed 3 years ago

IOTeule commented 4 years ago

Dear All,

2 points,

a) there is a typo in the README cmd, should be pip install -r requirements.txt. b) pip fails at torch ERROR: Could not find a version that satisfies the requirement torch==1.1.0 (from -r requirements.txt (line 3)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.1.0 (from -r requirements.txt (line 3))

PIP version: pip 20.0.1 from c:\users\me\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7)

IOTeule commented 4 years ago

Just seen this, so a user warning would have been helpful. https://github.com/pytorch/pytorch/issues/29395

IOTeule commented 4 years ago

need support for this, tried to install PyTorch without success. Please translate the below into a simple command to make things run, thx.

pip OS:Windows Package: Pip and CUDA: None ??

Copied from here (https://pytorch.org/get-started/locally/#no-cuda-1)

pip No CUDA To install PyTorch via pip, and do not have a CUDA-capable system or do not require CUDA, in the above selector, choose OS: Windows, Package: Pip and CUDA: None. Then, run the command that is presented to you.

With CUDA To install PyTorch via pip, and do have a CUDA-capable system, in the above selector, choose OS: Windows, Package: Pip and the CUDA version suited to your machine. Often, the latest CUDA version is better. Then, run the command that is presented to you.

athanggupte commented 4 years ago

@IOTeule I had the same issue while installing PyTorch. Assuming you are using Python 3.8, you can use the following:

pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html

Revert back if this does not work

svlandeg commented 4 years ago

Or try: pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html