after installing tflite_runtime on raspberry pi using the following commands
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - sudo apt-get update sudo apt-get install python3-tflite-runtime
and trying to import tflite .. I got "Illegal instruction"
The prebuilt tflite_runtime package set from the above site does not cover armv6 architecture yet.
Alternatively, you can choose some other options.
(1) Install the TensorFlow pip package.
TensorFlow Lite features are a part of TensorFlow package and the prebuilt TensorFlow pip packages support armv6. See https://www.tensorflow.org/install/pip
(2) Build your own tflite_runtime through Bazel or CMake.
If there is a need for installing the tflite_runtime only, it is possible to build the tflite_runtime by yourself. The following document describes the differences between Bazel and CMake and how to build the tflite_runtime through them.
Answered By – Jae sung Chung