我将提供的模型nanodet_m.ckpt用export_onnx.py转化成onnx模型,并且经过onnxsimplifier,后面在python中用cv2.readNetFromONNX()读取网络的时候出现 Error: Unspecified error (> (expected: 'shape.depth() == CV_32S') where 'shapes.depth()' is 5 (CV_32FC1) must be equal to 'CV_32S' is 4 (CV_32SC1) in void_cdecl cv::dnn::dnn4_v20200609::ONNXImporter::populateNet(class cv::dnn::dnn4_v20200609::Net)
我将提供的模型nanodet_m.ckpt用export_onnx.py转化成onnx模型,并且经过onnxsimplifier,后面在python中用cv2.readNetFromONNX()读取网络的时候出现 Error: Unspecified error (> (expected: 'shape.depth() == CV_32S') where 'shapes.depth()' is 5 (CV_32FC1) must be equal to 'CV_32S' is 4 (CV_32SC1) in void_cdecl cv::dnn::dnn4_v20200609::ONNXImporter::populateNet(class cv::dnn::dnn4_v20200609::Net)