|
RK3399PRO 烧录DEBIAN系统无法运行RKNN
发表于 2021-4-15 17:33:00
浏览:7507
|
回复:1
打印
只看该作者
[复制链接]
楼主
官方提供的DEBIAN文件系统 或者 rk3399pro_linux_release_v2.5.1_20210304/debian目录下打包出的文件系统都无法正常使用RKNN:
C的API接口rknn_init()初始化失败。
尝试安装----ing...
使用qemu安装在添加wifi源时,报如下错误:
W: GPG error: https://wiki.t-firefly.com/firefly-rk3399-repo bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BA034B64648B0073
W: The repository 'http://wiki.t-firefly.com/firefly-rk3399-repo bionic InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://wiki.t-firefly.com/firefl ... ts/bionic/InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
更换163的源apt-get update,报如下错误:
W: The repository 'http://mirrors.163.com/debian wheezy-proposed-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
参考:https://wiki.t-firefly.com/AIO-3 ... _ubuntu_rootfs.html
里面没有DEBIAN,只有UBUNTU的。。。
pip3 install --user Cython \ numpy==1.14.5 \ protobuf==3.11.2 \ onnx \ scipy-1.2.0-cp36-cp36m-linux_aarch64.whl \ tensorflow-1.10.1-cp36-cp36m-linux_aarch64.whl rknn-toolkit/packages/rknn_toolkit-1.3.0-cp36-cp36m-linux_aarch64.whl最后使用默认源安装:[size=13.3333px]解压rknn-toolkit-1.4.0.7z文件安装rknn_toolkit-1.4.0-cp35-cp35m-linux_aarch64.whl [size=13.3333px]root@z:/home/linaro# pip3 install rknn_toolkit-1.4.0-cp35-cp35m-linux_aarch64.whl Processing ./rknn_toolkit-1.4.0-cp35-cp35m-linux_aarch64.whlCollecting onnx-tf==1.2.1 (from rknn-toolkit==1.4.0) Downloading https://files.pythonhosted.org/p ... nnx-tf-1.2.1.tar.gz (74kB) 100% |################################| 81kB 171kB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named 'setuptools' ----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-cszwosk8/onnx-tf/
求解。。。
能否提供一个如同UBUNTU一样可用的版本。。。
|
|