Windows 10 Tensorflow 2 gpu正式版安装和更新日志

Tensorflow 2.0.0 released on2019年10月1日星期二

Link: https://github.com/tensorflow/tensorflow/releases/tag/v2.0.0

本日志是win 10下tf2.0.0正式版的重新安装/更新的精确技术文档。

Steps as follows:

Step 1: enter into tf installing folder C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64

cd C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64

?

Step 2: find tf 2 gpu downloading link by pip

pip3 install --ignore-installed --upgrade tensorflow-gpu==2.0.0

pip3 install --ignore-installed --upgrade tensorflow-gpu

note: do not install this time if low network transfer speed if, you can just disconnect your network and copy the source link

?

Step 3:

Analysis to find the downloading whl source file and download by tools as 迅雷

The downloading speed was about 1 mb/s, time less than 5 minutes

https://files.pythonhosted.org/packages/63/13/ea9ff554aa0043540a2387c28dd7926575eb25cf89e598caecea836d189d/tensorflow_gpu-2.0.0-cp37-cp37m-win_amd64.whl

confirm name tensorflow_gpu-2.0.0

result:

step 4 uninstall existing tf prior version, cmd as follows:

pip3 uninstall tensorflow

?

Step 5 local install whl

pip3 install "D:\tensorflow software\tensorflow_gpu-2.0.0-cp37-cp37m-win_amd64.whl"

feedback:

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64>pip3 install "D:\tensorflow software\tensorflow_gpu-2.0.0-cp37-cp37m-win_amd64.whl"

Processing d:\tensorflow software\tensorflow_gpu-2.0.0-cp37-cp37m-win_amd64.whl

Requirement already satisfied: absl-py>=0.7.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (0.7.1)

Requirement already satisfied: keras-applications>=1.0.8 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.0.8)

Requirement already satisfied: astor>=0.6.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (0.8.0)

Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.1.0)

Collecting opt-einsum>=2.3.2 (from tensorflow-gpu==2.0.0)

Downloading https://files.pythonhosted.org/packages/b8/83/755bd5324777875e9dff19c2e59daec837d0378c09196634524a3d7269ac/opt_einsum-3.1.0.tar.gz (69kB)

|████████████████████████████████| 71kB 79kB/s

Requirement already satisfied: google-pasta>=0.1.6 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (0.1.7)

Collecting tensorboard<2.1.0,>=2.0.0 (from tensorflow-gpu==2.0.0)

Downloading https://files.pythonhosted.org/packages/9b/a6/e8ffa4e2ddb216449d34cfcb825ebb38206bee5c4553d69e7bc8bc2c5d64/tensorboard-2.0.0-py3-none-any.whl (3.8MB)

|████████████████████████████████| 3.8MB 26kB/s

Requirement already satisfied: wrapt>=1.11.1 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.11.2)

Requirement already satisfied: gast==0.2.2 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (0.2.2)

Collecting tensorflow-estimator<2.1.0,>=2.0.0 (from tensorflow-gpu==2.0.0)

Downloading https://files.pythonhosted.org/packages/95/00/5e6cdf86190a70d7382d320b2b04e4ff0f8191a37d90a422a2f8ff0705bb/tensorflow_estimator-2.0.0-py2.py3-none-any.whl (449kB)

|████████████████████████████████| 450kB 19kB/s

Requirement already satisfied: wheel>=0.26 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (0.33.4)

Requirement already satisfied: numpy<2.0,>=1.16.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.17.0)

Requirement already satisfied: termcolor>=1.1.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.1.0)

Requirement already satisfied: protobuf>=3.6.1 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (3.9.1)

Requirement already satisfied: grpcio>=1.8.6 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.22.0)

Requirement already satisfied: six>=1.10.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorflow-gpu==2.0.0) (1.12.0)

Requirement already satisfied: h5py in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from keras-applications>=1.0.8->tensorflow-gpu==2.0.0) (2.9.0)

