标题: 求助,caffe模型,开量化可以转成功,不开量化,反而失败 [打印本页] 作者: Lee 时间: 2019-6-11 10:48 标题: 求助,caffe模型,开量化可以转成功,不开量化,反而失败 D RKNN output shape(output): (1 20 20 75)
I Build remove_bn complete.
I Config File "/home/lee/workspace/RKNPUTool-master/rknn-toolkit/venv/lib/python3.5/site-packages/rknn/base/VIPNANOQ_PID0X82" found successfully
I Initialzing network optimizer by /home/lee/workspace/RKNPUTool-master/rknn-toolkit/venv/lib/python3.5/site-packages/rknn/base/VIPNANOQ_PID0X82 ...
D Optimizing network with qnt_adjust_coef, avgpool_to_conv, multiply_transform, add_extra_io, format_input_ops, auto_fill_zero_bias, conv_kernel_transform, twod_op_transform, conv_1xn_transform, strip_op, extend_add_to_conv2d, extend_fc_to_conv2d, extend_unstack_split, extend_batchnormalize, swapper, merge_layer, transform_layer, proposal_opt, broadcast_op, strip_op, auto_fill_reshape_zero, adjust_output_attrs
E Catch exception when building RKNN model!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 515, in rknn.api.rknn_base.RKNNBase.build
T File "rknn/api/rknn_base.py", line 439, in rknn.api.rknn_base.RKNNBase._build
T File "rknn/base/ovxconfiggenerator.py", line 197, in rknn.base.ovxconfiggenerator.generate_vx_config_from_files
T File "rknn/base/RKNNlib/app/exporter/ovxlib_case/casegenerator.py", line 373, in rknn.base.RKNNlib.app.exporter.ovxlib_case.casegenerator.CaseGenerator.generate
T File "rknn/base/RKNNlib/app/exporter/ovxlib_case/casegenerator.py", line 170, in rknn.base.RKNNlib.app.exporter.ovxlib_case.casegenerator.CaseGenerator._build_netdict
T File "rknn/base/RKNNlib/app/helper/striphelper.py", line 84, in rknn.base.RKNNlib.app.helper.striphelper.StripHelper.build_netdict
T File "rknn/base/RKNNlib/optimize/optimizer.py", line 186, in rknn.base.RKNNlib.optimize.optimizer.Optimizer.apply
T File "rknn/base/RKNNlib/optimize/rules/conv_kernel_transform.py", line 201, in rknn.base.RKNNlib.optimize.rules.conv_kernel_transform.ConvKernelTransform.apply
T File "rknn/base/RKNNlib/optimize/rules/conv_kernel_transform.py", line 194, in rknn.base.RKNNlib.optimize.rules.conv_kernel_transform.ConvKernelTransform._check_and_process
T File "rknn/base/RKNNlib/optimize/rules/conv_kernel_transform.py", line 123, in rknn.base.RKNNlib.optimize.rules.conv_kernel_transform.ConvKernelTransform._check_asymmetric_kernel_pad
T AttributeError: 'NoneType' object has no attribute 'const_data'
Build model failed!