You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the YOLOv5 issues and discussions and found no similar questions.
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:
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.
👋 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: