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

YOLOv5s #53

Open
m7md5303 opened this issue Dec 3, 2024 · 6 comments
Open

YOLOv5s #53

m7md5303 opened this issue Dec 3, 2024 · 6 comments
Labels
question Further information is requested

Comments

@m7md5303
Copy link

m7md5303 commented Dec 3, 2024

Is your flow valid only for face recognition? In other words, I want to deploy YOLOv5s on ZCU102 but as you know it is for object detection not face recognition. Can I train your network for object detection or should I edit YOLOv5 before the deployment?
Thanks in adavnce

@m7md5303 m7md5303 added the question Further information is requested label Dec 3, 2024
@m7md5303 m7md5303 closed this as completed Dec 3, 2024
Repository owner deleted a comment from github-actions bot Dec 4, 2024
@sefaburakokcu sefaburakokcu reopened this Dec 4, 2024
@sefaburakokcu
Copy link
Owner

Hi @m7md5303,

Thank you for your question!

The repository is indeed for object detection, and we specifically focused on a single-class object detection task: face detection. However, you can modify the number of classes and use your own dataset to train the model for your specific object detection task.

That said, please note that we used a simplified YOLO model to ensure compatibility with FINN for deployment purposes. As a result, the YOLOv5 model architecture might not be directly compatible without additional modifications. You may need to adjust the model architecture or adapt it to work with FINN if you plan to deploy YOLOv5 on the ZCU102.

@m7md5303
Copy link
Author

m7md5303 commented Dec 4, 2024

@sefaburakokcu Thank you very much for this clarifying answer. I will then try using your network after these small modifications.
Best Regards

@lilheng
Copy link

lilheng commented Dec 6, 2024

Hi @sefaburakokcu, I am currently trying to quantize a tiny yolo model 3 with generic object detection that will be deployed onto FINN and eventually on Kria FPGA board. I have trained the model using this repository, but I am not sure how does the quantization of the model occur.
Are there any help you can offer ?

@m7md5303
Copy link
Author

@sefaburakokcu would you please provide the code for the LPYOLO network for retratining on custom datset. I would appreciate it if you made it available.
Thanks in advance

@sefaburakokcu
Copy link
Owner

Hi @m7md5303,

You can run

python train.py --data your_dataset.yaml --cfg models/hub/yolov1-tiny-quant.yaml --weights '' --batch-size 128

for training LPYOLO on your custom dataset. You should also update number of classes in yolov1-tiny-quant.yaml according to your dataset.

@m7md5303
Copy link
Author

m7md5303 commented Feb 24, 2025

Many thanks, Mr. @sefaburakokcu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants