Field to load .pb file

asked 2019-11-04 17:10:29 -0600

babak12345 gravatar image

updated 2019-11-05 01:01:40 -0600

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?

edit retag flag offensive close merge delete

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 ( 2019-11-05 01:33:21 -0600 )edit