airockchip / rknn_model_zoo

Apache License 2.0
1.01k stars 185 forks source link

ModuleNotFoundError: No module named 'rknn' #40

Closed jia0511 closed 1 year ago

jia0511 commented 1 year ago

python common/rknn_converter/rknn_convert.py --yml_path ./yolo_ppyolo.yml --python_api_test --capi_test

Traceback (most recent call last): File "/home/ubuntu/data1/rockchip/rknn_model_zoo/common/rknn_converter/rknn_convert.py", line 14, in from phase import convert_phase, validate_phase File "/home/ubuntu/data1/rockchip/rknn_model_zoo/common/rknn_converter/phase.py", line 8, in from rknn.api import RKNN ModuleNotFoundError: No module named 'rknn'

airockchip commented 1 year ago

Please install rknn-toolkit(https://github.com/rockchip-linux/rknn-toolkit) / rknn-toolkit2(https://github.com/rockchip-linux/rknn-toolkit2) first. Chips suitable for rknn toolkit include: RK1806, RK1808, RK3399Pro, RV1109, RV1126 Chips suitable for rknn toolkit2 include: RK3566, RK3568, RK3588, RK3588S, RV1103, RV1106, RK3562