|
D:\rknn-toolkit-v1.3.2\examples\tensorflow\ts> cmd /C "C:\Users\liufeng\Anaconda3\envs\RKNN_TOOL\python.exe c:\Users\liufeng\.vscode\extensions\ms-python.python-2020.7.96456\pythonFiles\lib\python\debugpy\launcher 8665
-- d:\rknn-toolkit-v1.3.2\examples\tensorflow\ts\ts.py "
--> Loading model
C:\Users\liufeng\Anaconda3\envs\RKNN_TOOL\lib\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)
'python3' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E Try match Add add failed, catch exception!
E Catch exception when loading tensorflow model: ./ts.pb!
E Traceback (most recent call last):
E File "rknn\base\RKNNlib\converter\convert_tf.py", line 616, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E File "rknn\base\RKNNlib\converter\convert_tf.py", line 380, in rknn.base.RKNNlib.converter.convert_tf.convert_tf._tf_try_match_ruler
E File "<string>", line 1, in <module>
E File "rknn\base\RKNNlib\converter\convert_tf.py", line 134, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.shape_pick
E File "rknn\base\RKNNlib\converter\tensorflowloader.py", line 205, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.query_tensors
E File "rknn\base\RKNNlib\converter\tf_util.py", line 371, in rknn.base.RKNNlib.converter.tf_util.TFProto_Util.query_tensor
E File "rknn\base\RKNNlib\converter\tf_util.py", line 374, in rknn.base.RKNNlib.converter.tf_util.TFProto_Util.query_tensor
E File "rknn\base\RKNNlib\converter\tf_util.py", line 407, in rknn.base.RKNNlib.converter.tf_util.TFProto_Util.query_tensor
E File "C:\Users\liufeng\Anaconda3\envs\RKNN_TOOL\lib\site-packages\tensorflow\python\client\session.py", line 887, in run
E run_metadata_ptr)
E File "C:\Users\liufeng\Anaconda3\envs\RKNN_TOOL\lib\site-packages\tensorflow\python\client\session.py", line 1086, in _run
E str(subfeed_t.get_shape())))
E ValueError: Cannot feed value of shape (1, 1, 1, 1) for Tensor 'input_holder:0', which has shape '(1,)'
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E File "rknn\api\rknn_base.py", line 331, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E File "rknn\base\RKNNlib\converter\convert_tf.py", line 742, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Try match Add add failed, catch exception!
|
|