Giter Club home page Giter Club logo

esiexata / rpi-tensorflow-py3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elswork/rpi-tensorflow-py3

0.0 1.0 0.0 210 KB

A Docker image for Tensorflow, an open source software library for numerical computation using data flow graphs that will let you play and learn distinct Machine Learning techniques over JupyterLab an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Computational Narratives as the Engine of Collaborative Data Science. All this under Python language.

Home Page: https://deft.work/tensorflow_for_raspberry

License: MIT License

Python 0.74% Jupyter Notebook 99.26%

rpi-tensorflow-py3's Introduction

Supercharged Machine Learning ToolBox for ARM

A Docker image for ARM devices with Tensorflow 1.6.0 an open source software library for numerical computation using data flow graphs that will let you play and learn distinct Machine Learning techniques over Jupyter Notebook an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Computational Narratives as the Engine of Collaborative Data Science. All this under Python 3.4 language. There image is a copy on another image based on Python 2.7 elswork/rpi-tensorflow You will find there extended information about this image.

Be aware! This image is experimental, you should use the other one unless the use of Python 3 would be indispensable!

Considerations

You will see some warning messages when executing commands in jupyter notebooks this is caused because tensorflow wheel package is built for Python 3.4 and the Python version of container is 3.5, but despite this commands will work as expected.

Most tags of this container should work under arm32v7 (raspberry, odroid, ...), amd64 tag is for x86 (most computers)

Details

Build Instructions

Build for arm32v7 architecture

docker build -t elswork/rpi-tensorflow-py3:latest .

Build for amd64 architecture

docker build -t elswork/rpi-tensorflow-py3:latest \
 --build-arg WHL_URL=https://storage.googleapis.com/tensorflow/linux/cpu/ \
 --build-arg WHL_FILE=tensorflow-1.6.0-cp34-cp34m-linux_x86_64.whl .

My Real Usage Example

In order everyone could take full advantages of the usage of this docker container, I'll describe my own real usage setup. For amd64 architecture replace latest by amd64 tag.

docker run -d -p 8888:8888 elswork/rpi-tensorflow-py3:latest

A more complex sample:

docker run -d -p 8888:8888 -p 0.0.0.0:6006:6006 \
 --restart=unless-stopped elswork/rpi-tensorflow-py3:latest

Point your browser to http://localhost:8888

First time you open it, you should provide a Token to log on you cand find it with this command:

docker logs container_name

With the second example you can run TensorBoard executing this command in the container:

tensorboard --logdir=path/to/log-directory --host=0.0.0.0

And pointing your browser to http://localhost:6006

rpi-tensorflow-py3's People

Contributors

elswork avatar

Watchers

James Cloos avatar

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.