Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assertion failed(attribute_proto.ints_size()==2 in cv::dnn

I tried to load a model which is trained in cntk into opencv 4.0.1 dnn module using the function readNetFromONNX(). I could successfully load and evaluate one model which have 116464 input shape but could not load another model which have 13224244 input shape. I end with up the error mentioned in the question. what could be the reason for this? Thanks in advance for your valuable help.

Assertion failed(attribute_proto.ints_size()==2 in cv::dnn

I tried to load a model which is trained in cntk into opencv 4.0.1 dnn module using the function readNetFromONNX(). I could successfully load and evaluate one model which have 116464 1*1*64*64 input shape but could not load another model which have 13224244 1*3*224*224 input shape. I end with up the error mentioned in the question. what could be the reason for this? Thanks in advance for your valuable help.