Toybrick

rknn api版本升级不了

jiajia1990

中级会员

积分
448
楼主
发表于 2020-5-9 20:32:29    查看: 6901|回复: 1 | [复制链接]    打印 | 只看该作者
一开始下载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


回复

使用道具 举报

jefferyzhang

版主

积分
13580
沙发
发表于 2020-5-9 21:14:15 | 只看该作者
sudo apt upgrade 整个系统就好了。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表