Giter Site home page Giter Site logo

elhadicherifi95 / hands_on_tensorflow_high_level_apis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from publicissapient-france/hands_on_tensorflow_high_level_apis

0.0 2.0 0.0 63 KB

Tutorial on TensorFlow High Level APIs

Jupyter Notebook 98.68% Dockerfile 1.32%

hands_on_tensorflow_high_level_apis's Introduction

Hands on tensorflow high level apis

Tutorial on TensorFlow High Level APIs

Binder

Extensions to add

The notebooks work with jupyter notebook extensions. Once you access jupyter, before starting the notebook, go on the Nbextensions tab and check the following extensions:

  • Exercice2
  • ExecuteTime
  • highlighter
  • Table of Contents (2)

You can then start the notebooks, and you're good to go!

Setup working environment -DOCKER-

Execute the following commands in the same directory as Dockerfile.

Build image

docker build -t tf2_devoxx19 .

Check image list

docker images

Run

docker run -d -p 8888:8888 -p 6006:6006 tf2_devoxx19

Check container id

docker ps

Next

Open in browser at http://127.0.0.1:8888

To retrieve the token for your notebooks type

docker logs <container_id>

At the end

docker stop <container_id>

Setup working environment -VIRTUALENV-

Make sure you have Python 3.5 ou 3.6 installed:

python3 --version

If you don’t have it you can download it here.

If you don’t have virtualenv installed type

pip3 install virtualenv

Go the the project root and create the virtual environment and activate it (change python version to 3.5 if you have python 3.5 installed):

virtualenv --python=python3.6 tf2_devoxx19
source ./tf2_devoxx19/bin/activate

Install requirements and launch notebooks:

pip3 install --upgrade -r requirements.txt
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user
jupyter notebook

To exit virtual environment:

deactivate

To remove virtual environment:

rm -rf tf2_devoxx19

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.