Last active
September 6, 2017 10:23
-
-
Save arcaduf/65843a71339ef902b27ba3074e75874a to your computer and use it in GitHub Desktop.
Ubuntu installing Tensorflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ensure that you have python 2.7 | |
Run: "sudo apt-get install python-pip python-dev python-virtualenv" | |
Run: "pip install --upgrade tensorflow-gpu" | |
Afterwards, if you run python on terminal, you should be able to import tensorflow with an error. | |
Add this line to .bashrc: "export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64". | |
Download cudnn version 5 for linux from the official website and copy the files into /usr/local/cuda/include and /usr/local/cuda/lib64 according to how the files are placed in cudnn. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment