-
-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
augmentation in validation #12952
Comments
Hello! 🌟 You're right; typically, data augmentation methods are applied only during the training phase to help the model generalize better by providing a diverse set of samples. In the validation (and testing) phase, we generally do not apply these augmentations because we want to evaluate the model on the data as close to the original distribution as possible. Resize might be the only common transformation applied to validation data to match the input size expected by the model. In YOLOv5, the validation phase does not use the extensive augmentation techniques applied during training, adhering to the standard practice of evaluating on unaltered data, aside from necessary resizing or scaling. If you need to adjust validation transformations, you might look into the dataset configuration files but keep in mind the goal of validation is to assess performance under standard conditions. Happy coding! |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ |
Search before asking
Question
Hello friends,
I have a question about data augmentation. I know that in training phase, we may augment images and control these methods with some hyper parameters. but I want to know, Are these methods apply in validation phase, too? in my opinion the answer is negative. maybe resize might apply on images.
Thanks.
Additional
No response
The text was updated successfully, but these errors were encountered: