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

How do I convert Yolov8s.onnx to Yolov8s.hef? #321

Open
darrenearl opened this issue Nov 12, 2024 · 7 comments
Open

How do I convert Yolov8s.onnx to Yolov8s.hef? #321

darrenearl opened this issue Nov 12, 2024 · 7 comments

Comments

@darrenearl
Copy link

How do I compile the onnx of YOLOv8 to the hef file?
Do I need to modify the Python code?

@nina-vilela
Copy link
Contributor

Hi @darrenearl,

You only need to perform the conversion process if you have re-trained the model. Otherwise, you can download pre-trained models from our ModelZoo.

If you do need to go through the compilation process, I would recommend checking our Dataflor Compiler documentation available in the devzone section of our website. For any questions on the way, please check our forum.

@AlexBlack2202
Copy link

Hi @darrenearl,

You only need to perform the conversion process if you have re-trained the model. Otherwise, you can download pre-trained models from our ModelZoo.

If you do need to go through the compilation process, I would recommend checking our Dataflor Compiler documentation available in the devzone section of our website. For any questions on the way, please check our forum.

hello , do you have any guide for convert yolov8 classification to hailo8 , i do not see any document or example for that.

thank you

@darrenearl
Copy link
Author

ee any document or ex

I can't find the Guide too.How do I use my own Yolov8?Can you give me a guide?

@AlexBlack2202
Copy link

ee any document or ex

I can't find the Guide too.How do I use my own Yolov8?Can you give me a guide?

what is your model type? classification or object detection or obb or segmentation?

@darrenearl
Copy link
Author

object detection

object detection.

@nina-vilela
Copy link
Contributor

You can find the documentation for all of Hailo's tools here:
https://hailo.ai/developer-zone/documentation/

In the Hailo community, you will also find shared guides, this is an example for rpi5 but the compilation flow is the same for any host:
https://wiki.seeedstudio.com/tutorial_of_ai_kit_with_raspberrypi5_about_yolov8n_object_detection/

@AlexBlack2202
Copy link

AlexBlack2202 commented Nov 14, 2024

object detection

object detection.
you can read this

https://github.com/hailo-ai/hailo_model_zoo/blob/master/training/yolov8/README.rst

or this https://github.com/hailo-ai/hailo_model_zoo/blob/master/docs/GETTING_STARTED.rst

3 command

hailomz parse

hailomz optimize

hailomz compile

remember install hailo_model_zoo first

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

No branches or pull requests

3 participants