[Tensorflow] Tensorflow environment construction on Windows 10

Prerequisites

・ Windows 10 ・ Those who know what environment functions are

Target

・ TensorFlow with CPU support only.

procedure

  1. Install python
  2. Update pip
  3. Install tensorflow
  4. Test
  5. Conclusion

Referenced site: https://www.tensorflow.org/install/install_windows


1. Install python

Python 3.5.x from python.org : https://www.python.org/downloads/release/python-352/

01.PNG

02.PNG

Check python version

cmd


>python --version
Python 3.5.2

2. Update pip

cmd


>python -m pip install --upgrade pip
#Below, the log output to the console

Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |################################| 1.3MB 727kB/s
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Uninstalling pip-8.1.1:
      Successfully uninstalled pip-8.1.1
Successfully installed pip-9.0.1

3. Install tensorflow

cmd


>pip3 install --upgrade tensorflow
#Below, the log output to the console

Collecting tensorflow
  Downloading tensorflow-1.1.0-cp35-cp35m-win_amd64.whl (19.4MB)
    100% |################################| 19.4MB 52kB/s
Collecting six>=1.10.0 (from tensorflow)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting werkzeug>=0.11.10 (from tensorflow)
  Downloading Werkzeug-0.12.1-py2.py3-none-any.whl (312kB)
    100% |################################| 317kB 1.6MB/s
Collecting wheel>=0.26 (from tensorflow)
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |################################| 71kB 2.3MB/s
Collecting numpy>=1.11.0 (from tensorflow)
  Downloading numpy-1.12.1-cp35-none-win_amd64.whl (7.7MB)
    100% |################################| 7.7MB 128kB/s
Collecting protobuf>=3.2.0 (from tensorflow)
  Downloading protobuf-3.3.0.tar.gz (271kB)
    100% |################################| 276kB 2.2MB/s
Collecting setuptools (from protobuf>=3.2.0->tensorflow)
  Downloading setuptools-35.0.2-py2.py3-none-any.whl (390kB)
    100% |################################| 399kB 1.6MB/s
Collecting packaging>=16.8 (from setuptools->protobuf>=3.2.0->tensorflow)
  Downloading packaging-16.8-py2.py3-none-any.whl
Collecting appdirs>=1.4.0 (from setuptools->protobuf>=3.2.0->tensorflow)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Collecting pyparsing (from packaging>=16.8->setuptools->protobuf>=3.2.0->tensorflow)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
    100% |################################| 61kB 3.9MB/s
Installing collected packages: six, werkzeug, wheel, numpy, pyparsing, packaging, appdirs, setuptools, protobuf, tensorflow
  Found existing installation: setuptools 20.10.1
    Uninstalling setuptools-20.10.1:
      Successfully uninstalled setuptools-20.10.1
  Running setup.py install for protobuf ... done
Successfully installed appdirs-1.4.3 numpy-1.12.1 packaging-16.8 protobuf-3.3.0 pyparsing-2.2.0 setuptools-35.0.2 six-1.10.0 tensorflow-1.1.0 werkzeug-0.12.1 wheel-0.29.0

4. Test

03.PNG

5. Conclusion

Tutorial: https://www.tensorflow.org/get_started/mnist/beginners Data set: https://www.kaggle.com/c/digit-recognizer

Everyone please 04.PNG

Recommended Posts

[Tensorflow] Tensorflow environment construction on Windows 10
Python environment construction memo on Windows 10
Anaconda python environment construction on Windows 10
python windows environment construction
Build TensorFlow on Windows
I built a TensorFlow environment on windows10
Environment construction of TensorFlow + JupyterNotebook + Matplotlib on Windows version Anaconda (August 2017 version)
[Ubuntu 18.04] Tensorflow 2.0.0-GPU environment construction
Anaconda environment construction on CentOS7
Python environment construction (Windows10 + Emacs)
Build Python environment on Windows
Python environment construction and TensorFlow
Django environment development on Windows 10
Build python environment on windows
Python environment construction under Windows7 environment
Ubuntu14.04 + GPU + TensorFlow environment construction
Linux environment construction (on WSL environment)
Install python2.7 on windows 32bit environment
Anaconda environment construction on Mac (2018 version)
Run Tensorflow natively supported on windows
Python environment construction memo on Mac
Python environment construction (pyenv, anaconda, tensorflow)
[Python3] Development environment construction << Windows edition >>
Create a Linux environment on Windows 10
Ml-Agents Release 6 (0.19.0) Environment Construction Summary [Windows]
[Linux] Docker environment construction on Redhat
Environment construction of python3.8 on mac
Install Python development environment on Windows 10
Python3 TensorFlow for Mac environment construction
Environment construction of "Tello_Video" on Ubuntu
OpenCV3 & Python3 environment construction on Ubuntu
OpenJTalk on Windows10 (Speak Japanese with Python from environment construction)
Python environment construction procedure memo using Docker on Windows10 Home
Memo of Linux environment construction using VirtualBox + Vagrant on Windows 10
Django environment construction
DeepIE3D environment construction
Linux environment construction
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Python project environment construction procedure (for windows)
Try using Bash on Windows 10 2 (TensorFlow installation)
Python environment construction
Programming environment for beginners made on Windows
python windows environment
Environment construction (python)
django environment construction
Creating a python virtual environment on Windows
CodeIgniter environment construction
VScode environment construction (Windows10, Python, C ++, C, Git)
python environment construction
Python --Environment construction
GeoDjango + SQLite environment construction on OS X
[Windows 10] "Deep Learning from scratch" environment construction
Golang environment construction
python environment construction
Windows + gVim + Poetry python development environment construction
Word2vec environment construction
Building an environment for "Tello_Video" on Windows
Python3 TensorFlow environment construction (Mac and pyenv virtualenv)
[Note] Python environment construction on rental server "CORESERVER"
Simply build a Python 3 execution environment on Windows
Python environment construction (Anaconda + VSCode) @ Windows10 [January 2020 version]