tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.36k stars 1.92k forks source link

Which version of Nodejs is compatible with tflite client? #8366

Closed HarjeetSinghGoldy closed 3 days ago

HarjeetSinghGoldy commented 2 weeks ago

Which version of Nodejs is compatible with Tflite in a Client web browser?

1) With Nodejs v20, when using tflite model its blocks the main thread and slows down the browser.

2) With Nodejs v18, then everything works fine.

Is Tflite is strongly dependent on the nodejs version?

shmishra99 commented 2 weeks ago

Hi @HarjeetSinghGoldy ,

Loading a TensorFlow Lite model in the browser doesn't require Node.js to be installed on your system. Node.js is required when loading a TensorFlow Lite model on the server side using @tensorflow/tfjs-node.

Could you please provide a small, reproducible code example showing how you are loading the tfLite model on the browser?

Let me know if i have missed something?

Thank You!!

github-actions[bot] commented 1 week ago

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 3 days ago

This issue was closed due to lack of activity after being marked stale for past 7 days.

google-ml-butler[bot] commented 3 days ago

Are you satisfied with the resolution of your issue? Yes No