Requirement already satisfied: werkzeug>=0.11.15 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow-gpu==2.0.0) (0.15.5)

Requirement already satisfied: markdown>=2.6.8 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow-gpu==2.0.0) (3.1.1)

Requirement already satisfied: setuptools>=41.0.0 in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow-gpu==2.0.0) (41.0.1)

Building wheels for collected packages: opt-einsum

Building wheel for opt-einsum (setup.py) ... done

Created wheel for opt-einsum: filename=opt_einsum-3.1.0-cp37-none-any.whl size=61701 sha256=a20fc7079d3e192beb7519739e120b43b0fabb3b2bdb243a867197ca75a6b31c

Stored in directory: C:\Users\DFKJ3\AppData\Local\pip\Cache\wheels\2c\b1\94\43d03e130b929aae7ba3f8d15cbd7bc0d1cb5bb38a5c721833

Successfully built opt-einsum

Installing collected packages: opt-einsum, tensorboard, tensorflow-estimator, tensorflow-gpu

Found existing installation: tensorboard 1.14.0

Uninstalling tensorboard-1.14.0:

Successfully uninstalled tensorboard-1.14.0

Found existing installation: tensorflow-gpu 2.0.0b1

Uninstalling tensorflow-gpu-2.0.0b1:

Successfully uninstalled tensorflow-gpu-2.0.0b1

Successfully installed opt-einsum-3.1.0 tensorboard-2.0.0 tensorflow-estimator-2.0.0 tensorflow-gpu-2.0.0

?

Step 6 test using python

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64>python

Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> import tensorflow as tf

tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll

>>> tensorflow.__version__

‘2.0.0‘

>>> tf.test.is_gpu_available()

2019-10-01 12:25:37.684543: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

2019-10-01 12:25:37.691337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll

2019-10-01 12:25:38.107940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:

name: GeForce 940MX major: 5 minor: 0 memoryClockRate(GHz): 1.2415

pciBusID: 0000:01:00.0

2019-10-01 12:25:38.112862: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.

2019-10-01 12:25:38.118783: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0

2019-10-01 12:25:40.394489: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:

2019-10-01 12:25:40.398096: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165] 0

2019-10-01 12:25:40.399335: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0: N

2019-10-01 12:25:40.401059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/device:GPU:0 with 1384 MB memory) -> physical GPU (device: 0, name: GeForce 940MX, pci bus id: 0000:01:00.0, compute capability: 5.0)

True

原文地址:https://www.cnblogs.com/xiexiaokui/p/11615165.html

时间: 2024-10-11 14:08:36

Windows 10 Tensorflow 2 gpu正式版安装和更新日志的相关文章

Windows 10神州网信政府版

