Coder Social home page Coder Social logo

tensorflow-keras-tutorial's Introduction

TensorFlow-Keras-Tutorial

Hands-on programming tutorial for TensorFlow and Keras

Presentation chart here: http://bit.ly/2Flgnnp

TensorFlow programming exercises:

  1. TF-00-ReadData.py
    Start your python basic program and load the data.

  2. TF-01-Placeholders.py
    Define Placeholder for input: image and label.

  3. TF-02-VariableFunctions.py
    Define Variables for model.

  4. TF-03-ModelLossOptimizer.py
    Define Loss function and Optimizer function.

  5. TF-04-DefineAccuracy.py
    Add Accuracy calculation.

  6. TF-05-RunGraphWithError.py
    Connect to runtime and run graph.

  7. TF-06-WorkingBasic.py
    Fix error: initialize variables.

  8. TF-07-IncreasedBatch.py
    Try larger batch of images.

  9. TF-08-OneCNN.py
    Create the first Convolution layer in the neural net. Add name scope to make the layers easier to read.

  10. TF-09-TwoCNN.py
    Create the second Convolution layer in the neural net.

  11. TF-10-FullConnect.py
    Create the fully connected layer in the neural net.

  12. TF-11-DropOut.py
    Add the dropout layer in the neural net to control overfitting.

  13. TF-12-TensorBoard.py
    Add FileWriter to visualize with TensorBoard. Add names and name scope to make it easier to read the graph. Add viewing images in TensorBoard. Add line graphs and histograms of variables. Add visualization for embedding.

Keras programming exercises:

  1. Keras-00-ReadData.py
    Load MNIST data from archive.

  2. Keras-01-DenseInput.py
    From #1, flatten image into a vector to prepare for the Dense layer.

  3. Keras-02-DenseLayer.py
    From #2, build a dense layer, compile and train.

  4. Keras-03-CNNInput.py
    From #1, reshape image to prepare for the convolution layer.

  5. Keras-04-OneCNNLayer.py
    From #4, build one CNN layer.

  6. Keras-05-TwoCNNLayer.py
    From #5, add second CNN layer and a dropout layer.

tensorflow-keras-tutorial's People

Contributors

tonanhngo avatar

Stargazers

 avatar  avatar

Watchers

 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.