WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.37k stars 4.22k forks source link

Converter yolov7.pt para yolov7.tflite #1996

Open gpsamt opened 8 months ago

gpsamt commented 8 months ago

Hello. I'm doing a study with yolov5 and yolov7 and I came across a question. Why does yolov5 support exporting to tflite and yolov7 not? Why do yolov7 need to use other programs for conversion? Does anyone have any material tips for conversion and inference for yolov7 to TF-Lite. Thanks

dsbyprateekg commented 8 months ago

@gpsamt you can check following PR for tflite conversion- https://github.com/WongKinYiu/yolov7/pull/1968

ERSOHAILJAVED commented 6 months ago

yes, i am also facing same issue, you can use only 3rd party lib convert pt to onnx than to tensorflow than tflite this is only the way for doing this in yolov5

but if you want you can use yolov8, it will convert on the go just like yolov5