This notebook contains an example of training a neural network using TensorFlow and Python, then running it in the browser using TensorFlow.js.
This notebook provides example code to do the following:
- Train a neural network using Python to classify flowers
- Save the model to disk
- Convert the model to TensorFlow.js format
- Create a webpage using a minimum amount of HTML and JavaScript to run the model
- Serve the webpage from this notebook (instructions are also provided to serve the page locally)
- Upload images through the UI and classify them with the model