How can i load a onnx with opencv?
I have just convert a model from pytorch to onnx and now i want load it with opencv so that i can use it in android application. But every time i run a test code in python
net=cv2.dnn.readNetFromONNX('./model.onnx')
It got a error which said
error: OpenCV(3.4.4) /io/opencv/modules/dnn/src/onnx/onnx_importer.cpp:272: error: (-204:Requested object was not found) Blob 13 not found in const blobs in function 'getBlob'
Can anybody help me?
@vealocia, Is it possible to share
model.onnx
?