aboutsummaryrefslogtreecommitdiff
path: root/delegate/DelegateQuickStartGuide.md
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-07-25 13:24:49 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-28 15:07:29 +0100
commit46f298657c14c1b0a4b0690ecce49f64dc0a7010 (patch)
treea3414ef3b782c7030073487cc466e3ee18fff933 /delegate/DelegateQuickStartGuide.md
parent6b47809e7d6c55d20a05d863ce2f09159f381f85 (diff)
downloadarmnn-46f298657c14c1b0a4b0690ecce49f64dc0a7010.tar.gz
GitHub #650: DelegateQuickStartGuide.md errors fix.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: If24cad1d5d403e195d7adc539afb83cc5df134d1
Diffstat (limited to 'delegate/DelegateQuickStartGuide.md')
-rw-r--r--delegate/DelegateQuickStartGuide.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/delegate/DelegateQuickStartGuide.md b/delegate/DelegateQuickStartGuide.md
index b7cdef8f6e..c24a17bcf6 100644
--- a/delegate/DelegateQuickStartGuide.md
+++ b/delegate/DelegateQuickStartGuide.md
@@ -42,7 +42,11 @@ Pre-requisites:
* numpy (Depends on TfLite version)
* tflite_runtime (>=2.5, depends on Arm NN Delegate)
-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/).
+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:
+
+```bash
+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
@@ -73,7 +77,7 @@ you may need to build the pip package from source. You can find more information
But in our case, with Tensorflow Lite 2.5.0, we can install through:
```
-pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime
+pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.5.0
```
Your virtual environment is now all setup. Copy the final python script into a python file e.g.