请问时如何导出onnx模型的?我导出的模型在推理时报如下错误:
error: (-2:Unspecified error) in function 'void cv::dnn::dnn4_v20200908::ONNXImporter::populateNet(cv::dnn::dnn4_v20200908::Net)'
(expected: 'shapes.depth() == CV_32S'), where
'shapes.depth()' is 5 (CV_32FC1)
must be equal to
'CV_32S' is 4 (CV_32SC1)
请问时如何导出onnx模型的?我导出的模型在推理时报如下错误: error: (-2:Unspecified error) in function 'void cv::dnn::dnn4_v20200908::ONNXImporter::populateNet(cv::dnn::dnn4_v20200908::Net)'
Aborted (core dumped)