So my https://www.gearbots.org/ after school group is enjoying Edge Impulse much more than my, from scratch method of doing Machine Learning for high school students. As one grade 9 says, “Edge Impulse is like what you teach Mr. Ellis, just so much easier.”
I get students to make Machine Learning models using TensorflowJS, convert them to Tensorflow keras .pb files, then convert these to TFlite and finally to c header files to load on micrcontrollers.
One of these students exported a keras tensorflow .pb file from Edge Impulse and asked if it could be loaded on a webpage using TensorflowJS. So we converted the .bp model file into a TF.json file with supporting .bin weights file. Not really sure how to load it on a webpage but reasonably sure we can do it.
Wondering if anyone has tried this before and has any suggestions on getting the files working on a webpage.
Hoping to get something like this running with our impulse https://www.rocksetta.com/tensorflowjs/tfjs-models/blazeface/index.html