Hacker News new | ask | show | jobs
by jorgemf 2703 days ago
Is there any way to use a pytorch model in Mobile and in a website without a server API? For me 5hose are two good reasons to keep using TensorFlow.
2 comments

https://caffe2.ai/docs/AI-Camera-demo-android.html?

Not something I've used myself, but supposedly yes.

Thanks. I always forgot about caffe2 when talking about pytorch. I couldn't anything for JavaScript and mobile seems not as good supported as TF but for sure they will improve.
Have you actually used TFLite? It's slow as molasses. Deploying on mobile is a bit of a shitshow across the board right now, from what I undertand. Not all models are supported out of the box (especially with ONNX), and the ones that are supported aren't guaranteed to have acceptable performance with off-the-shelf frameworks. Documentation is very sparse as well, especially for the quantized stuff.
How do you use TF on mobile? via google.colab?
TF lite or TensorFlow.js