Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:npu:demos:rknn-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:edge2:npu:demos:rknn-tflite [2023/12/18 01:19]
sravan
products:sbc:edge2:npu:demos:rknn-tflite [2025/06/06 03:24] (current)
louis
Line 1: Line 1:
-====== TFLite Edge2 Demo - ======+====== TFLite Edge2 Demo - 11 ======
 We can run TFLite models by converting them into RKNN format and running them on the onboard NPU. We can run TFLite models by converting them into RKNN format and running them on the onboard NPU.
 +
 +{{indexmenu_n>11}}
  
 ===== Get Source code ===== ===== Get Source code =====
Line 17: Line 19:
 After you have cloned the source code: After you have cloned the source code:
  
-==== get the necessary system packages ====+==== Get the necessary system packages ====
 ```shell ```shell
 $ sudo apt-get install git python3 python3-dev python3-pip $ sudo apt-get install git python3 python3-dev python3-pip
Line 118: Line 120:
 ==== Copy the runtime library ==== ==== Copy the runtime library ====
 ```shell ```shell
-$sudo cp rknpu2/runtime/Linux/librknn_api/aarch64/librknnrt.so /usr/lib/+$ sudo cp rknpu2/runtime/Linux/librknn_api/aarch64/librknnrt.so /usr/lib/
 $ cd ../ $ cd ../
 ``` ```
  
-==== Copy the runtime library ==== 
-```shell 
-$ sudo cp runtime/RK3588/Linux/librknn_api/aarch64/librknnrt.so /usr/lib/ 
-$ cd ../ 
-``` 
  
 ===== Run Examples ===== ===== Run Examples =====
Last modified: 2023/12/18 01:19 by sravan