GithubHelp home page GithubHelp logo

pkmital / tensorflow-python3-jupyter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpbruinsslot/tensorflow-python3-jupyter

3.0 2.0 1.0 7 KB

Docker container with python 3 version of tensorflow accompanied by jupyter

Python 89.45% Shell 10.55%

tensorflow-python3-jupyter's Introduction

Tensorflow Python3 Jupyter

Docker Toolbox

Docker is a way of launching "virtual" machines on your computer which will aid the creation a machine capable of running tensorflow. In order to get up to speed with Tensorflow, please install the Docker Toolbox:

https://www.docker.com/products/docker-toolbox

You'll then need to run the "Docker Quickstart Terminal" which will launch a Terminal environment inside a Virtual Machine running on your computer. Once the terminal is launched, run the following command:

$ cd
$ docker-machine ip

This is the virtual machine's IP address, or location on your private network. NOTE THIS IP ADDRESS! As we'll need it in a second. Now run:

$ docker run -it -p 8888:8888 -p 6006:6006 -v /$(pwd)/tensorflow:/notebooks --name tf pkmital/tensorflow-python3-jupyter

On OSX, I discard the "/" just before the $(pwd). On Windows, make sure to include it! This command will download everything you need to run Tensorflow on a virtual machine. If all succeeds, you will have a prompt like this:

$ docker run -it -p 8888:8888 -p 6006:6006 -v /$(pwd)/tensorflow:/notebooks --name tf pkmital/tensorflow-python3-jupyter
Unable to find image 'pkmital/tensorflow-python3-jupyter:latest' locally
latest: Pulling from pkmital/tensorflow-python3-jupyter
5c90d4a2d1a8: Pull complete
ab30c63719b1: Pull complete
c6072700a242: Pull complete
abb742d515b4: Pull complete
7663bd2e167e: Pull complete
e0dfa7c8ceb7: Pull complete
5aec32f9504c: Pull complete
bf8f259657b7: Pull complete
97f51c760d42: Pull complete
88da4ac024f1: Pull complete
9be9261b300b: Pull complete
cbefc84e4f35: Pull complete
17c100eff420: Pull complete
a56c90619980: Pull complete
Digest: sha256:01cdde18a2838f819fd72c50fba9837bcde65017bf25261e1c978014c43280e9
Status: Downloaded newer image for pkmital/tensorflow-python3-jupyter:latest

The next time you want to start this machine, you will launch the docker quickstart terminal and then write:

$ cd
$ docker start -i tf

As a result of this, you should have a new folder "tensorflow" inside your Home directory. Make sure you do everything inside this directory only or else any files you make on your virtual machine WILL BE ERASED once it is shutdown! In case you did forget this, you can always find your previous docker instance by running:

$ docker ps -a
CONTAINER ID        IMAGE                                 COMMAND             CREATED             STATUS                       PORTS               NAMES
182bd64f27d2        some/container   "/bin/bash"         About an hour ago   Exited (130) 6 seconds ago                       tf

And you can launch this container ID or clone it to retrieve any files you might have forgotten.

tensorflow-python3-jupyter's People

Contributors

jpbruinsslot avatar pkmital avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

georgezero

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.