Skip to content

Commit

Permalink
Update rknn-toolkit2/rknn-toolkit-lite2 to 1.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Randall Zhuo <randall.zhuo@rock-chips.com>
  • Loading branch information
Randall Zhuo committed May 26, 2023
1 parent 324671a commit d333c7d
Show file tree
Hide file tree
Showing 59 changed files with 3,263 additions and 696 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Rockchip Electronics Co.,Ltd.
// Copyright 2022 Rockchip Electronics Co.,Ltd.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Introduction
RKNN-Toolkit2 is a software development kit for users to perform model conversion, inference and performance evaluation on PC and Rockchip NPU platforms (RK3566, RK3568, RK3588, RK3588S, RV1103, RV1106).
RKNN-Toolkit2 is a software development kit for users to perform model conversion, inference and performance evaluation on PC and Rockchip NPU platforms (RK3566, RK3568, RK3588, RK3588S, RV1103, RV1106, RK3562).

RKNN-Toolkit-Lite2 provides Python programming interfaces for Rockchip NPU platform (RK3566, RK3568, RK3588, RK3588S) to help users deploy RKNN models and accelerate the implementation of AI applications.

Expand All @@ -22,15 +22,14 @@ Note:

# Notes
- Currently rknn-toolkit2 is not compatible with [rknn-toolkit](https://github.com/rockchip-linux/rknn-toolkit)
- Currently only support on Ubuntu 18.04 python 3.6 / Ubuntu 20.04 python 3.8
- Latest version:1.4.0(Release version)
- Currently only support on Ubuntu 18.04 python 3.6 / Ubuntu 20.04 python 3.8 / Ubuntu 22.04 python 3.10
- Latest version:1.5.0(Release version)

# Feedback and Community Support
Two ways are followed:
- [Issues](https://github.com/rockchip-linux/rknn-toolkit2/issues)
- [Redmine](https://redmine.rock-chips.com) (**Feedback recommended, Please consult our sales or FAE for the redmine account**)
- QQ Group Chat: 1025468710 (full, please join group 2)
- QQ Group Chat2: 547021958
<center class="half">
<img width="200" height="200" src="https://github.com/rockchip-linux/rknn-toolkit/blob/master/QQGroupQRCode.png" title="QQ Group Chat"/>
<img width="200" height="200" src="https://github.com/rockchip-linux/rknn-toolkit/blob/master/QQGroup2QRCode.png" title="QQ Group Chat2"/>
</center>
</center>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
float_dtype='float16', # new
optimization_level=3,
custom_string=None, # new
output_tensor_type=None) # new
remove_weight=False, # new
compress_weight=False, # new
inputs_yuv_fmt=None, # new
single_core_mode=False) # new

- In addition to the above abandoned/new items, there are other differences:

Expand All @@ -68,7 +71,7 @@
toolkit2: normal(default), mmse
target_platform:
toolkit1: rk1808, rk3399pro, rv1109, rv1126
toolkit2: rk3566, rk3568, rk3588
toolkit2: rk3566, rk3568, rk3588, rk3588s, rv1103, rv1106, rk3562 and newer

## rknn.load_tensorflow
- Toolkit1:
Expand Down Expand Up @@ -257,7 +260,7 @@

target:
toolkit1: None(simulator), RK3399Pro, RK1808
toolkit2: None(simulator), RK3566, RK3568, RK3588
toolkit2: None(simulator), RK3566, RK3568, RK3588, RK3562


Expand All @@ -280,16 +283,14 @@
## rknn.eval_perf
- Toolkit1:

eval_perf(inputs=None,
eval_perf(inputs=None, # abandoned
data_type=None, # abandoned
data_format=None,
data_format=None, # abandoned
is_print=True,
loop_cnt=1) # abandoned
- Toolkit2:

eval_perf(inputs=None,
data_format=None,
is_print=True)
eval_perf(is_print=True)


## rknn.export_rknn_precompile_model
Expand Down
533 changes: 0 additions & 533 deletions doc/RKNNToolKit2_OP_Support-1.4.0.md

This file was deleted.

492 changes: 492 additions & 0 deletions doc/RKNNToolKit2_OP_Support-1.5.0.md

Large diffs are not rendered by default.

Binary file removed doc/RKNN_Compiler_Support_Operator_List_v1.4.0.pdf
Binary file not shown.
Binary file not shown.
Binary file removed doc/Rockchip_Quick_Start_RKNN_Toolkit2_CN-1.4.0.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed doc/Rockchip_User_Guide_RKNN_Toolkit2_CN-1.4.0.pdf
Binary file not shown.
Binary file not shown.
Binary file removed doc/Rockchip_User_Guide_RKNN_Toolkit2_EN-1.4.0.pdf
Binary file not shown.
Binary file not shown.
123 changes: 0 additions & 123 deletions doc/changelog-1.4.0.txt

This file was deleted.

0 comments on commit d333c7d

Please sign in to comment.