Advertisement
Guest User

Untitled

a guest
May 28th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. Ensure that you have python 2.7
  2. Run: "sudo apt-get install python-pip python-dev python-virtualenv"
  3. Run: "pip install --upgrade tensorflow-gpu"
  4. Afterwards, if you run python on terminal, you should be able to import tensorflow with an error.
  5. Add this line to .bashrc: "export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64".
  6. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement