Installing Tensorflow in windows. | extrovert.dev -->

Installing Tensorflow in windows.

Installing Tensorflow in windows.
Friday, December 29, 2017




In this tutorial we are going to explain the installation of google's Machine learning toolkit Tensorflow in windows machine.

There are two ways to install Tensorflow.

  • pip native console 
  • Anaconda

▶PIP

When you go with pip you do not need any virtual environment to run the installation. Whereas in case of anaconda we need a virtual environment to run the installation. Pip helps us run Tensorflow in any directory directly on the machine.

You need any of these versions:

You must choose one of the following types of TensorFlow to install:
  
  • TensorFlow with CPU support only. If your system does not have a NVIDIA® GPU, you must install this version. Note that this version of TensorFlow is typically much easier to install (typically, in 5 or 10 minutes), so even if you have an NVIDIA GPU, we recommend installing this version first.
  • TensorFlow with GPU support. TensorFlow programs typically run significantly faster on a GPU than on a CPU. Therefore, if your system has a NVIDIA® GPU meeting the prerequisites shown below and you need to run performance-critical applications, you should ultimately install this version.

Requirements to run TensorFlow with GPU support


If you are installing TensorFlow with GPU support using one of the mechanisms described in this guide, then the following NVIDIA software must be installed on your system:
  • CUDA® Toolkit 8.0. For details, seeNVIDIA's documentation Ensure that you append the relevant Cuda pathnames to the %PATH%environment variable as described in the NVIDIA documentation.
  • The NVIDIA drivers associated with CUDA Toolkit 8.0.
  • cuDNN v6.1. For details, seeNVIDIA's documentation. Note that cuDNN is typically installed in a different location from the other CUDA DLLs. Ensure that you add the directory where you installed the cuDNN DLL to your %PATH%environment variable.
  • GPU card with CUDA Compute Capability 3.0 or higher. SeeNVIDIA  for a list of supported GPU cards.

To install CPU version:

0 Response to Installing Tensorflow in windows.

Comments are personally moderated by our team. Promotions are not encouraged.

Post a Comment