Coder Social home page Coder Social logo

tensorflow-demo's Introduction

TensorFlow Examples

This repository includes TensorFlow example codes for both distributed and non-distributed version. Contributions are very welcome.

Local examples

To run the local examples on Jupyter Notebooks, you can either use caicloud.io directly or run it in docker with caicloud TensorFlow image.

Use caicloud.io machine learning SaaS

  • Step 1. Login into caicloud.io. Registry here if you don't have a caicloud account. After login, you may see something like this alt text

  • Step 2. Click on "机器学习" and then click on "单机实验”. You may see something like the picture below if you haven't created one. If you have already created one, you can skip Step 3. alt text

  • Step 3. Creat an experiment environment by click “创建单机实验” and fill the required fields. alt text alt text

  • Step 4. Open Jupyter Notebook alt text

Use caicloud TensorFlow docker image

  • Step 1. Install Docker

  • Step 2. Pull image

    docker pull index.caicloud.io/tensorflow:0.8.0
    

    Note you need to have a caicloud account to pull the image.

  • Step 3. Start the image

    docker run --net=host index.caicloud.io/tensorflow:0.8.0
    
  • Step 4. Access the Jupyter Notebook at localhost:8888

Distributed examples

Distributed TensorFlow examples could only be run on caicloud.io.

  • Step 1. Create distributed TensorFlow cluster. This may take a few minutes. Note you'll need to create a kubernetes cluster before deploying a TensorFlow cluster. This doc describes how to create a kubernetes cluster on caicloud.io. alt text

  • Step 2. Open Jupyter Notebook.

  • Step 3. Create a terminal. alt text alt text

  • Step 4. Go into the distrubted examples directory:

    cd /distributed
    ls
    
  • Step 5. Run examples follow instructions here

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.