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/16 04:19] 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: | ||
| Line 65: | Line 65: | ||
| ==== Install necessary python packages ==== | ==== Install necessary python packages ==== | ||
| ```shell | ```shell | ||
| - | $ pip3 install | + | pip3 install numpy==1.26.2 tflite_runtime |
| - | ``` | + | |
| - | + | ||
| - | ==== Install the TFLite runtime interpreter ==== | + | |
| - | ```shell | + | |
| - | $ pip3 install --extra-index-url https:// | + | |
| ``` | ``` | ||
| Line 90: | Line 85: | ||
| ==== Create library symlinks ==== | ==== Create library symlinks ==== | ||
| ```shell | ```shell | ||
| - | $ sudo ln ../ | + | $ sudo ln ../ |
| $ sudo ln ../ | $ sudo ln ../ | ||
| ``` | ``` | ||