Friday, 21 April 2017

[Tensorflow] How to install Tensorflow in windows

1. Install Python 3.5.x and PIP





2. Installing with native pip

for CPU-only version
C:\> pip3 install --upgrade tensorflow

for GPU version
C:\> pip3 install --upgrade tensorflow-gpu






3. Installing with Anaconda

3.1. download Anaconda and install

https://www.continuum.io/downloads




3.2. Create a conda environment named tensorflow by invoking the following command

C:> conda create -n tensorflow



3.3. Activate the conda environment


C:> activate tensorflow




3.4.  Install TensorFlow inside your conda environment

for CPU-only version
C:> pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl

for GPU version
C:> pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.1-cp35-cp35m-win_amd64.whl




3. Validate installation



No comments:

Post a Comment