don't know why it needs 1.11.0, and suggested python version is 3.5
but tesnorflow 1.11.0 say: protobuf requires Python '>=3.7' but the running Python is 3.5.6 but... with python 3.6.13, install OK
the origional requrement.txt:
tensorflow==1.11.0 torchvision==0.4.0 torch==1.5.1 mxnet-cu101==1.5.0tochvision 0.4.0 need torch 1.2.1,
so remove the version label. install OK.
result: (pip list)
torch 1.5.1 torchvision 0.6.1final : install local whl
python 3.6, so choose cp36
pip install rknn_toolkit-1.6.0-cp36-cp36m-linux_x86_64.whltest:
$python Python 3.6.13 |Anaconda, Inc.| (default, Jun 4 2021, 14:25:59) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from rknn.api import RKNN >>>另外要run test.py 的話,還要 install opencv-python
更新:
根據 Rockchip github repo 的說明。
最新版本已經到 1,7.3,已經support ubuntu 20.04 了,猜已經 update 了 requirement packages dep
並且,因為 whl 檔案太大,沒有放到 git repo 中,改為到release 下載 zip file