tf-faster-rcnn
tf-faster-rcnn copied to clipboard
OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME
If I make in the lib folder(in google colab),it shows that “OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME.”I don't know how to deal with this problem?
You need to add the cuda path to bashrc. export CUDA_HOME=/usr/local/cuda-8.0 export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH} export PATH
However,I add the cuda path to bashrc later,this problem still exists. @rnsandeep
You can look at this thread. https://github.com/rbgirshick/py-faster-rcnn/issues/123
Thank you. I can use CPU to run this demo in google colab when I modify the setup.py and the nms_wrapper.py. But I still want to use GPU. I am unable to fix it. @rnsandeep
For working with gpu you need to install nvidia driver and cuda properly. and then do make. Please let me know which gpu you are using and linux environment so that i can refer which version to install.
Have you solved this problem? i meet the same problem ,could you please tell me how to sovle it
I also meet this problem, just because i install the tensorflow in the virtual environment by the command “conda install tensorflow-gpu=×** ",and it also install part of cuda (cudatoolkit) corresponding to my tensorflow。That means there is not nvcc in my computer (I never install cuda in my computer ) , so i meet the problem above, to solve it i install the complete cuda ,and set the PATH .just OK~
thank you very much. i will try it later
---Original--- From: "shidunxu"<[email protected]> Date: Fri, Aug 30, 2019 10:16 AM To: "endernewton/tf-faster-rcnn"<[email protected]>; Cc: "Comment"<[email protected]>;"LP308210365"<[email protected]>; Subject: Re: [endernewton/tf-faster-rcnn] OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME (#391)
I also meet this problem, just because i install the tensorflow in the virtual environment by the command “conda install tensorflow-gpu=×** ",and it also install part of cuda (cudatoolkit) corresponding to my tensorflow。That means there is not nvcc in my computer (I never install cuda in my computer ) , so i meet the problem above, to solve it i install the complete cuda ,and set the PATH .just OK~
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I also meet this problem, just because i install the tensorflow in the virtual environment by the command “conda install tensorflow-gpu=×** ",and it also install part of cuda (cudatoolkit) corresponding to my tensorflow。That means there is not nvcc in my computer (I never install cuda in my computer ) , so i meet the problem above, to solve it i install the complete cuda ,and set the PATH .just OK~
is your GPU from either intel or Nvidia. My GPU is from Intel, can I istall cuda?
@zhangfengjiao-zju I think you cannot. I have the same issue as you do