Toybrick

rknn.load_tensorflow AttributeError: 'NoneType' object has no attribute 'dir'

kitedream

中级会员

积分
284
楼主
发表于 2019-3-22 10:40:36    查看: 11270|回复: 7 | [复制链接]    打印 | 只看该作者
T Traceback (most recent call last):
T   File "rknn/api/rknn_base.py", line 144, in rknn.api.rknn_base.RKNNBase.load_tensorflow
T   File "rknn/base/rknnlib/converter/convert_tf.py", line 432, in rknn.base.rknnlib.converter.convert_tf.convert_tf.pre_process
T   File "rknn/base/rknnlib/converter/tensorflowloader.py", line 84, in rknn.base.rknnlib.converter.tensorflowloader.TF_Graph_Preprocess.pre_proces
T   File "rknn/base/rknnlib/converter/tensorflowloader.py", line 646, in rknn.base.rknnlib.converter.tensorflowloader.TF_Graph_Preprocess.input_handle
T   File "rknn/base/rknnlib/converter/tensor_model.py", line 233, in rknn.base.rknnlib.converter.tensor_model.TensorModel.flow_from
T AttributeError: 'NoneType' object has no attribute 'dir'



请问这一般是什么原因导致的?
回复

使用道具 举报

zhangzj

超级版主

积分
1117
沙发
发表于 2019-3-22 16:28:34 | 只看该作者
应该是op不支持,有没有verbose信息发出来看下?
回复

使用道具 举报

kitedream

中级会员

积分
284
板凳
 楼主| 发表于 2019-3-23 16:48:10 | 只看该作者
zhangzj 发表于 2019-3-22 16:28
应该是op不支持,有没有verbose信息发出来看下?

这是全部的 verbose信息
回复

使用道具 举报

uuii9988

注册会员

积分
100
地板
发表于 2019-8-4 21:02:50 | 只看该作者
kitedream 发表于 2019-3-23 16:48
这是全部的 verbose信息

您好 ,请问您问题解决了吗?
回复

使用道具 举报

uuii9988

注册会员

