- I Have 8 tensors convert to const tensor
- D Const tensors:
- D ['out_1/Tensordot/Reshape_1:out0', 'conv2d_transpose_4/stack:out0', 'conv2d_transpose_2_1/stack:out0', 'out_1/Tensordot/stack:out0', 'conv2d_transpose_1_1/stack:out0', 'out_1/Tensordot/concat:out0', 'conv2d_transpose_3_1/stack:out0', 'out_1/Tensordot/concat_1:out0']
- 2019-11-15 15:17:09.198570: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
- I build output layer attach_out_1/truediv:out0
- I build input layer in_1:out0
- D Try match RealDiv out_1/truediv
- I Match softmax_calc [['out_1/truediv', 'out_1/Exp', 'out_1/Sum', 'out_1/sub', 'out_1/Sum/reduction_indices', 'out_1/Max', 'out_1/Max/reduction_indices']] [['RealDiv', 'Exp', 'Sum', 'Sub', 'C', 'Max', 'C_1']] to [['softmax']]
- D Try match BiasAdd out_1/BiasAdd
- I Match tensor_dot_bias_add [['out_1/BiasAdd', 'out_1/Tensordot', 'out_1/bias', 'out_1/Tensordot/MatMul', 'out_1/Tensordot/concat_1_out_0_const', 'out_1/Tensordot/Reshape', 'out_1/Tensordot/Reshape_1_out_0_const', 'out_1/Tensordot/transpose', 'out_1/Tensordot/stack_out_0_const', 'out_1/Tensordot/concat_out_0_const']] [['BiasAdd', 'Reshape', 'C', 'MatMul', 'C_1', 'Reshape_1', 'C_2', 'Transpose', 'C_3', 'C_4']] to [['fullconnect']]
- D Try match Elu conv2d_17_1/Elu
- E Unknow layer "elu"
- I ----------------Warning(0)----------------
- E Catch exception when loading tensorflow model: ../dl_models/sl_detection/Model_6_sl_detection_1625.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 594, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
- E File "rknn/base/RKNNlib/RKNNnet.py", line 171, in rknn.base.RKNNlib.RKNNnet.RKNNNet.new_layer
- E File "/Users/qliu/anaconda3/lib/python3.6/site-packages/rknn/base/RKNNlib/RKNNlog.py", line 327, in e
- E raise ValueError(msg)
- E ValueError: Unknow layer "elu"
- 9709 MainThread failed to load tf model
复制代码
- I Have 8 tensors convert to const tensor
- ['conv2d_transpose_4/stack:out0', 'conv2d_transpose_2_1/stack:out0', 'out_1/Tensordot/concat_1:out0', 'conv2d_transpose_3_1/stack:out0', 'out_1/Tensordot/concat:out0', 'out_1/Tensordot/stack:out0', 'out_1/Tensordot/Reshape_1:out0', 'conv2d_transpose_1_1/stack:out0']
- I build output layer attach_out_1/truediv:out0
- I build input layer in_1:out0
- D Try match RealDiv out_1/truediv
- I Match softmax_calc [['out_1/truediv', 'out_1/Exp', 'out_1/Sum', 'out_1/sub', 'out_1/Sum/reduction_indices', 'out_1/Max', 'out_1/Max/reduction_indices']] [['RealDiv', 'Exp', 'Sum', 'Sub', 'C', 'Max', 'C_1']] to [['softmax']]
- D Try match BiasAdd out_1/BiasAdd
- I pyfunc exception: 0 functions found! only 1 function is allowed
- Traceback (most recent call last):
- File "rknn/base/RKNNlib/converter/convert_tf.py", line 53, in rknn.base.RKNNlib.converter.convert_tf.pyfunc_call
- File "rknn/base/RKNNlib/converter/convert_tf.py", line 39, in rknn.base.RKNNlib.converter.convert_tf.function_builder
- ValueError: 0 functions found! only 1 function is allowed
- 1 def r_fc_tensor_dot_rule_pre_condition(self, node, tensor):
- 2 return True
- 3
- E Catch exception when loading tensorflow model: ../dl_models/sl_detection/Model_6_sl_detection_1625.pb!
- T Traceback (most recent call last):
- T File "rknn/api/rknn_base.py", line 185, in rknn.api.rknn_base.RKNNBase.load_tensorflow
- T File "rknn/base/RKNNlib/converter/convert_tf.py", line 561, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
- T File "rknn/base/RKNNlib/converter/convert_tf.py", line 377, in rknn.base.RKNNlib.converter.convert_tf.convert_tf._tf_try_match_ruler
- T File "rknn/base/RKNNlib/converter/convert_tf.py", line 56, in rknn.base.RKNNlib.converter.convert_tf.pyfunc_call
- T File "rknn/base/RKNNlib/converter/convert_tf.py", line 53, in rknn.base.RKNNlib.converter.convert_tf.pyfunc_call
- T File "rknn/base/RKNNlib/converter/convert_tf.py", line 39, in rknn.base.RKNNlib.converter.convert_tf.function_builder
- T ValueError: 0 functions found! only 1 function is allowed
复制代码
jefferyzhang 发表于 2019-11-15 15:32
从你的log来看,是不支持的了。。
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |