Create a custom Image Classifier that will train on the fly in the browser using Tensorflow.js. First we need to load and run a popular pre-trained model called MobileNet for image classification in the browser. Then use a technique called "Transfer learning", which bootstraps our training with the pre-trained MobileNet model and customizes it to train for your application.
To complete this code, you will need:
- A recent version of Chrome or another modern browser.
- A text editor, either running locally on your machine or on the web via something like Codepen or Glitch.
- Knowledge of HTML, CSS, JavaScript, and Chrome DevTools (or your preferred browsers devtools).