Ask Your Question

Does having a tf.nn.dropout layer in a tensorflow frozen graph affect dnn::forward

asked 2018-07-08 05:25:10 -0500

AyushP123 gravatar image

I wanted to know if frozen tensorflow graph ( loaded using dnn::readNetFromTensorflow ) containing a dropout layer affects dnn::forward i.e. are the neurons from the previous layers dropped at random or is the dropout layer omitted during the forward pass.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-07-08 08:02:10 -0500

berak gravatar image

opencv's dnn only does the forward pass, so the dropout layer is mapped to a blank one

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-07-08 05:25:10 -0500

Seen: 46 times

Last updated: Jul 08 '18