aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2023-05-15 11:24:43 +0100
committerNikhil Raj <nikhil.raj@arm.com>2023-05-15 15:28:40 +0100
commit499ebd917d8399f0a9d4d7e6e40a0ec321a4bab4 (patch)
tree7f67919b5f5e087e8a26eacd8d5d1c1f94224cc6
parentacedd859c64fff029ef89ac47dd1083434c3cec4 (diff)
downloadarmnn-499ebd917d8399f0a9d4d7e6e40a0ec321a4bab4.tar.gz
Fix versions in Delegate Quick start guide
* Fix tflite_runtime version * Fix Arm NN version * Fix Tf version Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I3baa3e2ccfcad524d81ee30b1e12468cd7be2cad
-rw-r--r--delegate/DelegateQuickStartGuide.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/delegate/DelegateQuickStartGuide.md b/delegate/DelegateQuickStartGuide.md
index c24a17bcf6..1665e0c158 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
+ * 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)
* python3 (Depends on TfLite version)
* virtualenv
* numpy (Depends on TfLite version)
- * tflite_runtime (>=2.5, depends on Arm NN Delegate)
+ * tflite_runtime (2.12 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=<path_to_so_binary_files>
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.5.0 for this guide.
+version. We will use Tensorflow Lite 2.12.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.5.0, we can install through:
+But in our case, with Tensorflow Lite 2.12.0, we can install through:
```
-pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.5.0
+pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.12.0
```
Your virtual environment is now all setup. Copy the final python script into a python file e.g.
@@ -91,7 +91,7 @@ python ExternalDelegatePythonTutorial.py
```
The output should look similar to this:
```bash
-Info: Arm NN v28.0.0
+Info: Arm NN v32.1.0
Info: Initialization time: 0.56 ms