Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:armnn-tflite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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   | 4.9 \\ 5.15         | Ubuntu 22.04 \\ Ubuntu 24.04  
-| VIM3L | 4.9 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | +| VIM3L  | 4.9 \\ 5.15         | Ubuntu 22.04 \\ Ubuntu 24.04  
-| VIM4| 5.4 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | +| VIM4   | 5.4 \\ 5.15         | Ubuntu 22.04 \\ Ubuntu 24.04  
-| 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:sbc:common:applications:opencl|]] doc for more info. You can refer to the [[products:sbc:common:applications:opencl|]] doc for more info.
Line 65: Line 65:
 ==== Install necessary python packages ==== ==== Install necessary python packages ====
 ```shell ```shell
-pip3 install pillow numpy==1.26.2 +pip3 install numpy==1.26.2 tflite_runtime pillow opencv librosa sounddevice
-``` +
- +
-==== Install the TFLite runtime interpreter ==== +
-```shell +
-$ pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime+
 ``` ```
  
Line 90: Line 85:
 ==== Create library symlinks ==== ==== Create library symlinks ====
 ```shell ```shell
-$ sudo ln ../libs/delegate/libarmnnDelegate.so.29.libarmnnDelegate.so.29+$ sudo ln ../libs/delegate/libarmnnDelegate.so.29.libarmnnDelegate.so.29
 $ sudo ln ../libs/libarmnn.so.34.0 libarmnn.so.34 $ sudo ln ../libs/libarmnn.so.34.0 libarmnn.so.34
 ``` ```
Last modified: 2024/12/16 04:19 by sravan