ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
50.49k stars 16.29k forks source link

How to convert yolov4.weights into pytorch .pth format?? #3052

Closed akashAD98 closed 3 years ago

akashAD98 commented 3 years ago

i want to convert my yolov4.weight (darknet ) into .pth format (yolov5.pth), because the model size of .pth is lighter & I want to increase the FPS/inferencing of my model.

glenn-jocher commented 3 years ago

@akashAD98 conversion is not supported. You can train a new YOLOv5 model instead. See Train Custom Data tutorial to get started:

YOLOv5 Tutorials

github-actions[bot] commented 3 years ago

👋 Hello @glenn-jocher, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!