Closed ghost closed 4 years ago
cuCtxGetCurrent
I think Darknet can't find CUDA lib in /usr/local/cuda/lib
find where libcuda.so.1 located
sudo find /usr/ -name 'libcuda.so.1'
then copy (or move) it to /usr/local/cuda/lib (in my case it lib64)
cp FOUND_PATH/libcuda.so.1 /usr/local/cuda/lib (OR lib64)/libcuda.so.1
p.s. found possible solution here: https://github.com/tensorflow/tensorflow/issues/4078#issuecomment-255129832
In fact I had to
cp /usr/local/cuda-10.0/compat/* /usr/local/cuda-10.0/targets/x86_64-linux/lib/
Thanks for the hand
I have an error for the gpu version
but I have declared the envs LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda-10.0/compat/ where libcuda.so.1 is located.
Shall I move the files somewhere else ?