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

asked 2019-03-26 05:42:57 -0500

hariprasad gravatar image

updated 2019-03-26 09:11:11 -0500

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 1*1*64*64 input shape but could not load another model which have 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.

edit retag flag offensive close merge delete


Please share a model if it's possible.

dkurt gravatar imagedkurt ( 2019-03-26 06:51:21 -0500 )edit

@dkurt Sorry for late response.Here is the model []. Please let me know if anything is needed

hariprasad gravatar imagehariprasad ( 2019-03-29 02:47:38 -0500 )edit