rknn-toolkit2/examples/functions/gen_cpp_rknn_deploy_demo
Randall Zhuo b7c3b5c3c6 Update rknn-toolkit2/rknn-toolkit-lite2 to 1.5.2
Signed-off-by: Randall Zhuo <randall.zhuo@rock-chips.com>
2023-08-28 14:26:26 +08:00
..

RKNN Deploy demo

1.Introduction

RKNN-Toolkit2 support generate cpp deploy demo.

Support - platform: RK3562/ RK3566/ RK3568/ RK3588

2.How to use

1.To enable this function, export rknn model with setting "cpp_gen_cfg=True" as followed:

rknn.export_rknn('./mobilenet_v2.rknn', cpp_gen_cfg=True)

2.After setting "cpp_gen_cfg=True", a folder named "./rknn_deploy_demo" should be created. Then follow the introduction of "./rknn_deploy_demo/README.md" to execute the demo.