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
This feature is an enhancement that can be added to our data augmentation pipeline.
Mosaic Transform represents a new data augmentation method that mixes 4 training images: 4 different contexts are mixed in one single image. It has been successfully used in both YOLOv4 and YOLOv5.
Combining several images having different sizes is clever idea because the model will learn to predict with several images with different scaling. A kind of progressive resizing but done exclusively on the augmented images while the rest of the images are trained with their original sizes in case we only apply the data augmentation on a certain percentage of the total images.
Here is a link to the definition of the mosaic augmentation. In case we implement something similar, we should discard the transform they use at the end of the method namely random_perspective because additional transforms can added in the IceVision transforms pipeline.
I'm currently working on this, reopening. My implementation will be manual as albumentations dont allow this at the moment: albumentations-team/albumentations#677
🚀 Feature
This feature is an enhancement that can be added to our data augmentation pipeline.
Mosaic Transform represents a new data augmentation method that mixes 4 training images: 4 different contexts are mixed in one single image. It has been successfully used in both YOLOv4 and YOLOv5.
Combining several images having different sizes is clever idea because the model will learn to predict with several images with different scaling. A kind of progressive resizing but done exclusively on the augmented images while the rest of the images are trained with their original sizes in case we only apply the data augmentation on a certain percentage of the total images.
Here is a link to the definition of the mosaic augmentation. In case we implement something similar, we should discard the transform they use at the end of the method namely
random_perspective
because additional transforms can added in the IceVision transforms pipeline.def load_mosaic(self, index)
The text was updated successfully, but these errors were encountered: