Does anyone know of links to demo TFJS sites with working image training and classification models working fully in the browser on the clientside? Either from scratch or transfer learning using mobilenet etc.
Here is a page I made years ago using TFJS version 1.0.2
Thanks @Matthew_Soulanille and @Dennis you are right that Teachable Machine is an awesome site, but it is fully cloud based and I want to make something much simpler but client based so that it will also work off-line and be reasonably simple to understand. “I teach robotics and ML in a High School”
An earlier version of Teachable Machine was open sourced on GitHub. It doesn’t work offline as it’s currently written, but it could probably be modified into a simpler offline example. It hasn’t been updated in a long time, though (it uses TFJS 0.11.7!), so it may take some work to bring it up-to-date.
Let me see if anyone else on the team knows of a better example.
@chunduriv I think I will try to make a client side version of the TeachableMachine linked to above, for multiple reasons:
Teaches the full process of making an ML model using TFJS
All the benefits of client side, from security, bandwidth, etc
Able to include other sensors more than just vision and sound
Possible connection with TFlite (actually this part I have already done)
Possible webUSB microcontroller connection (ditto)
I teach high school robotics so am fairly good at simplifying complex code. When I first started making TFJS demos around 2017 (it was called deeplearnjs then) I had some amazing assistance from very helpful people from Google such as: Nikhil Thorat, Daniel Smilkov, Yannick Assogba, Shanqing Cai, Manraj Singh and many others.
Can you think of anyone on the present Tensorflow team that would be interested in such a project? Better if they actually took it on (with my help of course).
Anyone else interested in such a project just like this post.
I got Jason’s Glitch Mobilnet Transfer Learning site working on a static webpage and updated to TFJS Version 4.1.0 and it is very nicely done.
I am struggling with Yannick’s Digit recognition Codelab, but as a >30 year coding teacher I have always had issue with Codelab’s, they never seem to work for me. I learn a ton from working examples, this having to make it myself always messes up, also like most people I just want a static tensorflowjs site and switching from a codelab to a static page is always complex. I am close, just having a few minor issues.
Anyway, thanks so much for giving the suggestions, it was good to see nicely made code. I am also trying chatGPT to see if it can write the code for me. It is not too bad, just timing out a lot from heavy use.