I’m trying to convert a yolo training into tensorflow model to use it with OpenCV Python. I am using this library GitHub - hunglc007/tensorflow-yolov4-tflite: YOLOv4, YOLOv4-tiny, YOLOv3, YOLOv3-tiny Implemented in Tensorflow 2.0, Android. Convert YOLO v4 .weights tensorflow, tensorrt and tflite.
I can convert yolo weights into tensorflow .pb file but is there a way to get a pbtxt file from this conversion or not ? Because the function “readNetFromTensorflow” of OpenCV need a .pb and a .pbtxt file to work…
Or is there another way to not use a pbtxt in OpenCV but only a .pb file ?