Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance tfjs vs TensorFlow Lite #614

Closed
116050423 opened this issue Aug 16, 2018 · 2 comments
Closed

Performance tfjs vs TensorFlow Lite #614

116050423 opened this issue Aug 16, 2018 · 2 comments

Comments

@116050423
Copy link

Hi dear contributors,
recently I am trying to run some models on mobile phone and now I can do it by tfjs + mobile browsers(such as iOS safari).
I know tfjs is running in js engine and accelerated by WebGL.
Besides, TensorFlow Lite is designed for mobile and based on Apple Core ML accelerate lib (iOS) or Android Neural Network API(Android).
These two libs are designed for cpu/gpu acceleration and high performance.
So what's the performance difference between tfjs and tf lite for the same model?
Do you have quantized or empirical contrastive result?

@DavidGOrtega
Copy link

I haven't done meaurements yt since right now Im still in the process of using tfjs. However empirical work that I have done so far TF lite with model optimuzation and quantization is far superior than tfjs. Can't be compared. In example magenta pastiche takes a few seconds on lite for an HD image while in the browser under tfjs my laptop can't render completely a 256x256 image. Right now at least for me, they can not be compared

@rthadur
Copy link
Contributor

rthadur commented Nov 7, 2018

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants