TensorFlow Lite is for mobile and embedded devices
tensorflow.org
tensorflow.org
This might be usable if it doesn't require Bazil. Requiring that makes deployment much, much heavier and makes the whole process significantly more complex.
"Embedded"? Does that mean ARM to these folks who don't know how to version and how to document?
As long as you stick with the official 4 Google languages (C++, Java, Python, Go) it doesn't get any better IMO, as far as build systems are concerned. I do wish it didn't require Java though.
I wanted to build TF on the Pi but at the time I assumed it required Bazel. Bazel had no ARM version (my experience was in mid-2017). I had to first build Bazel from sources. Failed a few times because its heap settings were too low, required a lot more swap and storage than I expected, and got the Pi so hot that I had to quickly setup some cooling fans around. A successful build took ~1.5 hours on a RPi 2.
Then the full TF build using Bazel took some 10-11 hours.
Finally, Bazel's command-lines - ex: "bazel build --config=opt -k //tensorflow/tools/pip_package:build_pip_package" - felt very counterintuitive and not easy to remember.
For the first two problems, I learnt it the hard way that a cross-compilation environment is better than building on-device. The last one I still have a problem with.
Most Google native libraries targeted to Android, instead of using Android tooling integration, tend to be some link to a github repository with an endless list of manual integration steps, including making use of Blaze.
It is as if the teams don't know better, never used Apple or Microsoft's C++ SDKs, or at very least walked next door to check how one is supposed to do it on Android.
They say performance is comparable, but I wish the landing page would elaborate more on the differences between this library and standard TF.
"TensorFlow Lite is the official solution for running machine learning models on mobile and embedded devices."
it's the OFFICIAL SOLUTION.
please, DO NOT QUESTION us. We are TEH GOOGZ!
Both are very exciting and great opportunities for high schoolers to get involved in STEM (as well as being an amazing chance for adults to get involved in mentoring a team). I can’t recommend it enough.