I have a custom tensorflow model .pb file. I want to import that in OpenCV using the dnn module. dnn module function requires 2 parameters: .pb
file and .pbtxt
file? How can I generate .pbtxt
file from the .pb
file?
cvNet = cv2.dnn.readNetFromTensorflow('FrozenMaster.pb', 'graph.pbtxt')
How to get this graph.pbtxt
file?