Windows installation Tensorflow-docker installation of TensorFlow on Windows

Source: Internet
Author: User
Tags docker run oracle vm virtualbox vm virtualbox

TensorFlow is a deep learning package developed by Google and is currently only supported on Linux and OSX. But this fall may have a Windows-enabled version of it, so for developers who use Windows, there's no need to wait for the fall or go to Linux and OSX TensorFlow. There are two ways to run on Windows, one is to install the virtual machine and install the Ubuntu system, install TensorFlow on the Ubuntu system, and the steps can be found on Google's website: https://www.tensorflow.org/ Versions/r0.8/get_started/os_setup.html#pip-installation. Another way is to install it with Docker. I'll share the experience of installing tensorflow with Docker. The following are chinglish, not handling, but also easy to read.

One can always install the TensorFlow on Ubuntu in a Vsan 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 the Git for Windows and Oracle VM VirtualBox independently, and thus you just need to click "Next". Git for Windowns can is 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 would run pre-create checks and one may need to enable the "visualization" in BIOS if it isn't. Then you'll see the cute whale.

Sometimes, need to regenerate certifications and otherwise you'll 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 vsan called "Vdocker", you can type:

$docker-machine Create vdocker-d VirtualBox

Now your can check the running virtual machine by typing:

$docker-machine ls

Or in Virtual Box, you'll see:

If you see the running Vsan, 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 8888:8888 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'll give you W are about 0.1 and B are about 0.3:

Enjoy TensorFlow and explore more on deep learning on your own!

Windows installation Tensorflow-docker installation of TensorFlow on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.