|
一开始下载debian的固件后, api版本和驱动版本比较低,就执行了sudo apt upgrade rknn-3399pro,结果驱动版本上来了,api的版本还是1.2.0的,执行Python代码时显示如下:-->loading model
loading model done
--> Init runtime environment
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 1.2.0 (1190a71 build: 2019-09-25 12:39:26)
D RKNNAPI: DRV: 1.3.1 (6ebb4d7 build: 2020-01-02 09:37:58)
D RKNNAPI: ==============================================
查看安装情况,确实版本上来了,如下:
toybrick@debian10:~/Documents/muilty$ dpkg -l rknn*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-===================================
ii rknn-rk3399pro 1.3.0-2 arm64 Rockchip rknn toolkits for rk3399pr
ii rknn-sample 1.3.0-1 arm64 Rockchip rknn sample for rk1808 and
我又执行如下代码,不知道为什么就不能升级了,有其他方法吗?
toybrick@debian10:~/Documents$ sudo apt update
[sudo] password for toybrick:
Hit:1 http://repo.rock-chips.com/debian buster InRelease
Hit:3 http://mirrors.ustc.edu.cn/debian buster InRelease
Get:2 https://repo.rock-chips.com/toybrick/auth-debian buster InRelease [1478 B]
Get:4 https://repo.rock-chips.com/toybrick/auth-debian buster/main arm64 Packages [4135 B]
Fetched 5613 B in 2s (2300 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
toybrick@debian10:~/Documents$ sudo apt install rknn-3399pro
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rknn-3399pro
toybrick@debian10:~/Documents$ sudo apt upgrade rknn-3399pro
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rknn-3399pro
|
|