windows配置tensorflow python object detection 环境

Posted _iorilan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows配置tensorflow python object detection 环境相关的知识,希望对你有一定的参考价值。

option 1: pip install <binary>

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.添加路径

<INSTALL_PATH>\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\bin
<INSTALL_PATH>\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\libnvvp
<INSTALL_PATH>\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\extras\\CUPTI\\libx64
<INSTALL_PATH>\\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

 

以上是关于windows配置tensorflow python object detection 环境的主要内容,如果未能解决你的问题,请参考以下文章

使用Anaconda设置TensorFlow开发环境(windows)

win7 x64安装TensorFlow

TensorFlow的环境配置与安装以及在Pycharm的使用

在windows下简单配置Tensorflow

配置Unity机器学习代理工具和TensorFlow环境(Windows 10)

windows配置tensorflow python object detection 环境