标题: 一个关于tflite模型转化的问题 [打印本页] 作者: whu_tzw 时间: 2019-8-19 19:41 标题: 一个关于tflite模型转化的问题 在最新的驱动以及版本中,将tflite的目标检测模型进行转化出现报错,错误log如下:
D RKNN output shape(concat): (1 1917 91)
D Process convert_scores_71 ...
D RKNN output shape(sigmoid): (1 1917 91)
D Process variable_77 ...
D RKNN output shape(variable): (1917 4)
D Process TFLite_Detection_PostProcess_72 ...
E Catch exception when loading tflite model: ./detect.tflite!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 219, in rknn.api.rknn_base.RKNNBase.load_tflite
T File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 263, in rknn.base.RKNNlib.RKNNnetbuilder.RKNNNetBuilder.build
T File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 281, in rknn.base.RKNNlib.RKNNnetbuilder.RKNNNetBuilder.build_layer
T File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 289, in genexpr
T File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 289, in genexpr
T AttributeError: 'NoneType' object has no attribute 'to_string'