Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update export.py docstring #5689

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Update export.py docstring #5689

merged 1 commit into from
Nov 17, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 17, 2021

Format Example Export include=(...) argument
PyTorch yolov5s.pt -
TorchScript yolov5s.torchscript.pt 'torchscript'
ONNX yolov5s.onnx 'onnx'
CoreML yolov5s.mlmodel 'coreml'
TensorFlow SavedModel yolov5s_saved_model/ 'saved_model'
TensorFlow GraphDef yolov5s.pb 'pb'
TensorFlow Lite yolov5s.tflite 'tflite'
TensorFlow.js yolov5s_web_model/ 'tfjs'

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced support for exporting YOLOv5 models to various formats.

πŸ“Š Key Changes

  • πŸ‘©β€πŸ’» Added a clearer table showing support for different export formats.
  • 🧰 New export format list includes PyTorch, TorchScript, ONNX, CoreML, and various TensorFlow options.
  • πŸ”„ Updated usage instructions for consistency with the new export capabilities.
  • 🌐 Included inference usage, demonstrating how newly exported formats can be used.

🎯 Purpose & Impact

  • πŸ“ˆ Aims to provide users with better documentation on how to export models to different formats, making it more accessible.
  • πŸš€ Enables wider deployment of YOLOv5 models across various platforms and devices by simplifying the export process.
  • πŸ‘Œ Improved user experience for those looking to integrate YOLOv5 into different production environments with clear guidance on usage.

@glenn-jocher glenn-jocher merged commit 562191f into master Nov 17, 2021
@glenn-jocher glenn-jocher deleted the update/export branch November 17, 2021 14:18
@glenn-jocher glenn-jocher self-assigned this Nov 17, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant