Tensorflow install (click)
Install pip (or pip3 for python3) if it is not already installed:
# Ubuntu/Linux 64-bit
$ sudo apt-get install python-pip python-dev
Install TensorFlow:
# Ubuntu/Linux 64-bit, CPU only:
$ sudo pip install --upgrade https://storage.googleapis.com/
tensorflow/lin
ux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl# Ubuntu/Linux 64-bit, GPU enabled: $ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/
linux/gpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl
For python3:
# Ubuntu/Linux 64-bit, CPU only: $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/
linux/cpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl # Ubuntu/Linux 64-bit, GPU enabled: $ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/
linux/gpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl
uninstall Tensorflow
$ sudo pip uninstall tensorflow
===================================================================================
https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#pip-installation
'언어 > ㄴtensorflow' 카테고리의 다른 글
gpu memory 해제 (0) | 2019.10.06 |
---|