Linux 14.04 Tensorflow GPU Install
TensorFlow GPU Install
$ sudo apt-get remove python-pip
$ wget https://bootstrap.pypa.io/get-pip.py
$ python get-pip.py
$ PATH=$PATH:/usr/local/bin/pip
$ echo $PATH
$ pip install urllib3
$ pip install tensorflow-gpu
$ python
>>> import tensorflow as tf
Error : libcudart.so.8.0 을 열 수 없다.
PATH 추가 하기
$ vi ~/.bashrc
# CUDA
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64
export PATH=$PATH:/usr/local/cuda-8.0/bin
$ source ~/.bashrc
$ python
>>> import tensorflow as tf
>>> tf.__version__
'Linux' 카테고리의 다른 글
CPU 프로파일링 proc stat python 프로그램 (0) | 2018.11.22 |
---|---|
Ubuntu 1604 opencv install (0) | 2017.06.08 |
Linux 14.04 OpenCV2 Install (0) | 2017.06.08 |
CentOS7 OpenStack in WINDOW 10 Virtual Box (0) | 2016.11.29 |
BSD Socket - server & multi-client file transfer (0) | 2016.11.22 |