PWC-Net
PWC-Net copied to clipboard
error when trying to set up pytorch
hello, I follow the set up guide to install pytorch using anaconda2 on ubuntu 16.04. When I ran 'bash make_cuda.sh', it showed error of gcc like: Compiling correlation layer kernels by nvcc... make_cuda.sh: line 9: nvcc: command not found make_cuda.sh: line 10: nvcc: command not found Including CUDA code. ........(long words are omitted) gcc: error: /home/masteryuan/Documents/streetget/streetget/data/PWC-Net-master/PyTorch/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/src/corr_cuda_kernel.cu.o: No such file or directory gcc: error: /home/masteryuan/Documents/streetget/streetget/data/PWC-Net-master/PyTorch/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/src/corr1d_cuda_kernel.cu.o: No such file or directory error: command 'gcc' failed with exit status 1 I have checked my gcc is 5.4 version and I also tried to reinstall 4.8 version and there is no use. Hoping for help.
@kellyJin0505 It says "nvcc: command not found", meaning cuda is not installed in your machine