diff options
author | Pavel Macenauer <pavel.macenauer@linaro.org> | 2020-04-15 14:52:57 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-04-28 19:14:47 +0000 |
commit | d0fedaee5c8488533e52e15590c1db07296c7ad6 (patch) | |
tree | 8591194685f51e10111faa7865f10c6d14d21f08 /python/pyarmnn/README.md | |
parent | 898704647d9bebe271992bad4d3f077cb6518f7e (diff) | |
download | armnn-d0fedaee5c8488533e52e15590c1db07296c7ad6.tar.gz |
PyArmNN example scripts
Change-Id: I2a5c3d291d19982c536c6b7341c01bb7c289871a
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
Diffstat (limited to 'python/pyarmnn/README.md')
-rw-r--r-- | python/pyarmnn/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/pyarmnn/README.md b/python/pyarmnn/README.md index 7028ff8cbe..a8f7573826 100644 --- a/python/pyarmnn/README.md +++ b/python/pyarmnn/README.md @@ -122,6 +122,18 @@ results = ann.workload_tensors_to_ndarray(output_tensors) print(results) ``` +#### Examples + +To further explore PyArmNN API there are several examples provided in the examples folder running classification on an image. To run them first install the dependencies: + ```bash +$ pip install -r examples/requirements.txt +``` +Afterwards simply execute the example scripts, e.g.: + ```bash +$ python tflite_mobilenetv1_quantized.py +``` +All resources are downloaded during execution, so if you do not have access to the internet, you may need to download these manually. `example_utils.py` contains code shared between the examples. + # Setup development environment Before, proceeding to the next steps, make sure that: |