Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Conversation

abhinavnmagic
Copy link
Contributor

Ultralytics by default sets the validation batch size as twice the training batch size. This leads to OOM with our integration for YoloV8 m,l and x models.

The fix is to set the validation batch size to be one-fourth of the training batch size.
I tested the changes while training yolov8 models.

bfineran
bfineran previously approved these changes Jun 16, 2023
@anmarques anmarques requested a review from bfineran June 16, 2023 12:40
@anmarques anmarques merged commit a6fdb7f into main Jun 20, 2023
@anmarques anmarques deleted the abhinav/fix/lower-val-batch-size branch June 20, 2023 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants