ultralytics/yolov5

Data Augmentation

Closed this issue · 2 comments

Search before asking

Question

Hello friends,

My question is about Data Augmentation parameters. In the hyper parameters config file, if "mosaic" is set to 1.0, does it apply to all images in the batches? For example, if our batch size is 8, does it apply to all 8 images in the batch or apply just on one of them(1 from 8 images)?

Thanks.

Additional

No response

Hello! 😊

Great question about data augmentation with YOLOv5! When you set the "mosaic" to 1.0 in the hyperparameters config file, it indicates a probability. So with a value of 1.0, it attempts to apply the Mosaic augmentation to every image in your batch. However, do note that real-world application might slightly vary due to processing constraints or other augmentation interactions.

If you have more questions or need further clarification, don't hesitate to ask. Happy training!

👋 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 ⭐