Problem with augmentation #17916
-
Hello YOLO community! I have trained the YOLO11 medum model to detect ocean eddies from satellite SAR images. I have two classes based on eddy rotation: cyclones and anticyclones: So far so good, but I have limited number of images and I am trying to implement augmentation to increase my training sample and metrics. My question is the following: I want to flip images in the training dataset prior to the model training and change the classes in the corresponding labels and then add this data to the training dataset. Is it a proper way to increase my training sample? Or maybe there are some other ways to tackle this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
👋 Hello @NS-Nik, thank you for sharing your question with the Ultralytics community 🚀! It sounds like you're working on a fascinating application of YOLO for ocean eddy detection 🌊. Your description of the augmentation challenge involving flipping and class changes is quite insightful. If this is a custom training ❓ question, providing as much detail as possible—including any specific examples of your current dataset, training scripts, and results so far—can help us understand the context better. Also, ensuring you're following best practices for training (such as proper dataset preparation and augmentation techniques) can greatly improve your results. Alternatively, if you’re encountering issues with augmentation behavior in the framework that might indicate a 🐛 bug, we recommend including a minimum reproducible example (MRE) to help pinpoint the issue more effectively. Make sure that you’re using the latest version of the This is an automated response to provide you with an overview of potential resources and actions, but don’t worry—a member of our Ultralytics team will review your discussion soon to assist further. Keep up the great work, and thank you for contributing to the Ultralytics community! 🚀 |
Beta Was this translation helpful? Give feedback.
-
@NS-Nik thank you for your question! Flipping the dataset and updating the labels accordingly is a valid approach to augment your training data while addressing the class change issue. Alternatively, you can consider using augmentation techniques like rotation, cropping, scaling, or color adjustments that do not alter the fundamental nature of the classes. Tools like Albumentations can help you implement these transformations effectively. For more details on augmentation techniques, refer to our guide. |
Beta Was this translation helpful? Give feedback.
@NS-Nik thank you for your question! Flipping the dataset and updating the labels accordingly is a valid approach to augment your training data while addressing the class change issue. Alternatively, you can consider using augmentation techniques like rotation, cropping, scaling, or color adjustments that do not alter the fundamental nature of the classes. Tools like Albumentations can help you implement these transformations effectively. For more details on augmentation techniques, refer to our guide.