windows install tensorflow and keras

1 Install python3.5 or above

Choose to install here

Anaconda3-4.2.0-Windows-x86_64.exe contains the python environment

Anaconda3 is python3.5

Anaconda2 is python2.7



2 Install tensorflow

gpu version

tensorflow_gpu-1.1.0rc1-cp35-cp35m-win_amd64.whl

The gpu version will be discussed later


cpu version

tensorflow-1.1.0rc1-cp35-cp35m-win_amd64.whl


3 Installation

scipy-0.19.0-cp35-cp35m-win_amd64.whl This is required to install keras. Otherwise you will get an error that lapack blas is missing (it's easy to make mistakes)



If you are installing the gpu version of tensorflow, you must install cuda and cudnn. Otherwise, there will be errors such as No module named '_pywrap_tensorflow_internal'

After downloading cudnn, copy cudnn64_5.dll to the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin directory


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326064716&siteId=291194637