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

max_batches in yolov4-custom.cfg #8871

Open
TidelyPom opened this issue Nov 16, 2023 · 2 comments
Open

max_batches in yolov4-custom.cfg #8871

TidelyPom opened this issue Nov 16, 2023 · 2 comments

Comments

@TidelyPom
Copy link

Hi.
I am training for custom objects of very different sizes in the image. As recommended I am using yolov4-custom.cfg instead of yolo-obj.cfg but there is something very different in yolov4-custom.cfg from yolo-obj.cfg : on lines 20 and 22 the values are 500500 for max_batches and 400000, 450000 for steps instead of 6000 and 4800, 5400. Is this the recommended values ? I have only 2 types of objects now and maybe 3 in the future. The problem with these values is that the training time is estimated at 450 hours, which is a bit long.
Thank you

@stephanecharette
Copy link
Collaborator

You need to re-read the steps on training. See https://github.com/hank-ai/darknet#training

@stephanecharette
Copy link
Collaborator

Also of possible interest to you: https://www.ccoderun.ca/programming/yolo_faq/#configuration_template

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

2 participants