https://github.com/9bow/tensorflowjs-codelab-transfer-learning-image-classifier
A simple example of tensorflow.js taken from codelab
https://github.com/9bow/tensorflowjs-codelab-transfer-learning-image-classifier
tensorflow-examples tensorflow-experiments tensorflow-js
Last synced: 3 months ago
JSON representation
A simple example of tensorflow.js taken from codelab
- Host: GitHub
- URL: https://github.com/9bow/tensorflowjs-codelab-transfer-learning-image-classifier
- Owner: 9bow
- Created: 2019-05-09T23:31:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T07:12:19.000Z (about 6 years ago)
- Last Synced: 2025-03-25T05:48:38.812Z (3 months ago)
- Topics: tensorflow-examples, tensorflow-experiments, tensorflow-js
- Language: JavaScript
- Homepage: https://9bow.github.io/TensorflowJS-Codelab-Transfer-Learning-Image-Classifier
- Size: 1.92 MB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tensorflow.js Transfer Learning Image Classifier Example
## Description
A step-by-step description of the code is available in [Codelab on Google I/O 19](https://codelabs.developers.google.com/codelabs/tensorflowjs-teachablemachine-codelab/).
And if you want to run this example yourself, visit [https://9bow.github.io/TensorflowJS-Codelab-Transfer-Learning-Image-Classifier](https://9bow.github.io/TensorflowJS-Codelab-Transfer-Learning-Image-Classifier).## How to experience
This example classifies images.
1. First, connect to [the site](https://9bow.github.io/TensorflowJS-Codelab-Transfer-Learning-Image-Classifier) to use this example and then grant WebCam privileges.
(WebCam privileges are required for learning.)2. Take a pose or something that corresponds to each class of four (A to D) and press the `Train X` button.
3. If you have studied at least once, you can see `Prediction` and `Probability` at the bottom.
4. If the `Prediction` is not correct or the `Probability` is low, add more training data. (Step 2)
## Sample
* I try to categorize the hand shape of the Rock Paper Scissors.
* A is scissors, B is a rock, C is Paper, and D is nothing.
* I train each class about fifteen or so times, and the learning result is as follows.
## More information
More Codelabs can be found at [https://codelabs.developers.google.com/io2019/](https://codelabs.developers.google.com/io2019/).
For more information on Tensorflow.js, please visit [https://www.tensorflow.org/js](https://www.tensorflow.org/js).