Last active
March 8, 2023 10:30
-
-
Save nyx-rattapoom/ff30b79663f845ffe0937eb99d640f62 to your computer and use it in GitHub Desktop.
tensorflow.js js vs wasm performance on raspberry pi 1b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dietpi@rpi-b:~/tensor_js$ time node main.js | |
The predicted class is 286 with probability 12.73. | |
real 1m35.460s | |
user 1m21.866s | |
sys 0m6.460s | |
dietpi@rpi-b:~/tensor_js$ time node main.js | |
============================ | |
Hi, looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, visit https://github.com/tensorflow/tfjs-node for more details. | |
============================ | |
The predicted class is 286 with probability 12.73. | |
real 2m25.696s | |
user 2m9.454s | |
sys 0m6.603s | |
dietpi@rpi-b:~/tensor_js$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment