[DOCKER] I'm a windows user but want to run tensorflow

It's my first time, but I'll write it quickly.

I'm a windows10 user, but I want to run tensorflow, so I'm trying various things. It's not working yet. I am taking a Udacity Deep Learning course (https://www.udacity.com/course/deep-learning--ud730) and my goal is to be able to do that task. I will write with emphasis on that.

What I did to the point that it works for the time being

I proceeded according to the following site, and now it works with iPython for the time being. I use docker. (Additional note at the bottom of the page. The procedure has been changed.) https://medium.com/@Rapchik/running-google-s-deep-learning-course-material-under-windows-82d468b6d5be#.6pk8esr9i

However, the vagrant specification seems to have changed, and I couldn't find the insecure_private_key that appears on this site. This was resolved by adding the following description to the sentence that this site says to add to the Vagrantfile. config.ssh.insert_key = false

As a result, it can be operated by the following procedure.

  1. Open a command prompt in the folder containing Vagrantfile and run vagrant up.
  2. Enter the site as per PuTTY (it is easier to save it) and open it. Something will come out, but select No.
  3. You will be asked for your user name, so enter core.
  4. cd tensorflow / tensorflow / examples / udacity / on PuTTY
  5. docker run -p 8888:8888 -it google_udacity
  6. Open http://127.0.0.1:8888/tree in your browser

Task

I managed to open it and tensorflow seems to work, so it was good for the time being. I can't save my python notebook. I looked at the following site and tried it, but it did not show an error, but it was not saved. .. .. Will it sync with some folder when it works? https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/udacity/README.md I omitted the --pull option because it didn't respond. Is it useless? docker I'm not sure. .. ..

Also, if you execute the source code prepared in Exercise 1 of Udacity, the kernel appears to have died. It will restart automatically. I can't read the notMNIST dataset because I die. It doesn't work.

I would like to know if anyone has succeeded.

---- Addendum ---- Something went well when I struggled. I was surprised to see rumors that it can only be shared under / c / Users. I referred to the following site and changed the method in various ways. I don't know docker so I don't know what's going on. .. .. http://qiita.com/Algebra_nobu/items/6c2b05e2a9a4a5ee456d

  1. Open Docker Quickstart Terminal and type docker-machine env default, then the command ʻeval $ (path to docker-machine env default)` that appears on the screen.
  2. docker run -p 8888: 8888 -p 6006: 6006 --name tekitou -v // c / Users / Folder you want to share: / notebooks -it b.gcr.io/tensorflow/tensorflow The folder you want to share is me Is ~ / tensorflow / examples / udacity.
  3. Ctrl + c, then type y
  4. docker start tekitou
  5. docker exec -it tekitou bash

Also, now that files can be shared, files that were too large to be decompressed on iPython can now be decompressed and then sent to iPython. I wonder if this can be done. Expectations.

---- Addendum ---- (2016/12/29) tensorflow is now compatible with windows! I feel that I just did pip install tensorflow on the spyder command line.

Recommended Posts

I'm a windows user but want to run tensorflow
I want DQN Puniki to hit a home run
[TensorFlow] I want to process windows with Ragged Tensor
How to run Django on IIS on a Windows server
I want to run a quantum computer with Python
How to run a Python file at a Windows 10 command prompt
Run Tensorflow natively supported on windows
[TensorFlow] If you want to run TensorBoard, install it with pip
How to run TensorFlow 1.0 code in 2.0
A story about trying to run JavaScripthon on Windows and giving up.
I want to tweet on Twitter with Python, but I'm addicted to it
Want to solve a simple classification problem?
Run TensorFlow on a GPU instance on AWS
I want to print in a comprehension
I want to build a Python environment
Run matplotlib on a Windows Docker container
How to run a Maya Python script
I just want to add scipy, but it's a messy note. Ubuntu, Python 3.
What to do when you want to receive files from a Windows client remotely
I want to make matplotlib a dark theme
Allow sudo to run apt without a password
I want to easily create a Noise Model
Put MicroPython on Windows to run ESP32 on Python
I want to INSERT a DataFrame into MSSQL
I want to create a window in Python
I want to make a game with Python
If you want to create a Word Cloud.
How to run CNN in 1 system notation in Tensorflow 2
I don't want to take a coding test
I'm addicted to Kintone as a data store
I want to create a plug-in type implementation
How to live a decent life on 2017 Windows
I want to do pyenv + pipenv on Windows
[I want to classify images using Tensorflow] (2) Let's classify images
I want to easily find a delicious restaurant
I want to write to a file with Python
I tried to make a ○ ✕ game using TensorFlow
I want to upload a Django app to heroku
I'm neither a programmer nor a data scientist, but I've been touching Tensorflow for a month, so it's super easy to understand.