ultralytics / hub

Ultralytics HUB tutorials and support
https://hub.ultralytics.com
GNU Affero General Public License v3.0
107 stars 11 forks source link

YOLOv5 Model Optimization #647

Open Waqas649 opened 3 weeks ago

Waqas649 commented 3 weeks ago

Search before asking

Question

Hello, I trained a custom yolov5 model, now I want to deploy it, but first I want to optimize it, is there any easy way to optimize it with openvino, some months ago, I used a online toolkit to optimize it but now its not found, anyone can help pls. Thanks

Additional

No response

github-actions[bot] commented 3 weeks ago

👋 Hello @Waqas649, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:

If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix.

If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response.

We try to respond to all issues as promptly as possible. Thank you for your patience!

pderrenger commented 3 weeks ago

Hello! 😊 Great to hear about your progress with your custom YOLOv5 model.

Optimizing your model for deployment with OpenVINO can indeed streamline the inference process. While we don't have a predefined online toolkit, converting your model to an OpenVINO-compatible format involves a couple of steps, starting with exporting your model to ONNX format. After that, you can utilize the OpenVINO Model Optimizer to convert the ONNX model to an IR (Intermediate Representation) format that's optimized for inference on various Intel hardware.

For a detailed step-by-step guide, including necessary commands and further optimization tips, please refer to the "Deployment" section in our official documentation at https://docs.ultralytics.com/hub. It offers a comprehensive walkthrough that should fit your needs.

If you encounter any specific issues or have further questions during the process, feel free to reach out here again. Happy optimizing! 🚀