Closed mitchross closed 3 years ago
@mitchross can you share this output?
python3 -c 'print(__import__("tflite_runtime").__version__)'
@Namburger
$ python3 -c 'print(__import__("tflite_runtime").__version__)' 2.1.0.post1
@mitchross that's an older version of tflite_runtime, please remove it completely and upgrade to this one and it should works!
pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime
@Namburger
pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://google-coral.github.io/py-repo/
Requirement already satisfied: tflite_runtime in /home/vanillax/.local/lib/python3.6/site-packages (2.1.0.post1)
Requirement already satisfied: numpy>=1.12.1 in /usr/local/lib/python3.6/dist-packages (from tflite_runtime) (1.16.1)
WARNING: You are using pip version 20.2.4; however, version 21.0.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
vanillax@vanillax-jetson:~/coral/pycoral$
Ahh, an issue similar to pi as described here: https://www.tensorflow.org/lite/guide/python#install_tensorflow_lite_for_python
You can just install it from these released packages, pick the one that matches your platform: https://github.com/google-coral/pycoral/releases/
Working!
Nice, I've also put in a bug for your other issues, I'll give you update when it's fixed