|
板凳
楼主 |
发表于 2019-11-28 20:58:10
|
只看该作者
您好,我下载最新的1.2.1版本之后进行转换还是一样的错误,并且verbose log如下:
W Verbose file path is invalid, debug info will not dump to file.
--> Loading model
D import clients finished
W:tensorflow:From /home/songzhe/.local/lib/python3.6/site-packages/rknn/api/rknn.py:65: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.extract_sub_graph`
E Catch exception when loading tensorflow model: ./ssd_mobilenet_v2_coco_2018_03_29/frozen_inference_graph.pb!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 137, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E File "rknn/base/RKNNlib/converter/convert_tf.py", line 107, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.__init__
E File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 53, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.__init__
E AttributeError: 'NoneType' object has no attribute 'op'
done
--> Building model
Traceback (most recent call last):
File "ssd_test.py", line 75, in <module>
rknn.build(do_quantization=True, dataset='./dataset.txt')
File "/home/songzhe/.local/lib/python3.6/site-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' |
|