Toybrick

标题: tflite转rknn失败 [打印本页]

作者: zjmmm    时间: 2021-12-28 16:31
标题: tflite转rknn失败
用movenet官方tflite模型生成rknn模型时,load model失败请问时op不支持吗?
--> Loading model
E Catch exception when loading tflite model: ./movenet_thunder/model_float32.tflite!
E Traceback (most recent call last):
E   File "rknn/base/RKNNlib/converter/tflite_loader.py", line 533, in rknn.base.RKNNlib.converter.tflite_loader.ModelParser.parse
E   File "rknn/base/RKNNlib/converter/tflite_loader.py", line 463, in rknn.base.RKNNlib.converter.tflite_loader.ModelParser._build_layers
E   File "rknn/base/RKNNlib/converter/tflite_loader.py", line 298, in rknn.base.RKNNlib.converter.tflite_loader.ModelParser._get_layer_RKNN_op
E   File "rknn/base/RKNNlib/converter/lite/RKNN_map_op.py", line 844, in rknn.base.RKNNlib.converter.lite.RKNN_map_op.RKNNMapOp.map_RKNN_ops
E   File "rknn/base/RKNNlib/converter/lite/RKNN_map_op.py", line 811, in rknn.base.RKNNlib.converter.lite.RKNN_map_op._cast
E AttributeError: 'NoneType' object has no attribute 'InDataType'
E Please feedback the detailed log file <log_feedback_to_the_rknn_toolkit_dev_team.log> to the RKNN Toolkit development team.
E You can also check github issues: https://github.com/rockchip-linux/rknn-toolkit/issues
done
--> Building model



作者: jefferyzhang    时间: 2021-12-28 16:44
你这log还没有看到op不支持,先试试这个模型在当前环境中能否加载推理




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3