elliottwu / unsup3d

(CVPR'20 Oral) Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild
MIT License
1.19k stars 192 forks source link

pip install neural_renderer_pytorch #32

Open GitHubmalajava opened 3 years ago

GitHubmalajava commented 3 years ago

@elliottwu I'm using a Windows environment, RTX 3080 when using the install neural_renderer_pytorch , an error is displayed: error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin\nvcc.exe' failed with exit status 2

ERROR: Command errored out with exit status 1: 'D:\Anaconda3\envs\unsup\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-s57_gk9g\neural-renderer-pytorch_baa3a 7b911c743b6a25d2f949292e84f\setup.py'"'"'; file='"'"'C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-s57_gk9g\neural-renderer-pytorch_baa3a7b911c743b6a25d2f949292e84f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file ) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\Ap pData\Local\Temp\pip-record-zg4vslmq\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\Anaconda3\envs\unsup\Include\neural-renderer-pytorch' Check the logs for full command output.

Is the version of the graphics driver too high?

aghasaadmohammad commented 2 years ago

I am facing same issue.

liuhao-lh commented 2 years ago

I solved this, and this is a docker that may help https://hub.docker.com/r/liuhaohaohao/unsup3d. Pull it by

docker pull liuhaohaohao/unsup3d