Installation notes for TensorFlow for Windows

While referring to "Installing TensorFlow on Windows" on the official website, record the contents of the installation in your environment.

-OS: Windows 7 Professional Service Pack 1 64bit -GPU: NVIDIA GeForce GTX 650 → Since the compute capability is "3.0", there are various dangers.

Installation of CUDA etc.

Actually, this was already installed, so I didn't bother to install it for this reason. A memo of the installed module for the time being. ・ CUDA 8.0CuDNN 5.1

Python installation

Python 3.6 (32bit version) was already included, but it must be Python 3.5 (64bit version), so here I installed it from /). (It has been confirmed that an error occurs in 3.5 (32bit version) and 3.6 (32bit version, 64bit version))

After that, when I tried to install TensorFlow, it said "Pip is old", so I updated it.

Python -m pip install --upgrade pip

Install TensorFlow

It's finally TensorFlow installation. Use Pip.

pip3 install --upgrade tensorflow-gpu

I installed the GPU version.

What I was addicted to (I was addicted to)

-The environment variable "PATH" was too long to add the CUDA / cuDNN path. → An error is displayed when importing TensorFlow

-The execution log is displayed

I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 650
major: 3 minor: 0 memoryClockRate (GHz) 1.0585
pciBusID 0000:01:00.0
Total memory: 1.00GiB
Free memory: 190.88MiB

→ Unsolved → Is that something like that?

-An error is displayed (executed)

E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStats
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodes
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTree
...

→ Unresolved (here is being confirmed) → The CPU version has been fixed, but is the GPU version still?

★ After that, it turned out that TensorFlow brought by pip is not the latest ★ Bring the latest whl from here and pip the file to eliminate the above error etc.

pip3 install tensorflow-1.0.0-cp35-cp35m-win_amd64.whl

Other

You'll want a tutorial or something, so it's a good idea to bring it from GitHub source set.

Recommended Posts

Installation notes for TensorFlow for Windows
Notes for using TensorFlow on Bash on Ubuntu on Windows
Python 3.6 installation procedure [for Windows]
JupyterLab3.0 Debugger Installation Method for Windows
Notes for using OpenCV on Windows10 Python 3.8.3.
Mecab installation notes
Try using Bash on Windows 10 2 (TensorFlow installation)
Theano installation notes
Python installation (Windows)
WSL2 (Windows Subsystem for Linux) installation procedure
pyenv installation notes
Supplementary notes for TensorFlow MNIST For ML Beginners
Hydrogen installation notes
Python3.4 installation notes
Cabocha installation notes
Build procedure for TensorFlow 2.4.0 (Windows10, CUDA11.1.1, cuDNN 8.0.5, Python 3.8.6)
Installed because Tensorflow has native support for Windows
From ROS for Windows installation to operation check
Installing TensorFlow on Windows Easy for Python beginners
Python installation method Windows
Enable GPU for tensorflow
Build TensorFlow on Windows
Arch Linux installation notes
Install Python (for Windows)
Offline installation procedure for openpyxl
Anaconda 4.4.0 Initial Settings for Windows
F2py on Miniconda for Windows
Python Tkinter notes (for myself)
OpenCV3 installation for Python3 @macOS
Fastest Python installation on Windows
Python 3 series installation for mac
Cocos2d-x ~ Installation Guide for Mac ~
[Tensorflow] Tensorflow environment construction on Windows 10
Notes on installing Anaconda 3 on Windows
Notes for HHKB Programming Contest 2020
Tips for data analysis ・ Notes
Install dlib for Python (Windows)
[Explanation for beginners] TensorFlow tutorial MNIST (for beginners)
Launch notes for existing Django applications
TensorFlow MNIST For ML Beginners Translation
Basic syntax notes for shell script
Minimum grammar notes for writing Python
Run Tensorflow natively supported on windows
Personal notes for python image processing
For me: Infrastructure and network notes
Notes for challenging basketball video analysis
Notes for me python csv graph
TensorFlow Tutorial MNIST For ML Beginners
Installation of Python, SciPy, matplotlib (Windows)
Use Tensorflow 2.1.0 with Anaconda on Windows 10!
An implementation of ArcFace for TensorFlow
Notes for Python file input / output
[2021 version] Python installation Windows 10 (64bit) edition
Python3 TensorFlow for Mac environment construction
Teamviewer for Linux installation procedure (CentOS)
Homebrew and Pycharm installation instructions notes
LAMMPS command notes (completely for yourself)
pykintone on Windows Subsystem for Linux
TensorFlow Tutorial -MNIST For ML Beginners
TensorFlow Deep MNIST for Experts Translation