华硕tinker EDGE R + debian系统(固件Tinker_Edge_R-Debian-Stretch-V1.0.4-20200615) 问题1,python3.5环境,安装了tensorflow-1.11.0-cp35-none-linux_aarch64.whl、opencv_python_headless-4.0.1.23-cp35-cp35m-linux_aarch64.whl、rknn_toolkit-1.3.2-cp35-cp35m-linux_aarch64.whl,出现的错误如下,imshow()函数无法使用:
[解法方法]
- 1.sudo apt-get install x11proto-xinerama-dev
- 2.sudo apt-get install libgtk2.O-dev libqtgui4 libqt4-test3. python3 -m pip install --upgrade pip
- 4. python3 -m pip install --upgrade --user numpy==1.16.35. pip3 install scikit-build opencv-python
- 6.pip3 install --user --no-deps opencv_python-4.1.1.26-cp35-cp35m-linux_aarch64.whl(如附件)
复制代码
[测试]
python3 -m rockx.test.camera.rockx_object_detection -c 10即可正常播放 链接:https://pan.baidu.com/s/1ePseVd7xYZElW2ugQi93hg
提取码:45kd
问题2. 自行编译安装了python3.7,安装了tensorflow-1.14.0-cp37-none-linux_aarch64.whl,自行编译安装了opencv-python 3.4.13.47。其他依赖包均已安装,然后分别安装测试了rknn 1.3.2、1.4.0、1.6.0版本,均出现一下错误: Exception has occurred: SystemExit
from rknn.apiimport RKNN
解决方法: 有關第二個問題請參考以下: 該現象應該是由於python 3.5和tensorflow之間產生相依性的問題導致,請客戶移除目前已安裝的python 3.7x和tensorflow,再安裝python 3.5,依照以下指令安裝tensorflow 1.14.0。
- pip3 install https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.14.0/tensorflow-1.14.0-cp35-none-linux_aarch64.whl --user
复制代码
|