-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Closed
Copy link
Labels
Milestone
Description
System information (version)
- OpenCV => 4.1.0 C++
- Operating System / Platform => Mac OS High Sierra (also had this issue on Windows 10)
- Compiler => XCode
Detailed description
So I have 3 PyTorch models where 2 of them give me trouble when loading in ONNX, the inference works fine in PyTorch and the conversion is all ok too.
So in the first model I get this error when reading the ONNX model in OpenCV:
Assertion failed (inputs.size()) in cv::dnn::dnn4_v20190122::Layer::getMemoryShapese
With the other model I get this error:
Blob 64 not found in const blobs
This has all something to do with the input where in the first error the inputs.size() is 0 and in the second model the blob isn't big enough somehow.
I don't know which framework or action I did I can pinpoint the error to..
Steps to reproduce
Read the decoder ONNX model
Standalone project
Reactions are currently unavailable