Open monajalal opened 8 years ago
In my case I changed the paths to use the already installed Cuda7.0. Seems Cuda7.5 is not compatible with Ubuntu 14.04?
I think you should add the next lines to the .bashrc file. But I did it on Ubuntu 16.04 and cuda 8.0. export PATH=/usr/local/cuda-7.0/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64${LD_LIBRARY_PATH:+: ${LD_LIBRARY_PATH}}
I also faced the similar issue with CUDA 8.0 not being detected and the training code instead looking for older CUDA 7.5. I updated my PATH and LD_LIBRARY_PATH flags but it didn't resolve. Something more was needed. The hint lied in the error log itself.
The line: from nms.gpu_nms import gpu_nms
is from 'nms_wrapper.py' which is in 'lib/fast_rcnn' directory of faster-RCNN module. The same 'lib' directory also contains 'nms/gpu_nms.so' which in my case was built against older CUDA 7.5. And whenever I did 'make' in 'lib' directory after updating my CUDA to 8.0 (as per the instruction in README), nothing was being done as older copy was already present. I removed all the '.so' files in 'lib' directory and did a 'make' again. This time new .so files were created using CUDA 8.0 (you can verify that from the build logs also).
Now my training is running smoothly (so far, fingers crossed!).
This fixed the problem for me: sudo ldconfig /usr/local/cuda/lib64
modify the CUDA_DIR
in Makefile.config
I get the following error when I run the sample:
I have the following system settings:
What is the issue and how can it be solved?