ShichenLiu / SoftRas

Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"
MIT License
1.2k stars 156 forks source link

Installing on torch1.5 #74

Open MariaWang96 opened 3 years ago

MariaWang96 commented 3 years ago

Hi, I encounter a problem when installing this project on my machine( Ubuntu 16.04, cuda 10.01, pytorch 1.5).

and I changed the cuda file according to issue #56, but it asserts the flowing error.

Installed /home/s/anaconda3/envs/pytorch_py37/lib/python3.7/site-packages/soft_renderer-1.0.0-py3.7-linux-x86_64.egg Processing dependencies for soft-renderer==1.0.0 error: torch 1.5.0 is installed but torch==1.8.1 is required by {'torchvision'}

Hope for a solution which doesn't need to change the version of pytorch, Thx!

ShichenLiu commented 3 years ago

Can you make sure that your torchvision version is compatible with your pytorch version?