Difference between revisions of "Tensorflow"
KevinYager (talk | contribs) (→Virtualenv method) |
KevinYager (talk | contribs) (→Virtualenv method) |
||
Line 13: | Line 13: | ||
##: sudo -s | ##: sudo -s | ||
##: dpkg -i cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb | ##: dpkg -i cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb | ||
+ | ##: apt-get update | ||
+ | ##: aptitude install cuda | ||
+ | # Set up environment | ||
+ | ##: nano ~/.bashrc | ||
+ | ##: # Add these lines to the end of your .bashrc file: | ||
+ | ##: export CUDA_HOME=/usr/local/cuda-7.5 | ||
+ | ##: export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 | ||
+ | ##: PATH=${CUDA_HOME}/bin:${PATH} | ||
+ | ##: export PATH | ||
==See Also== | ==See Also== |
Revision as of 13:15, 13 September 2016
TensorFlow is an open source library for deep learning.
Installation instructions
Virtualenv method
Detailed instructions are provided on the TensorFlow website.
- Install CUDA
- Download CUDA from the nVidia site (CUDA toolkit 7.5):
- Update root path (if necessary):
- sudo nano /root/.bashrc
- export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:/opt/conda/bin
- Install deb (c.f. instructions here):
- sudo -s
- dpkg -i cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb
- apt-get update
- aptitude install cuda
- Set up environment
- nano ~/.bashrc
- # Add these lines to the end of your .bashrc file:
- export CUDA_HOME=/usr/local/cuda-7.5
- export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
- PATH=${CUDA_HOME}/bin:${PATH}
- export PATH