This shows you the differences between two versions of the page.
| 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 - 8 ====== | + | ====== 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> | ||
| ===== 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/ | + | $ sudo cp rknpu2/ |
| $ cd ../ | $ cd ../ | ||
| ``` | ``` | ||
| - | ==== Copy the runtime library ==== | ||
| - | ```shell | ||
| - | $ sudo cp runtime/ | ||
| - | $ cd ../ | ||
| - | ``` | ||
| ===== Run Examples ===== | ===== Run Examples ===== | ||