Re:Tensorflow.js: Machine Learning in JavaScript
by johnx123-up on Monday June 08, 2020 @01:14PM
(#23458464)
TF Lite to TFJS might be a good option. But, this ticket is pending for a long time https://github.com/tensorflow/tfjs/issues/991 Do you have any solution for this?
https://github.com/paruby/mnist
See model/mnist_js.ipynb to see how the model is trained and exported to a js readable format, and you can see in lines 13-15 in index.html how the model is loaded.
Note: I have a decent amount of ML experience but almost no javascript experience, so YMMV