eric@eric:~/RV1126_1109SDK/external/rknn-toolkit/examples/tensorflow/ssd_mobilenet_v1$ python3 ssd.py
--> Loading model
/home/eric/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It willr be removed in future release.. Use node.outputs instead.
warnings.warn(message)
E Catch exception when loading tensorflow model: ./face_mask_detection.pb!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 221, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E File "rknn/base/RKNNlib/converter/convert_tf.py", line 93, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.__init__
E File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 38, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.__init__
E File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 54, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.scan_and_optim_graph
E File "/home/eric/.local/lib/python3.6/site-packages/tensorflow/python/framework/graph_util_impl.py", line 174, in extract_sub_graph
E _assert_nodes_are_present(name_to_node, dest_nodes)
E File "/home/eric/.local/lib/python3.6/site-packages/tensorflow/python/framework/graph_util_impl.py", line 133, in _assert_nodes_are_present
E assert d in name_to_node, "%s is not in graph" % d
E AssertionError: concat_1 is not in graph
done
--> Building model
Traceback (most recent call last):
File "ssd.py", line 85, in <module>
rknn.build(do_quantization=True, dataset='./dataset.txt')
File "/home/eric/.local/lib/python3.6/site-packages/rknn/api/rknn.py", line 231, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'