|
你好!在pc机上安装rknn-toolkit 运行rknn_convert 将示例caffe模型转成rknn 。报错
E Catch exception when loading caffe model: ./models/caffe/mobilenet_v2/../../../../mobilenet_v2/mobilenet_v2.prototxt!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 283, in rknn.api.rknn_base.RKNNBase.load_caffe
T File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 72, in rknn.base.RKNNlib.RKNNnetbuilder.RKNNNetBuilder.__init__
T File "rknn/base/RKNNlib/RKNN_session.py", line 19, in rknn.base.RKNNlib.RKNN_session.RKNNSession.__init__
T AttributeError: module 'tensorflow' has no attribute 'ConfigProto'
caffe end
done
--> Build RKNN model...
E Catch exception when building RKNN model!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 498, in rknn.api.rknn_base.RKNNBase.build
T File "rknn/api/rknn_base.py", line 1056, in rknn.api.rknn_base.RKNNBase._quantize
T File "rknn/base/RKNNlib/console/utils.py", line 7, in rknn.base.RKNNlib.console.utils.get_model_data_file
T File "/home/xah/anaconda3/lib/python3.6/posixpath.py", line 122, in splitext
T p = os.fspath(p)
T TypeError: expected str, bytes or os.PathLike object, not NoneType
done
|
|