Tensorflow js VS Tensorflow Lite [英] Tensorflow js VS Tensorflow Lite

查看:50
本文介绍了Tensorflow js VS Tensorflow Lite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个非常开放的问题.

如果我想在浏览器上部署机器学习(对象检测)模型,可能是在 web 应用程序上部署(在手机上查看),那么当前的区别是什么.

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).

据我所知,tensorflowjs 和 tensorflowlite 都兼容这样的部署.(我听说 tensorflowlite 更胜一筹,但很想找出优缺点(如果有的话))

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)

它们之间的主要区别是什么?tensorflowjs 也会是一个不错的选择吗?

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

推荐答案

tensorflow-lite 与 tensorflow.js 的主要区别在于你不能使用 tensorflow lite 训练新的或现有的模型,但使用 tensorflow.js 你可以.

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.

因此tensorflowlite仅用于在小容量设备(例如IOT)上进行推理

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

此外,tensorflow.js 仅适用于 nodejs/typescript 和/或浏览器环境.

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

这篇关于Tensorflow js VS Tensorflow Lite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