Toybrick

标题: RK3399ProD跑example中的示例程序mobilenet_v1的结果top5全为0 [打印本页]

作者: ToyPlayer    时间: 2019-8-14 10:07
标题: RK3399ProD跑example中的示例程序mobilenet_v1的结果top5全为0
请问RK3399ProD跑example中的示例程序mobilenet_v1的结果top5全为0,这是什么原因?该如何解决?
是否退换货比较好?谢谢!
[root@localhost mobilenet_v1]# python3 test.py
/usr/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
--> config model
done
--> Loading model
done
--> Building model
done
--> Export RKNN model
done
--> Init runtime environment
done
--> Running model
mobilenet_v1
-----TOP 5-----
-1: 0.0
-1: 0.0
-1: 0.0
-1: 0.0
-1: 0.0

done
--> Begin evaluate model performance
========================================================================
                               Performance
========================================================================
Total Time(us): 30010104
FPS: 0.03
========================================================================

done


作者: troy    时间: 2019-8-14 17:59
官方的demo吗,是否有修改
作者: ToyPlayer    时间: 2019-8-14 19:14
没有,下下来后在板子上装好环境,就直接跑的,什么都没改.
作者: ToyPlayer    时间: 2019-8-14 19:16
系统是板子自带的Fedora28.
作者: zhangzj    时间: 2019-8-15 18:25
查看下版本信息:
rpm -qa rknn-api npuservice
pip3 show rknn-toolkit
作者: ToyPlayer    时间: 2019-8-15 18:59
版本信息如下:
[root@localhost project]# rpm -qa rknn-api npuservice
npuservice-1.0.1-1.fc28.aarch64

[root@localhost project]# pip3 show rknn-toolkit
Name: rknn-toolkit
Version: 1.1.0
Summary: Rockchip Neural Network Toolkit
Home-page: UNKNOWN
Author: Rockchip
Author-email: None
License: UNKNOWN
Location: /root/.local/lib/python3.6/site-packages
Requires: flask, scipy, psutil, lmdb, numpy, onnx, protobuf, networkx, h5py, flatbuffers, dill, ruamel.yaml, Pillow

谢谢!
作者: ToyPlayer    时间: 2019-8-15 18:59
zhangzj 发表于 2019-8-15 18:25
查看下版本信息:
rpm -qa rknn-api npuservice
pip3 show rknn-toolkit

版本信息如下:
[root@localhost project]# rpm -qa rknn-api npuservice
npuservice-1.0.1-1.fc28.aarch64

[root@localhost project]# pip3 show rknn-toolkit
Name: rknn-toolkit
Version: 1.1.0
Summary: Rockchip Neural Network Toolkit
Home-page: UNKNOWN
Author: Rockchip
Author-email: None
License: UNKNOWN
Location: /root/.local/lib/python3.6/site-packages
Requires: flask, scipy, psutil, lmdb, numpy, onnx, protobuf, networkx, h5py, flatbuffers, dill, ruamel.yaml, Pillow

谢谢!
作者: zhangzj    时间: 2019-8-16 09:20
npuservice-1.0.1-1.fc28.aarch64,你这个版本太旧了,dnf update更新到1.0.4版本试试。
仔细阅读下官方发布内容:http://t.rock-chips.com/forum.ph ... &extra=page%3D1

作者: ToyPlayer    时间: 2019-8-16 10:11
zhangzj 发表于 2019-8-16 09:20
npuservice-1.0.1-1.fc28.aarch64,你这个版本太旧了,dnf update更新到1.0.4版本试试。
仔细阅读下官方发 ...

可以跑了,谢谢!




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3