Hacker News new | ask | show | jobs
by langitbiru 2123 days ago
Yes, tensorflow model can run on JS. I did that when developing a Deep Learning product, PredictSalary (https://predictsalary.com). The problem is not the model, but the TensorflowJS library (using Node) is big (8MB) after webpack-ing it (even after using compressing flag).

So I decided to move the inference to the server.

It's fast but I didn't toy with GPU setting when running Tensorflow model on JS.