Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You first need to get a MNIST Keyras already trained model.

One is provided in file called cnn.h5. Many others are available using Google...

Convert this file to be readable with Tensorflow using something like (https://github.com/tensorflow/tfjs-converter): tensorflowjs_converter --input_format keras keyras_model.h5 target_directory

The result of this command is in assets directory.

Refer to https://js.tensorflow.org for detailled explanantions.

Then you can load it in Tensorflow using: this.model = await tf.loadModel('./assets/model.json');

About

Digit recognition with TensorflowJS

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages