/tfjs-tut-2

Primary LanguageJavaScript

Tensorflow Learning Journey - Exercise #2


This is my second attempt at Tensorflow.js. This exercise takes samples of black and white images in 28x28 pixels and their corresponding labels to train a model to recognise the number from an image.

Reference:
TensorFlow.js — Handwritten digit recognition with CNNs

How to use this?


  1. Git clone the repo
  2. Install the app dependencies:
    ## In the terminal
    $ npm i
    
  3. Run the app
    ## In the terminal
    $ npm start
    
  4. Refer to App.js to see the steps for preparing, training and testing the model