W:tensorflow:From /home/zg/.local/lib/python3.5/site-packages/onnx_tf/handlers/backend/is_nan.py:9: The name tf.is_nan is deprecated. Please use tf.math.is_nan instead.
W:tensorflow:From /home/zg/.local/lib/python3.5/site-packages/onnx_tf/handlers/backend/log.py:10: The name tf.log is deprecated. Please use tf.math.log instead.
W:tensorflow:From /home/zg/.local/lib/python3.5/site-packages/onnx_tf/handlers/backend/upsample.py:13: The name tf.image.resize_images is deprecated. Please use tf.image.resize instead.
/home/zg/.local/lib/python3.5/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.. Use node.outputs instead.
warnings.warn(message)
--> Loading model
E length of input_size_list is not equal to inputs
E Catch exception when loading tensorflow model: mars-small128.pb!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 135, in rknn.api.rknn_base.RKNNBase.load_tensorflow
T File "rknn/base/RKNNlib/converter/convert_tf.py", line 89, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.__init__
T File "/home/zg/.local/lib/python3.5/site-packages/rknn/base/RKNNlib/RKNNlog.py", line 267, in e
T raise ValueError(msg)
T ValueError: length of input_size_list is not equal to inputs
done
--> Building model
Traceback (most recent call last):
File "rknn_transform_mars128.py", line 27, in <module>
rknn.build(do_quantization=False,pre_compile=False)
File "/home/zg/.local/lib/python3.5/site-packages/rknn/api/rknn.py", line 163, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'
作者: w910820618 时间: 2019-12-16 10:25
我也有同样的错误,请问你已经解决了吗?是否可以讨论一下呢作者: YP-gcg 时间: 2020-1-20 15:30
你好,我也想在npu上跑deepsort,请问你现在解决mars-small128转模型的问题了吗,能加个微信请教下吗?
gcg2008作者: jefferyzhang 时间: 2020-1-25 08:49
E length of input_size_list is not equal to inputs
rknn.load_tensorflow 参数用错了,你这里有两个input,但却只有一个input_size_list