-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RKNN Toolkit: update version to 1.7.5.
Signed-off-by: raul.rao <raul.rao@rock-chips.com>
- Loading branch information
raul.rao
committed
Aug 2, 2023
1 parent
2c9fc0c
commit 7e767b0
Showing
156 changed files
with
2,988 additions
and
1,377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.41 MB
...ip_Quick_Start_RKNN_Toolkit_V1.7.3_CN.pdf → ...ckchip_Quick_Start_RKNN_SDK_V1.7.5_CN.pdf
Binary file not shown.
Binary file renamed
BIN
+1.23 MB
...ip_Quick_Start_RKNN_Toolkit_V1.7.3_EN.pdf → ...ckchip_Quick_Start_RKNN_SDK_V1.7.5_EN.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+2.17 MB
...hip_User_Guide_RKNN_Toolkit_V1.7.3_CN.pdf → ...hip_User_Guide_RKNN_Toolkit_V1.7.5_CN.pdf
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.61 MB
..._RKNN_Toolkit_Visualization_V1.7.3_CN.pdf → ..._RKNN_Toolkit_Visualization_V1.7.5_CN.pdf
Binary file not shown.
Binary file renamed
BIN
+1.67 MB
..._RKNN_Toolkit_Visualization_V1.7.3_EN.pdf → ..._RKNN_Toolkit_Visualization_V1.7.5_EN.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Example for Caffe mobilenet_v2 | ||
|
||
|
||
## Model Source | ||
The model used in this example come from the following open source projects: | ||
https://github.com/shicai/MobileNet-Caffe | ||
|
||
|
||
## Usage for the script | ||
|
||
*Usage:* | ||
``` | ||
python test.py [target] [device_id] | ||
``` | ||
*Parameter Description:* | ||
- target: target platform. Optional parameter, the default value is `rv1126`, you can fill in `rk1806`, `rk1808`, `rk3399pro`, `rv1109`, `rv1126`. | ||
- device_id: Device ID, when multiple devices are connected, this parameter is used to distinguish them. Optional parameter, default value is None. | ||
|
||
If the target device is `RV1109` or `RV1126`, you can directly execute the following command to run the example: | ||
``` | ||
python test.py | ||
``` | ||
If the target device is RK1806, RK1808 or RK3399Pro, you can execute the following command to run the example: | ||
``` | ||
python test.py rk1808 | ||
``` | ||
If you connect multiple devices, you need to specify the device ID, please refer to the following command to run the example: | ||
``` | ||
python test.py rv1126 c3d9b8674f4b94f6 | ||
``` | ||
|
||
|
||
## Expected results | ||
|
||
This example will print the TOP5 labels and corresponding scores of the test image classification results. For example, the inference results of this example are as follows: | ||
``` | ||
[1]: 0.73388671875 | ||
[115 996]: 0.033447265625 | ||
[115 996]: 0.033447265625 | ||
[927]: 0.026214599609375 | ||
[794]: 0.024169921875 | ||
``` | ||
|
||
1. The label index with the highest score is 1, the corresponding label is `goldfish`. | ||
2. The download link for labels file: https://github.com/HoldenCaulfieldRye/caffe/blob/master/data/ilsvrc12/synset_words.txt. | ||
3. Different platforms, different versions of tools and drivers may have slightly different results. | ||
|
||
|
||
## Notes | ||
|
||
- The prototxt in the open source model uses the old version of Caffe, which has been modified in the actual example. The modified content is as follows | ||
``` | ||
# Comment or remove the following content: | ||
input: "data" | ||
input_dim: 1 | ||
input_dim: 3 | ||
input_dim: 224 | ||
input_dim: 224 | ||
# Add the following content | ||
layer { | ||
name: "data" | ||
type: "Input" | ||
top: "data" | ||
input_param { | ||
shape { | ||
dim: 1 | ||
dim: 3 | ||
dim: 224 | ||
dim: 224 | ||
} | ||
} | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Example for Caffe VGG-SSD | ||
|
||
|
||
## Model Source | ||
The model used in this example come from the following open source projects: | ||
https://github.com/weiliu89/caffe/tree/ssd | ||
The download link provided by this project has expired, please download the model weight from the following network disk link(fetch code is `rknn`): | ||
https://eyun.baidu.com/s/3jJhPRzo | ||
|
||
|
||
## Usage for the script | ||
|
||
*Usage:* | ||
``` | ||
python test.py [target] [device_id] | ||
``` | ||
*Parameter Description:* | ||
- target: target platform. Optional parameter, the default value is `rv1126`, you can fill in `rk1806`, `rk1808`, `rk3399pro`, `rv1109`, `rv1126`. | ||
- device_id: Device ID, when multiple devices are connected, this parameter is used to distinguish them. Optional parameter, default value is None. | ||
|
||
If the target device is `RV1109` or `RV1126`, you can directly execute the following command to run the example: | ||
``` | ||
python test.py | ||
``` | ||
If the target device is RK1806, RK1808 or RK3399Pro, you can execute the following command to run the example: | ||
``` | ||
python test.py rk1808 | ||
``` | ||
If you connect multiple devices, you need to specify the device ID, please refer to the following command to run the example: | ||
``` | ||
python test.py rv1126 c3d9b8674f4b94f6 | ||
``` | ||
|
||
|
||
## Expected results | ||
|
||
The test result should be similar to picutre `ref_detect_result.jpg`. | ||
|
||
*Note: Different platforms, different versions of tools and drivers may have slightly different results.* | ||
|
||
|
||
## Notes | ||
|
||
- The prototxt in the open source model uses the old version of Caffe, which has been modified in the actual example. The modified content is as follows | ||
``` | ||
# Comment or remove the following content: | ||
input: "data" | ||
input_shape { | ||
dim: 1 | ||
dim: 3 | ||
dim: 300 | ||
dim: 300 | ||
} | ||
# Add the following content: | ||
layer { | ||
name: "input" | ||
type: "Input" | ||
top: "data" | ||
input_param { | ||
shape { | ||
dim: 1 | ||
dim: 3 | ||
dim: 300 | ||
dim: 300 | ||
} | ||
} | ||
} | ||
``` | ||
- The DetectionOutput layer is also been removed. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.