by general_ai · 9y ago · 0 comments
TensorFlow is not suitable for anything practical on the Pi. You can certainly get it to run there, but CPU vector math on resource constrained devices is not going to be a forte for a framework designed primarily for quickly iterating over models on a GPU workstation or a multi-GPU server. TF very much likes to have a very beefy GPU.
Remember when Wolfram came to the Pi? Runs too slow to be of use for anyone but it ships with every copy of raspbian.
>Perhaps the use-case is a fleet of Raspberry Pis?
This would be a waste of money, I know they're cheap but for a space that is working on GPU power anything CPU based isn't cost effective at all.
The Pi does have a GPU. Nothing amazing, but better than the CPU. Given this is public knowledge, why is the GPU being ignored in comments like yours?
You obviously wont do any training on the pi, but low power devices have been used for inference for years now. For example here it is made to run on a phone: https://github.com/tensorflow/tensorflow/tree/master/tensorf...
You give it problems and it generates answers -> that's inference.
An example on inference would be feeding it an image and classifying it with a neural net.
The example I linked to above has inception running, which classifies things you point the camera into 1000 different categories.
It is very easy to set up (I have done it, and it only took a few minutes)
There was a side by side with Google's online voice recognition and it out performed in speed and accuracy on a mobile GPU/CPU. Complete with an actual learning system. That is truer to an AI for the Raspberry Pi, not to mention addressing privacy concerns.
If this is a glorified API / Cloud adapter rather than a true AI, what is it really?
edit: found it https://www.youtube.com/watch?v=Fwzs8SvOI3Y
I have a strong feeling that quite a bit of R&D has been going toward Apple's upcoming chip, which will likely have a custom GPU architecture optimized for deep learning (of which Siri will also greatly benefit from) and augmented reality - like the custom HPU in Hololens. Apple's "Lens" wearable will probably pair via W1 with an iPhone which will handle most of the processing. Perhaps they'll even have a custom 3D/depth sensor based on the PrimeSense tech they purchased....
We're on the cusp of consumer AR going mainstream, and it's exciting.