报错信息如下:
Instructions for updating:
Use tf.compat.v1.graph_util.extract_sub_graph
E Catch exception when loading tensorflow model: ./mobilebet.pb!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 190, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E File "rknn/base/RKNNlib/converter/convert_tf.py", line 639, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E File "rknn/base/RKNNlib/layer/customlayer.py", line 72, in rknn.base.RKNNlib.layer.customlayer.CustomLayer.load_params_from_tf
E TypeError: load_params_from_tf() takes at least 5 positional arguments (3 given)
done
--> Building rknn model
Traceback (most recent call last):
File "convert_rknn_tensorflow.py", line 28, in <module>
rknn.build(do_quantization=False)
File "/usr/local/lib/python3.6/dist-packages/rknn/api/rknn.py", line 148, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'