OpenCV gives error Bad argument when loading MaskRCNN-10.onnx
Open
@askhade is already working on this.
Since Jul 13, 2020.
bug
- Dominant language
- Jupyter Notebook
- Stars
- 9.8k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Report
Which model does this pertain to?
MaskRCNN-10.onnx
Describe the bug
When I load ONNX model with OpenCV DNN module I get this error:
OpenCV(4.3.0) D:\Git\opencv\modules\dnn\src\layers\reshape_layer.cpp:133: error: (-5:Bad argument) Copy dim[3] (which has zero size) is out of the source shape bounds in function 'computeShapeByReshapeMask'
Reproduction instructions
cv::dnn::readNetFromONNX( "MaskRCNN-10.onnx" );
System Information
Windows 10 64bit, OpenCV 4.3.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.