4 ms·
Yes, tensorflow model can run on JS. I did that when developing a Deep Learning product, PredictSalary (https://predictsalary.com https://predictsalary.com). Th
by langitbiru 6y ago
Yes, tensorflow model can run on JS. I did that when developing a Deep Learning product, PredictSalary (https://predictsalary.com 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.