TensorFlow Debian Stretch - Installation
-
3. Using TensorFlow
Then to Use TensorFlow on Debian
For the Stable Release CPU-only:pip3 install --user tensorflow
Again to install a Specific Version use:
pip install -Iv --user tensorflow==[MYVERSION]
Just Replace in the above Command [MYVERSION] with the choosen one, Eg. “2.10”.
Instead for the enhanced GPU Release:pip3 install --user tf-gpu
To use it see the Official TensorFlow GPU Docs , specifically the section on Device Placement.
But for a Python 2 Setup Change pip3 in pip…
For Nightly build CPU-only (unstable):pip3 install --user tf-nightly
GPU package for CUDA-enabled GPU cards:
pip3 install --user tensorflow-gpu
Nightly build with GPU support (unstable):
pip3 install --user tf-nightly-gpu
Contents