从Windows 10测试版本发布到现在的Windows 10 1709版本已经经历了2年的时间,截止到今天9月份,中国已经大约有6亿台客户端在运行Windows 10系统.微软考虑到一款操作系统想要进入政府采购目录,需要在各方面符合政府的需求.这也是为何在过去很长一段时间里,用户基数庞大的政府.国企客户群体,他们只能停留在使用Windows 7.Windows XP,甚至更低的版本.而这样的情况,这对于用户来讲有两大隐患: 1.安全的隐患,5月中旬全球范围内爆发的WannaCry病毒(勒索病毒

Windows 10 神州网信政府版 麦克风、摄像头的使用。

Windows 10 神州网信政府版 默认麦克风摄像头是禁用状态,此禁用状态符合版本规定. 在录课和直播过程中,你如果要使用麦克风和摄像头的功能,可以这样更改:1.鼠标右键点击屏幕左下角的开始菜单图标,选择windows中的“运行” 2.输入gpedit.msc 并确定. 3.找到: 计算机配置->管理模板->Windows组件->应用隐私->允许Windows应用访问麦克风 / 允许Windows应用访问相机 4.设置为 “已启用” 5.在下方的选项中,将“所有应用的默认设置”改

windows 下 TensorFlow(GPU 版)的安装

windows 10 64bit下安装Tensorflow+Keras+VS2015+CUDA8.0 GPU加速 0. 环境 OS:Windows 10,64 bit: 显卡:NVIDIA GeForce GTX 1050Ti,显卡查看方法:计算机[设备管理器]? [显示适配器] Python 的版本,注意只能为 3.5,并非越高越好: CUDA,8.0: keras 可以以 TensorFlow 为后端(backend)(也可以 theano 为后端),安装完成 TensorFlow 的基础上

Windows Server 2016 正式版安装教程

微软今天正式发布了Windows Server 2016,它可以理解为服务器版的Windows 10,宣告整个核心架构定型稳定.实际上,上月末,微软就已经面向大客户OEM伙伴分发了Windows Server 2016正式版ISO镜像,现在则是全面开放下载使用. Windows Server 2016似乎是对这个平台之前版本的一次体面的升级,围绕着软件定义存储.网络和虚拟化引入了新的功能,帮助企业打造更强大.更灵活的IT基础架构.Windows Server 2016带来了大量新功能,包括引入新

微软 Windows 10 简体中文技术预览版 下载及试用

1. 下载 Windows Technical Preview 下载地址: http://windows.microsoft.com/zh-cn/windows/preview-iso 产品密钥: NKJFK-GPHP7-G8C3J-P6JXR-HQRJR 系统要求 基本上,如果你的电脑可以运行 Windows 8.1,则可以放心开始安装. 如果不太确定,不必担心-Windows 将检查你的系统以确保可以安装技术预览版. 处理器:1 千兆赫 (GHz) 或更快 内存:1 GB(32 位)或 2

SQL Server 2016正式版安装(超多图)

微软数据库SQL Server 2016正式版在2016年6月就发布,由于近期工作忙,一直拖到现在才有时间把安装过程写到博客上,分享给大家.本人一直习惯使用英文版,所以版本和截图都是英文版的.废话少说,转入正题. 下载地址: https://www.microsoft.com/en-us/server-cloud/products/sql-server-2016/或者到http://www.itellyou.cn/下载. KB2919442下载地址:https://www.microsoft.c

xcode_8正式版安装遇到的小问题

从官网上下载好了xcode_8正式版之后,我们会发现竟然不是以往的zip后缀,而是xip后缀   双击之后不能正常解压 在网上查询了一下资料发现一般是以下两个问题: 1,mac的储存空间不够,别看该xip文件只有4.41G的大小,解压之后会变成12.1G  听网上说至少得腾出20G才能正常加压安装,我是没亲测了,我直接清理腾出了40G出来,保证够用. 2,清理完之后,我发现还是不能解压成功,原因是mac系统版本不够高,至少要更新到10.11.4以上才可以,然后我更新到了10.11.6最新版本.然

Windows 10 9926企业预览版体验

9926版本已经发布一段时间了,今天终于能够抽出时间体验一下. 安装的过程就不说了,看看安装完成后的一些操作盒配置体验. 首先安装完成后,需要进行初始的设置,而且微软也说了,因为是预发行版本的软件,所以系统中各处的设置可能无法正常工作,我们可以选择自定义设置,关闭不需要的功能. 下图我们选择自定义设置. 下图选择家庭或工作网络,虽然暂时我没有设置能够联网的网卡,但是一会我们可以尝试加域的操作,将当前的windows 10加入到windows server 2012 R2域中. 实际使用过程中,可

System Center 10 DPM技术预览版安装体验

前言 整体来说,System Center DPM技术预览版的安装过程和之前DPM 2012 R2的安装过程没有太大的区别,安装完成后的管理界面也没有太大的区别.相信等正式版推出之后,会有大量的新功能和新特性放出来,对新产品的支持会更好. 下载的安装包是exe格式的,需要先解压出来. 进入到解压后的文件夹,运行SCDPM的安装文件. 然后进入DPM的安装向导,选择install data protection manager. 同意许可协议. DPM会自动完成先决条件的准备组件安装. 进入安装的