Tensorflow js VS Tensorflow Lite

旧时模样 提交于 2020-05-16 03:52:10

问题


Quite an open-ended question.

Just pretty curious whats the current difference if I want to deploy a machine learning (object detection) model on the browser, perhaps on a webapp to begin with (to be viewed on a phone).

From what I know, both tensorflowjs and tensorflowlite are compatible for such a deployment. (I've heard tensorflowlite is superior but, curious to find the pros and cons if any)

What are the main differences between them? Will tensorflowjs be a good choice too?


回答1:


main difference of tensorflow-lite against tensorflow.js is that you can not train new or existing model using tensorflow lite,but with tensorflow.js you can.

Hence tensorflowlite is only for inference to do on small capacity device(e.g. IOT)

moreover tensorflow.js work with nodejs/typescript and/or browser environment only.



来源:https://stackoverflow.com/questions/59860397/tensorflow-js-vs-tensorflow-lite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!