This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:applications:armnn-tflite [2024/12/14 09:26] sravan |
products:sbc:common:applications:armnn-tflite [2024/12/16 05:22] (current) sravan [Install necessary python packages] |
||
---|---|---|---|
Line 9: | Line 9: | ||
<WRAP info> | <WRAP info> | ||
This library depends on OpenCL, make sure you are using the following platforms to ensure the driver is present. | This library depends on OpenCL, make sure you are using the following platforms to ensure the driver is present. | ||
- | ^ board ^ Linux Kernel (BSP) ^ OS ^ | + | ^ board ^ Linux Kernel (BSP) ^ OS ^ |
- | | VIM3 | 4.9 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | + | | VIM3 |
- | | VIM3L | 4.9 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | + | | VIM3L | 4.9 \\ 5.15 |
- | | VIM4| 5.4 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | + | | VIM4 |
- | | Edge2| 5.10| Ubuntu 22.04 \\ Ubuntu 24.04 | | + | | Edge2 | 5.10 \\ 6.1 | Ubuntu 22.04 \\ Ubuntu 24.04 | |
You can refer to the [[products: | You can refer to the [[products: | ||
</ | </ | ||
- | |||
- | ===== Get source code ===== | ||
- | Clone the examples [[gh> | ||
- | |||
- | ```shell | ||
- | $ git clone https:// | ||
- | $ cd armnn_tflite | ||
- | ``` | ||
===== Setup the environment ===== | ===== Setup the environment ===== | ||
Line 33: | Line 25: | ||
<WRAP important> | <WRAP important> | ||
- | Ubuntu 24.04 ships with the updated 3.12 version of python which has constraints on installing non-system | + | Ubuntu 24.04 ships with the updated 3.12 version of python which Tensorflow |
- | as a result, python packages | + | |
- | Furthermore, | + | Furthermore, |
+ | as a result, python packages | ||
You must activate this environment whenever you need to use the application. | You must activate this environment whenever you need to use the application. | ||
Line 63: | Line 55: | ||
</ | </ | ||
- | ==== Install necessary python packages | + | ===== Get source code ===== |
+ | Clone the examples [[gh> | ||
```shell | ```shell | ||
- | $ pip3 install pillow numpy==1.26.2 | + | $ git clone https:// |
+ | $ cd armnn_tflite | ||
``` | ``` | ||
- | ==== Install | + | ==== Install |
```shell | ```shell | ||
- | $ pip3 install | + | pip3 install |
``` | ``` | ||
Line 90: | Line 85: | ||
==== Create library symlinks ==== | ==== Create library symlinks ==== | ||
```shell | ```shell | ||
- | $ sudo ln ../ | + | $ sudo ln ../ |
$ sudo ln ../ | $ sudo ln ../ | ||
``` | ``` |