From a2135bb3737bd7c86c6ea9ed8df2272e5f3ebcb0 Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Wed, 20 Sep 2023 16:04:58 +0100 Subject: IVGCVSW-8053 Update TensorFlow and FlatBuffers versions on ArmNN guides Signed-off-by: Narumol Prangnawarat Change-Id: I975cf4ccbddd1ea756e1d9f2148dcb8e320346f5 --- delegate/DelegateQuickStartGuide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'delegate') diff --git a/delegate/DelegateQuickStartGuide.md b/delegate/DelegateQuickStartGuide.md index 1665e0c158..6a14af4477 100644 --- a/delegate/DelegateQuickStartGuide.md +++ b/delegate/DelegateQuickStartGuide.md @@ -36,11 +36,11 @@ print(output_data) # Prepare the environment Pre-requisites: - * Dynamically build Arm NN Delegate library or download the Arm NN binaries (built with a particular SHA of Tensorflow 2.12.0, which is 6f692f73cb2043b4a0b0446539cd8c15b3dd9220) + * Dynamically build Arm NN Delegate library or download the Arm NN binaries (built with a particular SHA of Tensorflow v2.14.0-rc1, which is dd01672d9a99ac372cc77a2a84faf0aedaefa36c) * python3 (Depends on TfLite version) * virtualenv * numpy (Depends on TfLite version) - * tflite_runtime (2.12 currently available) + * tflite_runtime (v2.14.0-rc1 currently available) If you haven't built the delegate yet then take a look at the [build guide](./BuildGuideNative.md). Otherwise, you can download the binaries [here](https://github.com/ARM-software/armnn/releases/). Set the following environment variable to the location of the .so binary files: @@ -50,7 +50,7 @@ export LD_LIBRARY_PATH= We recommend creating a virtual environment for this tutorial. For the following code to work python3 is needed. Please also check the documentation of the TfLite version you want to use. There might be additional prerequisites for the python -version. We will use Tensorflow Lite 2.12.0 for this guide. +version. We will use Tensorflow Lite 2.14.0 for this guide. ```bash # Install python3 (We ended up with python3.5.3) and virtualenv sudo apt-get install python3-pip @@ -74,10 +74,10 @@ mobile and embedded devices. The TfLite [website](https://www.tensorflow.org/lite/guide/python) shows you two methods to download the `tflite_runtime` package. In our experience, the use of the pip command works for most systems including debian. However, if you're using an older version of Tensorflow, you may need to build the pip package from source. You can find more information [here](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/pip_package/README.md). -But in our case, with Tensorflow Lite 2.12.0, we can install through: +But in our case, with Tensorflow Lite 2.14.0, we can install through: ``` -pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.12.0 +pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.14.0 ``` Your virtual environment is now all setup. Copy the final python script into a python file e.g. -- cgit v1.2.1