积分
100
5#
发表于 2019-8-4 21:17:13 | 只看该作者
D import clients finished
I Current TF Model producer version 0 min consumer version 0 bad consumer version []
I Disconnect conv_pw_6_bn/cond/switch_fut4096 and conv_pw_6_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_8_bn/cond/switch_fut4096 and conv_dw_8_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_2_bn/cond/switch_fut4096 and conv_dw_2_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_7_bn/cond/switch_fut4096 and conv_dw_7_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_3_bn/cond/switch_fut4096 and conv_dw_3_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_12_bn/cond/switch_fut4096 and conv_dw_12_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_6_bn/cond/switch_fut4096 and conv_dw_6_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_13_bn/cond/switch_fut4096 and conv_dw_13_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_13_bn/cond/switch_fut4096 and conv_pw_13_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_12_bn/cond/switch_fut4096 and conv_pw_12_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_10_bn/cond/switch_f:out4096 and conv_dw_10_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_3_bn/cond/switch_f:out4096 and conv_pw_3_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_1_bn/cond/switch_f:out4096 and conv_pw_1_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_7_bn/cond/switch_f:out4096 and conv_pw_7_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_9_bn/cond/switch_f:out4096 and conv_pw_9_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_5_bn/cond/switch_f:out4096 and conv_pw_5_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_11_bn/cond/switch_f:out4096 and conv_pw_11_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_1_bn/cond/switch_f:out4096 and conv_dw_1_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_8_bn/cond/switch_f:out4096 and conv_pw_8_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_10_bn/cond/switch_f:out4096 and conv_pw_10_bn/cond/batchnorm/add/y:in0
I Disconnect conv1_bn/cond/switch_f:out4096 and conv1_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_5_bn/cond/switch_f:out4096 and conv_dw_5_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_4_bn/cond/switch_f:out4096 and conv_dw_4_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_4_bn/cond/switch_f:out4096 and conv_pw_4_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_11_bn/cond/switch_f:out4096 and conv_dw_11_bn/cond/batchnorm/add/y:in0
I Disconnect conv_pw_2_bn/cond/switch_f:out4096 and conv_pw_2_bn/cond/batchnorm/add/y:in0
I Disconnect conv_dw_9_bn/cond/switch_f:out4096 and conv_dw_9_bn/cond/batchnorm/add/y:in0
I Fix merge conv_dw_11_bn/cond/Merge branch conv_dw_11_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_10_bn/cond/Merge branch conv_dw_10_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_12_bn/cond/Merge branch conv_pw_12_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_5_bn/cond/Merge branch conv_pw_5_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_3_bn/cond/Merge branch conv_dw_3_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_10_bn/cond/Merge branch conv_pw_10_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_9_bn/cond/Merge branch conv_dw_9_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv1_bn/cond/Merge branch conv1_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_13_bn/cond/Merge branch conv_dw_13_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_1_bn/cond/Merge branch conv_pw_1_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_8_bn/cond/Merge branch conv_dw_8_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_13_bn/cond/Merge branch conv_pw_13_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_12_bn/cond/Merge branch conv_dw_12_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_7_bn/cond/Merge branch conv_dw_7_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_9_bn/cond/Merge branch conv_pw_9_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_2_bn/cond/Merge branch conv_pw_2_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_5_bn/cond/Merge branch conv_dw_5_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_11_bn/cond/Merge branch conv_pw_11_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_4_bn/cond/Merge branch conv_pw_4_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_2_bn/cond/Merge branch conv_dw_2_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_1_bn/cond/Merge branch conv_dw_1_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_7_bn/cond/Merge branch conv_pw_7_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_4_bn/cond/Merge branch conv_dw_4_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_6_bn/cond/Merge branch conv_pw_6_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_8_bn/cond/Merge branch conv_pw_8_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_dw_6_bn/cond/Merge branch conv_dw_6_bn/cond/batchnorm/add_1:out0 with switch_op None
I Fix merge conv_pw_3_bn/cond/Merge branch conv_pw_3_bn/cond/batchnorm/add_1:out0 with switch_op None
I short-cut conv_pw_3_bn/moving_mean:out0 - conv_pw_3_bn/cond/batchnorm/mul_2:in0 skip conv_pw_3_bn/moving_mean/read
I short-cut conv_pw_8_bn/moving_variance:out0 - conv_pw_8_bn/cond/batchnorm/add:in0 skip conv_pw_8_bn/moving_variance/read
I short-cut conv_dw_10_bn/moving_mean:out0 - conv_dw_10_bn/cond/batchnorm/mul_2:in0 skip conv_dw_10_bn/moving_mean/read
I short-cut conv_dw_13/depthwise_kernel:out0 - conv_dw_13/depthwise:in1 skip conv_dw_13/depthwise_kernel/read
I short-cut conv_dw_13_bn/moving_variance:out0 - conv_dw_13_bn/cond/batchnorm/add:in0 skip conv_dw_13_bn/moving_variance/read
I short-cut conv_dw_12_bn/moving_variance:out0 - conv_dw_12_bn/cond/batchnorm/add:in0 skip conv_dw_12_bn/moving_variance/read
I short-cut conv_dw_1_bn/moving_mean:out0 - conv_dw_1_bn/cond/batchnorm/mul_2:in0 skip conv_dw_1_bn/moving_mean/read
I short-cut conv_pw_9_bn/moving_variance:out0 - conv_pw_9_bn/cond/batchnorm/add:in0 skip conv_pw_9_bn/moving_variance/read
I short-cut conv_pw_5_bn/beta:out0 - conv_pw_5_bn/cond/batchnorm/sub:in0 skip conv_pw_5_bn/beta/read
I short-cut dense_1/kernel:out0 - dense_1/MatMul:in1 skip dense_1/kernel/read
I short-cut conv_pw_1/kernel:out0 - conv_pw_1/convolution:in1 skip conv_pw_1/kernel/read
I short-cut conv_pw_7_bn/moving_variance:out0 - conv_pw_7_bn/cond/batchnorm/add:in0 skip conv_pw_7_bn/moving_variance/read
I short-cut conv_pw_13_bn/beta:out0 - conv_pw_13_bn/cond/batchnorm/sub:in0 skip conv_pw_13_bn/beta/read
I short-cut conv_dw_10/depthwise_kernel:out0 - conv_dw_10/depthwise:in1 skip conv_dw_10/depthwise_kernel/read
I short-cut conv_pw_6_bn/gamma:out0 - conv_pw_6_bn/cond/batchnorm/mul:in1 skip conv_pw_6_bn/gamma/read
I short-cut conv_pw_1_bn/moving_mean:out0 - conv_pw_1_bn/cond/batchnorm/mul_2:in0 skip conv_pw_1_bn/moving_mean/read
I short-cut conv_dw_7_bn/beta:out0 - conv_dw_7_bn/cond/batchnorm/sub:in0 skip conv_dw_7_bn/beta/read
I short-cut dense_1/bias:out0 - dense_1/BiasAdd:in1 skip dense_1/bias/read
I short-cut conv_pw_10/kernel:out0 - conv_pw_10/convolution:in1 skip conv_pw_10/kernel/read
I short-cut conv_dw_11/depthwise_kernel:out0 - conv_dw_11/depthwise:in1 skip conv_dw_11/depthwise_kernel/read
I short-cut conv_dw_4_bn/gamma:out0 - conv_dw_4_bn/cond/batchnorm/mul:in1 skip conv_dw_4_bn/gamma/read
I short-cut conv1_bn/moving_mean:out0 - conv1_bn/cond/batchnorm/mul_2:in0 skip conv1_bn/moving_mean/read
I short-cut conv_pw_12_bn/moving_variance:out0 - conv_pw_12_bn/cond/batchnorm/add:in0 skip conv_pw_12_bn/moving_variance/read
I short-cut conv_dw_2/depthwise_kernel:out0 - conv_dw_2/depthwise:in1 skip conv_dw_2/depthwise_kernel/read
I short-cut conv1/kernel:out0 - conv1/convolution:in1 skip conv1/kernel/read
I short-cut conv_dw_7_bn/gamma:out0 - conv_dw_7_bn/cond/batchnorm/mul:in1 skip conv_dw_7_bn/gamma/read
I short-cut conv_dw_1_bn/moving_variance:out0 - conv_dw_1_bn/cond/batchnorm/add:in0 skip conv_dw_1_bn/moving_variance/read
I short-cut conv_pw_8_bn/beta:out0 - conv_pw_8_bn/cond/batchnorm/sub:in0 skip conv_pw_8_bn/beta/read
I short-cut conv_dw_13_bn/gamma:out0 - conv_dw_13_bn/cond/batchnorm/mul:in1 skip conv_dw_13_bn/gamma/read
I short-cut conv_pw_1_bn/beta:out0 - conv_pw_1_bn/cond/batchnorm/sub:in0 skip conv_pw_1_bn/beta/read
I short-cut conv_dw_11_bn/moving_mean:out0 - conv_dw_11_bn/cond/batchnorm/mul_2:in0 skip conv_dw_11_bn/moving_mean/read
I short-cut conv_dw_3_bn/moving_mean:out0 - conv_dw_3_bn/cond/batchnorm/mul_2:in0 skip conv_dw_3_bn/moving_mean/read
I short-cut conv_pw_13_bn/moving_variance:out0 - conv_pw_13_bn/cond/batchnorm/add:in0 skip conv_pw_13_bn/moving_variance/read
I short-cut conv_pw_7_bn/beta:out0 - conv_pw_7_bn/cond/batchnorm/sub:in0 skip conv_pw_7_bn/beta/read
I short-cut conv_dw_2_bn/gamma:out0 - conv_dw_2_bn/cond/batchnorm/mul:in1 skip conv_dw_2_bn/gamma/read
I short-cut conv_pw_2_bn/moving_variance:out0 - conv_pw_2_bn/cond/batchnorm/add:in0 skip conv_pw_2_bn/moving_variance/read
I short-cut conv_pw_8_bn/moving_mean:out0 - conv_pw_8_bn/cond/batchnorm/mul_2:in0 skip conv_pw_8_bn/moving_mean/read
I short-cut dense_2/kernel:out0 - dense_2/MatMul:in1 skip dense_2/kernel/read
I short-cut conv1_bn/moving_variance:out0 - conv1_bn/cond/batchnorm/add:in0 skip conv1_bn/moving_variance/read
I short-cut conv_pw_8_bn/gamma:out0 - conv_pw_8_bn/cond/batchnorm/mul:in1 skip conv_pw_8_bn/gamma/read
I short-cut conv_pw_10_bn/moving_mean:out0 - conv_pw_10_bn/cond/batchnorm/mul_2:in0 skip conv_pw_10_bn/moving_mean/read
I short-cut conv_dw_11_bn/beta:out0 - conv_dw_11_bn/cond/batchnorm/sub:in0 skip conv_dw_11_bn/beta/read
I short-cut conv_dw_9_bn/moving_mean:out0 - conv_dw_9_bn/cond/batchnorm/mul_2:in0 skip conv_dw_9_bn/moving_mean/read
I short-cut conv_pw_3_bn/moving_variance:out0 - conv_pw_3_bn/cond/batchnorm/add:in0 skip conv_pw_3_bn/moving_variance/read
I short-cut conv_pw_2/kernel:out0 - conv_pw_2/convolution:in1 skip conv_pw_2/kernel/read
I short-cut conv_pw_10_bn/moving_variance:out0 - conv_pw_10_bn/cond/batchnorm/add:in0 skip conv_pw_10_bn/moving_variance/read
I short-cut conv_pw_3/kernel:out0 - conv_pw_3/convolution:in1 skip conv_pw_3/kernel/read
I short-cut conv_pw_4_bn/beta:out0 - conv_pw_4_bn/cond/batchnorm/sub:in0 skip conv_pw_4_bn/beta/read
I short-cut conv_dw_12_bn/moving_mean:out0 - conv_dw_12_bn/cond/batchnorm/mul_2:in0 skip conv_dw_12_bn/moving_mean/read
I short-cut conv_pw_5_bn/moving_mean:out0 - conv_pw_5_bn/cond/batchnorm/mul_2:in0 skip conv_pw_5_bn/moving_mean/read
I short-cut conv_pw_11_bn/beta:out0 - conv_pw_11_bn/cond/batchnorm/sub:in0 skip conv_pw_11_bn/beta/read
I short-cut conv_dw_9_bn/beta:out0 - conv_dw_9_bn/cond/batchnorm/sub:in0 skip conv_dw_9_bn/beta/read
I short-cut conv_dw_1/depthwise_kernel:out0 - conv_dw_1/depthwise:in1 skip conv_dw_1/depthwise_kernel/read
I short-cut conv_pw_11_bn/moving_mean:out0 - conv_pw_11_bn/cond/batchnorm/mul_2:in0 skip conv_pw_11_bn/moving_mean/read
I short-cut conv_dw_9/depthwise_kernel:out0 - conv_dw_9/depthwise:in1 skip conv_dw_9/depthwise_kernel/read
I short-cut conv_dw_5_bn/gamma:out0 - conv_dw_5_bn/cond/batchnorm/mul:in1 skip conv_dw_5_bn/gamma/read
I short-cut conv_pw_4_bn/moving_variance:out0 - conv_pw_4_bn/cond/batchnorm/add:in0 skip conv_pw_4_bn/moving_variance/read
I short-cut conv_dw_4/depthwise_kernel:out0 - conv_dw_4/depthwise:in1 skip conv_dw_4/depthwise_kernel/read
I short-cut conv_pw_5_bn/gamma:out0 - conv_pw_5_bn/cond/batchnorm/mul:in1 skip conv_pw_5_bn/gamma/read
I short-cut conv_dw_1_bn/gamma:out0 - conv_dw_1_bn/cond/batchnorm/mul:in1 skip conv_dw_1_bn/gamma/read
I short-cut conv_pw_4/kernel:out0 - conv_pw_4/convolution:in1 skip conv_pw_4/kernel/read
I short-cut conv_pw_13_bn/moving_mean:out0 - conv_pw_13_bn/cond/batchnorm/mul_2:in0 skip conv_pw_13_bn/moving_mean/read
I short-cut conv_dw_2_bn/moving_variance:out0 - conv_dw_2_bn/cond/batchnorm/add:in0 skip conv_dw_2_bn/moving_variance/read
I short-cut conv_pw_6_bn/moving_variance:out0 - conv_pw_6_bn/cond/batchnorm/add:in0 skip conv_pw_6_bn/moving_variance/read
I short-cut conv_dw_8_bn/moving_mean:out0 - conv_dw_8_bn/cond/batchnorm/mul_2:in0 skip conv_dw_8_bn/moving_mean/read
I short-cut conv_pw_1_bn/gamma:out0 - conv_pw_1_bn/cond/batchnorm/mul:in1 skip conv_pw_1_bn/gamma/read
I short-cut conv_dw_9_bn/moving_variance:out0 - conv_dw_9_bn/cond/batchnorm/add:in0 skip conv_dw_9_bn/moving_variance/read
I short-cut conv_pw_9/kernel:out0 - conv_pw_9/convolution:in1 skip conv_pw_9/kernel/read
I short-cut conv_pw_11_bn/gamma:out0 - conv_pw_11_bn/cond/batchnorm/mul:in1 skip conv_pw_11_bn/gamma/read
I short-cut conv_pw_6/kernel:out0 - conv_pw_6/convolution:in1 skip conv_pw_6/kernel/read
I short-cut conv_dw_8_bn/moving_variance:out0 - conv_dw_8_bn/cond/batchnorm/add:in0 skip conv_dw_8_bn/moving_variance/read
I short-cut conv_dw_5_bn/moving_mean:out0 - conv_dw_5_bn/cond/batchnorm/mul_2:in0 skip conv_dw_5_bn/moving_mean/read
I short-cut conv_pw_7_bn/moving_mean:out0 - conv_pw_7_bn/cond/batchnorm/mul_2:in0 skip conv_pw_7_bn/moving_mean/read
I short-cut conv_dw_6/depthwise_kernel:out0 - conv_dw_6/depthwise:in1 skip conv_dw_6/depthwise_kernel/read
I short-cut conv_pw_9_bn/beta:out0 - conv_pw_9_bn/cond/batchnorm/sub:in0 skip conv_pw_9_bn/beta/read
I short-cut conv_dw_10_bn/beta:out0 - conv_dw_10_bn/cond/batchnorm/sub:in0 skip conv_dw_10_bn/beta/read
I short-cut conv_dw_3/depthwise_kernel:out0 - conv_dw_3/depthwise:in1 skip conv_dw_3/depthwise_kernel/read
I short-cut conv_pw_2_bn/gamma:out0 - conv_pw_2_bn/cond/batchnorm/mul:in1 skip conv_pw_2_bn/gamma/read
I short-cut dense_2/bias:out0 - dense_2/BiasAdd:in1 skip dense_2/bias/read
I short-cut conv_pw_10_bn/beta:out0 - conv_pw_10_bn/cond/batchnorm/sub:in0 skip conv_pw_10_bn/beta/read
I short-cut conv1_bn/gamma:out0 - conv1_bn/cond/batchnorm/mul:in1 skip conv1_bn/gamma/read
I short-cut conv_pw_5/kernel:out0 - conv_pw_5/convolution:in1 skip conv_pw_5/kernel/read
I short-cut conv_dw_12_bn/beta:out0 - conv_dw_12_bn/cond/batchnorm/sub:in0 skip conv_dw_12_bn/beta/read
I short-cut conv_pw_3_bn/beta:out0 - conv_pw_3_bn/cond/batchnorm/sub:in0 skip conv_pw_3_bn/beta/read
I short-cut conv_pw_13_bn/gamma:out0 - conv_pw_13_bn/cond/batchnorm/mul:in1 skip conv_pw_13_bn/gamma/read
I short-cut conv_pw_4_bn/moving_mean:out0 - conv_pw_4_bn/cond/batchnorm/mul_2:in0 skip conv_pw_4_bn/moving_mean/read
I short-cut conv_dw_11_bn/gamma:out0 - conv_dw_11_bn/cond/batchnorm/mul:in1 skip conv_dw_11_bn/gamma/read
I short-cut conv_pw_11_bn/moving_variance:out0 - conv_pw_11_bn/cond/batchnorm/add:in0 skip conv_pw_11_bn/moving_variance/read
I short-cut conv_dw_6_bn/beta:out0 - conv_dw_6_bn/cond/batchnorm/sub:in0 skip conv_dw_6_bn/beta/read
I short-cut conv_dw_3_bn/gamma:out0 - conv_dw_3_bn/cond/batchnorm/mul:in1 skip conv_dw_3_bn/gamma/read
I short-cut conv_dw_5_bn/moving_variance:out0 - conv_dw_5_bn/cond/batchnorm/add:in0 skip conv_dw_5_bn/moving_variance/read
I short-cut conv_dw_8_bn/beta:out0 - conv_dw_8_bn/cond/batchnorm/sub:in0 skip conv_dw_8_bn/beta/read
I short-cut conv_dw_6_bn/gamma:out0 - conv_dw_6_bn/cond/batchnorm/mul:in1 skip conv_dw_6_bn/gamma/read
I short-cut conv_pw_2_bn/moving_mean:out0 - conv_pw_2_bn/cond/batchnorm/mul_2:in0 skip conv_pw_2_bn/moving_mean/read
I short-cut conv_pw_13/kernel:out0 - conv_pw_13/convolution:in1 skip conv_pw_13/kernel/read
I short-cut conv_pw_12_bn/gamma:out0 - conv_pw_12_bn/cond/batchnorm/mul:in1 skip conv_pw_12_bn/gamma/read
I short-cut conv_dw_6_bn/moving_variance:out0 - conv_dw_6_bn/cond/batchnorm/add:in0 skip conv_dw_6_bn/moving_variance/read
I short-cut conv_pw_6_bn/moving_mean:out0 - conv_pw_6_bn/cond/batchnorm/mul_2:in0 skip conv_pw_6_bn/moving_mean/read
I short-cut conv_dw_7_bn/moving_mean:out0 - conv_dw_7_bn/cond/batchnorm/mul_2:in0 skip conv_dw_7_bn/moving_mean/read
I short-cut conv_pw_12/kernel:out0 - conv_pw_12/convolution:in1 skip conv_pw_12/kernel/read
I short-cut conv_dw_6_bn/moving_mean:out0 - conv_dw_6_bn/cond/batchnorm/mul_2:in0 skip conv_dw_6_bn/moving_mean/read
I short-cut conv_pw_5_bn/moving_variance:out0 - conv_pw_5_bn/cond/batchnorm/add:in0 skip conv_pw_5_bn/moving_variance/read
I short-cut conv_pw_9_bn/moving_mean:out0 - conv_pw_9_bn/cond/batchnorm/mul_2:in0 skip conv_pw_9_bn/moving_mean/read
I short-cut conv1_bn/beta:out0 - conv1_bn/cond/batchnorm/sub:in0 skip conv1_bn/beta/read
I short-cut conv_dw_5_bn/beta:out0 - conv_dw_5_bn/cond/batchnorm/sub:in0 skip conv_dw_5_bn/beta/read
I short-cut conv_dw_3_bn/beta:out0 - conv_dw_3_bn/cond/batchnorm/sub:in0 skip conv_dw_3_bn/beta/read
I short-cut conv_dw_12_bn/gamma:out0 - conv_dw_12_bn/cond/batchnorm/mul:in1 skip conv_dw_12_bn/gamma/read
I short-cut conv_dw_1_bn/beta:out0 - conv_dw_1_bn/cond/batchnorm/sub:in0 skip conv_dw_1_bn/beta/read
I short-cut conv_pw_1_bn/moving_variance:out0 - conv_pw_1_bn/cond/batchnorm/add:in0 skip conv_pw_1_bn/moving_variance/read
I short-cut conv_dw_12/depthwise_kernel:out0 - conv_dw_12/depthwise:in1 skip conv_dw_12/depthwise_kernel/read
I short-cut conv_dw_5/depthwise_kernel:out0 - conv_dw_5/depthwise:in1 skip conv_dw_5/depthwise_kernel/read
I short-cut conv_dw_10_bn/gamma:out0 - conv_dw_10_bn/cond/batchnorm/mul:in1 skip conv_dw_10_bn/gamma/read
I short-cut conv_dw_10_bn/moving_variance:out0 - conv_dw_10_bn/cond/batchnorm/add:in0 skip conv_dw_10_bn/moving_variance/read
I short-cut conv_pw_6_bn/beta:out0 - conv_pw_6_bn/cond/batchnorm/sub:in0 skip conv_pw_6_bn/beta/read
I short-cut conv_pw_10_bn/gamma:out0 - conv_pw_10_bn/cond/batchnorm/mul:in1 skip conv_pw_10_bn/gamma/read
I short-cut conv_pw_12_bn/moving_mean:out0 - conv_pw_12_bn/cond/batchnorm/mul_2:in0 skip conv_pw_12_bn/moving_mean/read
I short-cut conv_dw_8_bn/gamma:out0 - conv_dw_8_bn/cond/batchnorm/mul:in1 skip conv_dw_8_bn/gamma/read
I short-cut conv_pw_3_bn/gamma:out0 - conv_pw_3_bn/cond/batchnorm/mul:in1 skip conv_pw_3_bn/gamma/read
I short-cut conv_pw_7/kernel:out0 - conv_pw_7/convolution:in1 skip conv_pw_7/kernel/read
I short-cut conv_dw_7/depthwise_kernel:out0 - conv_dw_7/depthwise:in1 skip conv_dw_7/depthwise_kernel/read
I short-cut conv_dw_4_bn/beta:out0 - conv_dw_4_bn/cond/batchnorm/sub:in0 skip conv_dw_4_bn/beta/read
I short-cut conv_dw_7_bn/moving_variance:out0 - conv_dw_7_bn/cond/batchnorm/add:in0 skip conv_dw_7_bn/moving_variance/read
I short-cut conv_dw_2_bn/beta:out0 - conv_dw_2_bn/cond/batchnorm/sub:in0 skip conv_dw_2_bn/beta/read
I short-cut conv_dw_2_bn/moving_mean:out0 - conv_dw_2_bn/cond/batchnorm/mul_2:in0 skip conv_dw_2_bn/moving_mean/read
I short-cut conv_pw_12_bn/beta:out0 - conv_pw_12_bn/cond/batchnorm/sub:in0 skip conv_pw_12_bn/beta/read
I short-cut conv_pw_7_bn/gamma:out0 - conv_pw_7_bn/cond/batchnorm/mul:in1 skip conv_pw_7_bn/gamma/read
I short-cut conv_pw_4_bn/gamma:out0 - conv_pw_4_bn/cond/batchnorm/mul:in1 skip conv_pw_4_bn/gamma/read
I short-cut conv_dw_3_bn/moving_variance:out0 - conv_dw_3_bn/cond/batchnorm/add:in0 skip conv_dw_3_bn/moving_variance/read
I short-cut conv_dw_13_bn/beta:out0 - conv_dw_13_bn/cond/batchnorm/sub:in0 skip conv_dw_13_bn/beta/read
I short-cut conv_pw_11/kernel:out0 - conv_pw_11/convolution:in1 skip conv_pw_11/kernel/read
I short-cut conv_pw_8/kernel:out0 - conv_pw_8/convolution:in1 skip conv_pw_8/kernel/read
I short-cut conv_pw_9_bn/gamma:out0 - conv_pw_9_bn/cond/batchnorm/mul:in1 skip conv_pw_9_bn/gamma/read
I short-cut conv_dw_4_bn/moving_variance:out0 - conv_dw_4_bn/cond/batchnorm/add:in0 skip conv_dw_4_bn/moving_variance/read
I short-cut conv_dw_9_bn/gamma:out0 - conv_dw_9_bn/cond/batchnorm/mul:in1 skip conv_dw_9_bn/gamma/read
I short-cut conv_dw_13_bn/moving_mean:out0 - conv_dw_13_bn/cond/batchnorm/mul_2:in0 skip conv_dw_13_bn/moving_mean/read
I short-cut conv_dw_4_bn/moving_mean:out0 - conv_dw_4_bn/cond/batchnorm/mul_2:in0 skip conv_dw_4_bn/moving_mean/read
I short-cut conv_dw_8/depthwise_kernel:out0 - conv_dw_8/depthwise:in1 skip conv_dw_8/depthwise_kernel/read
I short-cut conv_dw_11_bn/moving_variance:out0 - conv_dw_11_bn/cond/batchnorm/add:in0 skip conv_dw_11_bn/moving_variance/read
I short-cut conv_pw_2_bn/beta:out0 - conv_pw_2_bn/cond/batchnorm/sub:in0 skip conv_pw_2_bn/beta/read
E Catch exception when loading tensorflow model: ./rerere.pb!
T Traceback (most recent call last):
T   File "rknn/api/rknn_base.py", line 137, in rknn.api.rknn_base.RKNNBase.load_tensorflow
T   File "rknn/base/RKNNlib/converter/convert_tf.py", line 482, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.pre_process
T   File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 102, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.pre_proces
T   File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 605, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.calc_2_const
T   File "rknn/base/RKNNlib/converter/tensorflowloader.py", line 505, in rknn.base.RKNNlib.converter.tensorflowloader.TF_Graph_Preprocess.final_const_tensors
T   File "rknn/base/RKNNlib/converter/tensor_model.py", line 413, in rknn.base.RKNNlib.converter.tensor_model.TensorModel.flow_from
T AttributeError: 'NoneType' object has no attribute 'dir'
着我的log
回复

使用道具 举报

uuii9988

注册会员

积分
100
6#
发表于 2019-8-5 10:06:30 | 只看该作者
toybrick 发表于 2019-8-5 09:08
能否上传下你的模型与脚本?方便我们定位问题,模型比较大的话可以给出模型下载地址,谢谢 ...

https://pan.baidu.com/s/1fDTEzLJ3WZZWShZqmKi1bA这是我的权重和转换脚本  ,麻烦您了。
回复

使用道具 举报

uuii9988

注册会员

积分
100
7#
发表于 2019-8-5 13:27:37 | 只看该作者
toybrick 发表于 2019-8-5 09:08
能否上传下你的模型与脚本?方便我们定位问题,模型比较大的话可以给出模型下载地址,谢谢 ...

解决了 不好意思有点粗心
回复

使用道具 举报

liuyiyiyiyi

新手上路

积分
27
8#
发表于 2021-9-3 14:46:18 | 只看该作者
uuii9988 发表于 2019-8-5 13:27
解决了 不好意思有点粗心

怎么解决的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表