This is one of the topics of introducing interesting AI tools.
Installing TensorFlow on Windows
TensorFlow™ is a software library by Google for numerical computation using data flow graphs.
TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google’s Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.
Someone said “TensorFlow is a tool to make your boss happy of your presentation.”
Hahaha, it might be true.
This entry shows preparation to use TensorFlow. Also you may follow TensorFlow official site.
Here is my environment to install TensorFlow.
Items | Version | |
OS | Windows 10 64bit | No Pyhon and Anaconda before installing |
Anaconda | Anaconda3-5.0.1 | Actoivation via pip is also available. |
TensorFlow | TensorFlow 1.3 | TensorFlow with CPU support only |
1. Installing Anaconda
Downloading Anaconda installation from its official site.
Easy…
2. Open Anaconda Navigator
3. Create TensorFlow envionment in Anaconda Navigator.
You should chose Python 3.5, NOT 3.6.
4. Installing TensorFlow
From Environments> [created environment (in this case “forTensorflow”)], select “Open Terminal”.
Active TensorFlow
Open command line , type
C:> activate tensorflow (tensorflow)C:> # Your prompt should change
5. Issue the command
In this example, to install CPU-only version of TensorFlow.
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
6. Validate your installation
Activate your Anaconda environment(C:> activate tensorflow).
For the validating, we try to show “Hello, TensorFlow!”.
>>> import tensorflowas tf
>>> hello= tf.constant('Hello, TensorFlow!')
>>> sess= tf.Session()
>>> print(sess.run(hello))
You see “Hello, TensorFlow!”
Now, TensorFlow installing has been completed.
Additional information related to Installing TensorFlow
To know whole picture of machine learning, I think this explains well.