Field to load .pb file

asked Nov 4 '19

babak12345 gravatar image

updated Nov 5 '19

berak gravatar image

I want to load .pb file (protocol buffer file of tensorflow) using code shown below:

ReadNetFromTensorflow(path);

but I get this error:

OpenCV: !field.empty()

what is the problem?

Preview: (hide)

Comments

"i want" is not enough, to help you, we would need:

  • an explanation, what you're trying to achieve with it
  • opencv / tf versions
  • a link to the training code, and the generated model, and possibly a pbtxt file to look at here.
  • an exact description, what you're doing to get it from tf to cv::dnn
  • your test code

please edit your question and add required information there

berak gravatar imageberak (Nov 5 '19)edit