Closed minhncsocial closed 7 years ago
You cannot use the prebuilt binaries with a cuda/cudnn version they have not been built against. They are not built against cudnn7, so they won't work with cudnn7.
Thank you very much.
I got it. So now I install another way, and works now.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Fri, Jul 14, 2017 at 2:55 AM, Martin Wicke notifications@github.com wrote:
You cannot use the prebuilt binaries with a cuda/cudnn version they have not been built against. They are not built against cudnn7, so they won't work with cudnn7.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/models/issues/1940#issuecomment-315169936, or mute the thread https://github.com/notifications/unsubscribe-auth/AVJ-Zp6LatCOuZE5orwEn8avVFerEbO4ks5sNmgogaJpZM4OWp5J .
--
NGUYEN CONG MINH / Master Studentminhnc.social@gmail.com / (0886)979-038-464
National Taipei University of Technologyhttp://www.ntut.edu.tw/
System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
mkdir downloads cd downloads wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.61-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu1404_8.0.61-1_amd64.deb
sudo apt-get upgrade -y sudo apt-get install -y opencl-headers build-essential protobuf-compiler \ libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev \ libopencv-core-dev libopencv-highgui-dev libsnappy-dev libsnappy1 \ libatlas-base-dev cmake libstdc++6-4.8-dbg libgoogle-glog0 libgoogle-glog-dev \ libgflags-dev liblmdb-dev git python-pip gfortran
sudo apt-get clean sudo apt-get install -y linux-image-extra-
uname -r
linux-headers-uname -r
linux-image-uname -r
sudo apt-get install -y cuda sudo apt-get cleanecho 'export PATH=$PATH:/usr/local/cuda-8.0/bin' >> ~/.bashrc echo 'export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64' >> ~/.bashrc
source ~/.bashrc
wget https://s3-eu-west-1.amazonaws.com/poc-ocr-caffe/cudnn-7.0-linux-x64-v4.0-prod.tgz tar -zxf cudnn-7.0-linux-x64-v4.0-prod.tgz cd cuda sudo cp lib64/* /usr/local/cuda/lib64/ sudo cp include/cudnn.h /usr/local/cuda/include/
cd ~/downloads wget http://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
bash ./Anaconda2-4.2.0-Linux-x86_64.sh
sudo apt-get install graphviz sudo apt-get install python-opencv conda install opencv pip install lmdb pip install pydot
conda create -n tensorflow01 source activate tensorflow01 pip install --ignore-installed --upgrade \ https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.2.1-cp27-none-linux_x86_64.whl
python import tensorflow as tf
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
After install tensorflow for GPU by anaconda, I try testing code but get the error, even just import tensorflow.
Source code / logs