但是,我在之前旧版本的转模型工具链,是可以正常处理的,只是转模型后的算子发生了改变。在新的工具链我用concat代替了channel padding,替代后的onnx模型是可以本地跑的,但是在转模型的时候报这个错误,能帮忙看下什么问题吗?
2022-08-11 18:23:53,953 INFO Model input names: [‘input_1’]
2022-08-11 18:23:53,953 INFO Create a preprocessing operator for input_name input_1 with means=[128.], std=[128.], original_input_layout=NCHW, color convert from ‘RGB’ to ‘BGR’.
2022-08-11 18:23:53,974 INFO Saving the original float model: mediapipep_hand_original_float_model.onnx.
2022-08-11 18:23:53,975 INFO [Thu Aug 11 18:23:53 2022] Start to optimize the model.
2022-08-11 18:23:54,179 INFO [Thu Aug 11 18:23:54 2022] End to optimize the model.
2022-08-11 18:23:54,186 INFO Saving the optimized model: mediapipep_hand_optimized_float_model.onnx.
2022-08-11 18:23:54,186 INFO [Thu Aug 11 18:23:54 2022] Start to calibrate the model.
2022-08-11 18:23:54,188 INFO There are 100 samples in the calibration data set.
2022-08-11 18:23:54,222 INFO Run calibration model with default calibration method.
2022-08-11 18:23:55.205554198 [E:onnxruntime:, sequential_executor.cc:183 Execute] Non-zero status code returned while running Concat node. Name:‘onnx_graphsurgeon_node_0’ Status Message: Not satisfied: dim_value == inputs_0_dims[axis_index]
concat.cc:79 PrepareForComputeNon concat axis dimensions must match: Axis 0 has mismatched dimensions of 1 and 8
2022-08-11 18:23:55,206 INFO Reset batch_size=1 and execute calibration again..