How I can get the input/output layer shape from dnn::Net object?

asked 2017-12-08 17:02:52 -0600

Rbt gravatar image

I need a dnn::Net object with a loaded moded and I need to know before doing a forward pass -> the shape of input layer -> the shape of output layer

In CAFFE this is very easy, but with dnn I don't know .

edit retag flag offensive close merge delete

Comments

This link will show you what you can and cannot do: https://docs.opencv.org/trunk/db/d30/...

sjhalayka gravatar imagesjhalayka ( 2017-12-08 18:39:52 -0600 )edit
dkurt gravatar imagedkurt ( 2017-12-09 08:13:54 -0600 )edit

OK, that explanation helped me. Thank you!!!

Rbt gravatar imageRbt ( 2017-12-09 09:15:42 -0600 )edit