标题: 运行语音命令识别的实例报错 error code: RKNN_ERR_MODEL_INVALID [打印本页] 作者: zsf 时间: 2019-6-12 09:18 标题: 运行语音命令识别的实例报错 error code: RKNN_ERR_MODEL_INVALID [root@localhost sc]# python3 test_zhuan.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
--> Loading model
done
--> Building model
done
[root@localhost sc]# 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
--> Loading model
load_rknn done
--> Init runtime environment
E RKNNAPI: rknn_init, input_reorder == INPUT_REORDER_NA when n_dims==3!
E Catch exception when init runtime!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 617, in rknn.api.rknn_base.RKNNBase.init_runtime
T File "rknn/api/rknn_runtime.py", line 378, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
T Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed
[root@localhost sc]#