I want to install TensorFlow Lite on the Raspi.
I assume I can first pip install
the prebuilt TensorFlow for the Raspi. I'm reading the instructions to cross compile TensorFlow Lite here, but I have no idea what to do after generating libtensorflow-lite.a
.
TensorFlow is a large software library specially developed for deep learning. It consumes a vast amount of resources. You can execute TensorFlow on a Raspberry Pi 4, but don't expect miracles. It can run your models, if not too complex, but it will not be able to train new models.
The libtensorflow-lite.a should be used for C++ inference code.
There is a minimal example of TFLite. You can find Makefile from here. You might also want to check C++ API doc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With