deep-high-resolution-net.pytorch
deep-high-resolution-net.pytorch copied to clipboard
cd nms; python setup_linux.py build_ext --inplace; rm -rf build; cd ../../ Traceback (most recent call last): File "setup_linux.py", line 56, in <module> CUDA = locate_cuda() File "setup_linux.py", line 44, in locate_cuda raise EnvironmentError('The nvcc binary could not be ' OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME
Traceback (most recent call last):
File "setup_linux.py", line 56, in
i miss the same error. Could you please tell me how to solve it?
I solved the problem by reinstalling CUDA10.0,hope its useful
I encountered this problem as well. Here is the solution
Add the following lines to your ~/.bashrc (change the cuda version)
export CUDAHOME=/usr/local/cuda-10.0 export LD_LIBRARY_PATH=${CUDAHOME}/lib64 PATH=${CUDAHOME}/bin:${PATH} export PATH
I solved the problem. Here is the solution
$ sudo apt install nvidia-cuda-toolkit