Do you know how to consume model produced by python using tensorflow.js ?
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
https://github.com/tensorflow/tfjs/tree/master/tfjs-converte...