用户您好,请详细描述您所遇到的问题:
使用docker镜像openexplorer/ai_toolchain_centos_7_xj3:v2.2.3a,执行DELG模型(见附件)转换前的check操作,
check脚本如下:
#!/bin/bash
model_type=onnx
march=bernoulli2
onnx_model=./delg50.fixed.onnx
input_node1=input_image:0
input_shape1=224x224x3
input_node2=input_scales:0
input_shape2=7
input_node3=input_max_feature_num:0
input_shape3=1
input_node4=input_abs_thres:0
input_shape4=1
input_node5=input_global_scales_ind:0
input_shape5=3
output=out
hb_mapper checker --model-type ${model_type} \
--march ${march} \
--model ${onnx_model} \
--input-shape ${input_node1} ${input_shape1} \
--input-shape ${input_node2} ${input_shape2} \
--input-shape ${input_node3} ${input_shape3} \
--input-shape ${input_node4} ${input_shape4} \
--input-shape ${input_node5} ${input_shape5} \
--output ${output}
报错如下:
Failed to load model with error: Missing opset in the model. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported.
2022-09-15 10:56:12,295 ERROR There is an error in pass:constant_folding. Error message:Failed to load model with error: Missing opset in the model. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported.
具体日志见附件。
问题:
1、确认是否支持带分支的模型?