Skip to content

This project is an attemp to recreate google's popular Teachable Machine using Tensorflow.js

License

Notifications You must be signed in to change notification settings

gd03champ/TeachableMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teachable Machine

TensorFlow.js

This project is an attempt to recreate google's Teachable Machine using tensorflow.js 🙂
Transfer Learning with MobileNet v3 in TensorFlow.js and saved graph model from TFHub.

Cick image and process image classification models in seconds without single line of code
Deployed here 👉 click here

Project

← index.html

We simply have a script tag in our HTML to grab the latest version of TensorFlow.js

In this case we simply reference the following:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js" type="text/javascript"></script>

However, if you want to pull in a particular version of TensorFlow.js you can do so like this:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js" type="text/javascript"></script>

Optionally, if you want to include our TF.js visualization library you can do so using this import:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-vis/dist/tfjs-vis.umd.min.js" type="text/javascript"></script>

Visualizing Training ← More details here.

← style.css

Nothing to see here. Just styles to make the demo look prettier. You can use or ignore these as you please.

← script.js

This simply grabs a reference to a paragraph in the DOM and then prints out the TensorFlow.js version number to it once loaded.


About

This project is an attemp to recreate google's popular Teachable Machine using Tensorflow.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published