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/14 09:28]
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.
 </WRAP> </WRAP>
- 
-===== Get source code ===== 
-Clone the examples [[gh>sravansenthiln1/armnn_tflite]] 
- 
-```shell 
-$ git clone https://github.com/sravansenthiln1/armnn_tflite 
-$ cd armnn_tflite 
-``` 
  
 ===== Setup the environment ===== ===== Setup the environment =====
Line 63: Line 55:
 </WRAP> </WRAP>
  
-==== Install necessary python packages ====+===== Get source code ===== 
 +Clone the examples [[gh>sravansenthiln1/armnn_tflite]] 
 ```shell ```shell
-pip3 install pillow numpy==1.26.2+git clone https://github.com/sravansenthiln1/armnn_tflite 
 +$ cd armnn_tflite
 ``` ```
  
-==== Install the TFLite runtime interpreter ====+==== Install necessary python packages ====
 ```shell ```shell
-pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime+pip3 install numpy==1.26.tflite_runtime pillow opencv librosa sounddevice
 ``` ```
  
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/14 09:28 by sravan