Gabriel
Gabriel

Reputation: 488

Tensorflow js VS Tensorflow Lite

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?

Upvotes: 11

Views: 4767

Answers (1)

divyang4481
divyang4481

Reputation: 1783

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.

enter image description here

Upvotes: 12

Related Questions