Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to generate a .pbtxt file using a tensor flow model .pb file for dnn module?

Hello, I have a tensorflow model (.pb file). I want to import it using dnn module in OpenCV. "cv2.dnn.readNetFromTensorflow" function requires 2 parameters , .pb file, and .pbtxt file. Please tell me how to generate .pbtxt file in this case?

Thank you