Open Myzhencai opened 2 years ago
2022-06-22 00:59:08.404828: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404881: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404929: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404976: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405023: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405070: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405118: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405125: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1663] Cannot dlopen some GPU libraries. Skipping registering GPU devices...
2022-06-22 00:59:08.404828: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404881: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404929: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.404976: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405023: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405070: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405118: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/gaofei/anaconda3/envs/semantic-segmentation/lib/python3.6/site-packages/cv2/../../lib64::/usr/local/cuda-10.1/lib64 2022-06-22 00:59:08.405125: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1663] Cannot dlopen some GPU libraries. Skipping registering GPU devices...
Hi,
This error has to do with Cuda not being installed properly on your local machine.
When I use the code with tensorflow-gpu=1.15.2 cudatoolkit=10 cudnn=7.0 in Anaconda virtural env,I got error like this :