Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

How can i load a onnx with opencv?

$
0
0
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?

Viewing all articles
Browse latest Browse all 2088

Trending Articles