Windows安装TensorFlow-Docker Installation of TensorFlow on Windows
TensorFlow是Google开发的进行Deep Learning的包,目前只是支持在Linux和OSX上运行。不过这个秋季或许就有支持Windows的版本出现了,那么对于使用Windows的开发人员呢,想用TensorFlow也不必等到秋季或转到Linux和OSX系统。在Windows上运行有两种方式,一种是安装虚拟机并且安装Ubuntu系统,在Ubuntu系统上安装TensorFlow,具体步骤可以在Google官网上找到:https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#pip-installation。另外一种方式是用Docker来安装。下面我就分享一下我用Docker安装TensorFlow的经验。以下采用Chinglish,并非搬运,但也简单易读。
One can always install TensorFlow on Ubuntu in a virtual machine if you are using Windows. Alternatively, you can also choose Docker-Installation.
1. Install Docker From:
https://www.docker.com/products/docker-toolbox
I recommend you install Git for Windows and Oracle VM VirtualBox independently, and thus you just need to click "next". Git for windowns can be accessed at https://git-for-windows.github.io/ amd Oracle VirtualBox can be downloaded at: https://www.virtualbox.org/.
2. Open Docker Quickstart Terminal
It will run pre-create checks and one may need to enable "Visualization" in BIOS if it is not. Then you will see the cute whale.

Sometimes, you may need to regenerate certifications, otherwise you will find error information after the virtual machine. It happened to me, to regenerate the certifications you need to type:
$docker-machine regenerate-certs default
To generate a new virtual machine called "vdocker", you can type:
$docker-machine create vdocker -d virtualbox
Now you can check the running virtual machine by typing:
$docker-machine ls

Or in Virtual Box you will see:

If you see the running virtual machine, then you can go to the next step to install TensorFlow
3. Install TensorFlow
Open a cmd, rather than Docker Terminal,
type
>FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd vdocker') DO %i

Then install TensorFlow:
>docker run -it -p : b.gcr.io/tensorflow/tensorflow
4. Open chrome and go to Open chrome and go to http://192.168.99.***:8888/
You need change the IP according to your case. Then you open the Jupyter and try your first deep learning example.

It will give you W is about 0.1 and b is about 0.3:

Enjoy TensorFlow and explore more on deep learning on your own!
By 董辉(ECE@德克萨斯大学Austin分校)
原创内容,未经许可,不需转载!
Windows安装TensorFlow-Docker Installation of TensorFlow on Windows的更多相关文章
- windows安装使用docker
doker就是一个容器,如果想要在windows安装还必须要用另外一个工具docker-toolbox.下载地址:https://mirrors.aliyun.com/docker-toolbox/w ...
- Windows安装配置docker
如果是win10的,请在https://docs.docker.com/docker-for-windows/install/#download-docker-for-windows 下载Stable ...
- 关于Tensorflow基于Windows安装那些事儿
声明:代码及博客小白一枚,如有错误,感谢指正~~ 众所周知,摘抄来温习一遍: Tensorflow 是一个采用数据流图(data flow graphs),用于数值计算的开源软件库.节点(Nodes) ...
- Docker Desktop for Windows 安装步骤
Docker Desktop for Windows 安装要求 Docker Desktop for Windows需要运行Microsoft Hyper-V.如果需要,Docker Desktop ...
- openssh for windows安装
openssh for windows安装 2009-11-22 22:43:58 分类: WINDOWS 本文转自:http://blog.chinaunix.net/uid-7541208-id ...
- RabbitMQ windows安装官方文档翻译!
RabbitMQ Windows安装和配置 下载地址 官网windows下载地址: http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.10/r ...
- Windows安装mapnik
windows安装mapnik,首先去官网下载windows压缩包:http://mapnik.org/,解压位置C:\mapnik-v2.2.0 然后下载安装python2.7,安装位置 C:\P ...
- Redis 3.0 Windows 安装步骤
Redis 3.0 Windows 安装步骤 ----来自 https://www.aliyun.com/jiaocheng/872572.html 发布时间:2018-04-10 来源:网络 上传者 ...
- windows下使用docker安装tensorflow
一.安装Docker 1.首先先按照docker,从https://get.daocloud.io/toolbox/ 下载exe文件就好 双击安装会多出来三个东西: Oracle VM Virtua ...
随机推荐
- PHP Warning: phpinfo(): It is not safe to rely on the system's timezone setting
错误描述: PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *re ...
- [转]详解AppDelegate/UIApplication
一.UIApplication 1.简单介绍 (1)UIApplication对象是应用程序的象征,一个UIApplication对象就代表一个应用程序. (2)每一个应用都有自己的UIApplica ...
- C语言内存调试技巧—C语言最大难点揭秘
本文将带您了解一些良好的和内存相关的编码实践,以将内存错误保持在控制范围内.内存错误是 C 和 C++ 编程的祸根:它们很普遍,认识其严重性已有二十多年,但始终没有彻底解决,它们可能严重影响应用程序, ...
- PADSPOWERPCB中怎样去隐藏一些PIN脚
由于一些板,尤其是U盘等面积很小的板,FLASH中只使用了为数不多的几个PIN,为了可以让其它PIN下面可以走线,增加GND网络的面积,所以实际操作中要隐藏一些PIN.这就需要怎么操作呢! 我们要做的 ...
- Navicat_Preminum
一. 安装 参考http://blog.csdn.net/longyuhome/article/details/79206041. 软件准备• [OYKSOFT.COM]navicat11.0.8_p ...
- codility上的问题 (22)
问题描述: 用1 * 1, 1 * 2的矩形覆盖一个n行m列的矩形,问有多少种方法. 数据范围 : n [1..10^6], m [ 1..7] 要求复杂度: 时间 O(log(n) * 8 ^m ...
- windows中.msc文件详解
msc是Microsoft Management Console的缩写.其实是一种可执行程序类型,可.exe类似.一般可以通过直接双击.msc文件或者在windows的运行中输入相应的文件名来启动. ...
- JQuery 图片延迟加载并等比缩放插件
原文地址:http://www.shangxueba.com/jingyan/1909987.html DEMO地址:http://demo.jb51.net/html/jquery_img/jque ...
- 使用skin++进行MFC界面美化范例
1.下载skin++皮肤库和皮肤库,skin++皮肤库主要包括:SkinPPWTL.dll,SkinPPWTL.lib,SkinPPWTL.h这三个文件.把这三个文件 拷贝到工程目录下. 2.在工程中 ...
- DBA 经典面试题(1)
1:列举几种表连接方式 hash join. merge join. nest loop join(cluster join). index join 2:不借助第三方工具,怎样查看sql的执 ...