Toybrick

标题: RKNN import出错 [打印本页]

作者: jimfang    时间: 2021-10-11 11:13
标题: RKNN import出错
RKNN import 出现如下错误:
>>> from rknn.api import RKNN
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/bj-hjimi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bj-hjimi/.local/lib/python3.5/site-packages/rknn/__init__.py", line 1, in <module>
    from rknn import api
  File "/home/bj-hjimi/.local/lib/python3.5/site-packages/rknn/api/__init__.py", line 1, in <module>
    from rknn.api.rknn import RKNN
  File "/home/bj-hjimi/.local/lib/python3.5/site-packages/rknn/api/rknn.py", line 15, in <module>
    from .rknn_base import RKNNBase
  File "rknn/api/rknn_base.py", line 28, in init rknn.api.rknn_base
  File "rknn/base/ovxconfiggenerator.py", line 8, in init rknn.base.ovxconfiggenerator
ImportError: No module named 'acuitylib.app.exporter.ovxlib_case.vxconfiggenerator'



请问诸位大神怎么解决





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