windows配置tensorflow python object detection 环境

option 1: pip install

pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

option 2 : use anaconda

1.https://www.anaconda.com/distribution/
打开 anaconda command

--
配置 cpu 环境
 

conda create -n tensorflow_cpu pip python=3.6
activate tensorflow_cpu
pip install --ignore-installed --upgrade tensorflow==1.9

配置gpu环境
--
 1.载 cuda 
https://developer.nvidia.com/cuda-90-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exenetwork

2.install cudnn
https://developer.nvidia.com/rdp/cudnn-download

3.Select cuDNN v7.0.5 (Feb 28, 2018), for CUDA 9.0
4.下载 cuDNN v7.0.5 Library for Windows 10:
https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.0.5/prod/9.0_20171129/cudnn-9.0-windows10-x64-v7

5. 环境变量

6. 编辑环境变量

7.添加路径

\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin
\NVIDIA GPU Computing Toolkit\CUDA\v9.0\libnvvp
\NVIDIA GPU Computing Toolkit\CUDA\v9.0\extras\CUPTI\libx64
\NVIDIA GPU Computing Toolkit\CUDA\v9.0\cuda\bin

8.

conda create -n tensorflow_gpu pip python=3.6
activate tensorflow_gpu
pip install --ignore-installed --upgrade tensorflow-gpu==1.9

 

你可能感兴趣的:(Iori的工具箱,Python)