Toybrick

标题: 刚配置完RKNN,运行示例程序提示build失败,求解 [打印本页]

作者: toybrick_lk    时间: 2019-5-8 18:24
标题: 刚配置完RKNN,运行示例程序提示build失败,求解
--> config model
done
--> Loading model
done
--> Building model
E Catch exception when building RKNN model!
T Traceback (most recent call last):
T   File "rknn/api/rknn_base.py", line 459, in rknn.api.rknn_base.RKNNBase.build
T   File "rknn/api/rknn_base.py", line 952, in rknn.api.rknn_base.RKNNBase._quantize
T   File "rknn/base/RKNNlib/app/tensorzone/workspace.py", line 231, in rknn.base.RKNNlib.app.tensorzone.workspace.Workspace.load_data
T   File "rknn/base/RKNNlib/app/tensorzone/graph.py", line 32, in rknn.base.RKNNlib.app.tensorzone.graph.Graph.load_data
T   File "rknn/base/RKNNlib/RKNNnet.py", line 379, in rknn.base.RKNNlib.RKNNnet.RKNNNet.load_data
T   File "rknn/base/RKNNlib/RKNNnet.py", line 391, in rknn.base.RKNNlib.RKNNnet.RKNNNet._load_old_data
T   File "rknn/base/RKNNlib/RKNNnet.py", line 392, in rknn.base.RKNNlib.RKNNnet.RKNNNet._load_old_data
T   File "/home/lk/venv/lib/python3.5/site-packages/numpy/lib/npyio.py", line 447, in load
T     pickle_kwargs=pickle_kwargs)
T   File "/home/lk/venv/lib/python3.5/site-packages/numpy/lib/format.py", line 692, in read_array
T     raise ValueError("Object arrays cannot be loaded when "
T ValueError: Object arrays cannot be提示信息如上 loaded when allow_pickle=False
Build mobilenet_v2 failed!
提示信息如上


作者: troy    时间: 2019-5-9 08:33
是哪个版本的RKNN,环境要说明一下。
作者: toybrick_lk    时间: 2019-5-9 15:30
使用版本为V0.9.9,正在尝试在PC端运(ubuntu16)
作者: yaowei    时间: 2019-5-9 15:46
numpy版本降到1.16.2可以试试,现在应该是1.16.3
作者: toybrick_lk    时间: 2019-5-9 18:50
为版主点个赞,问题解决了




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