Mosaic
{, }
Paper:
Code:
{, }
Paper:
Code:
Recent research has shown there is still plenty of room to grow model performance through augmenting our training data. Roboflow has written extensively about data augmentation and has highlighted some of the recent advances that have made new models like YOLOv4 and YOLOv5 state of the art.
The mosaic augmentation was invented by Glenn Jocher earlier this year and was first released in YOLO v4.
It works by taking four source images and combining them together into one.
This does a few things:
It simulates four random crops (while maintaining the relative scale of your objects compared to the image) which can help your model perform better in cases of occlusion and translation.
It combines classes that may not be seen together in your training set (for example, if you have pictures of apples and pictures of oranges, but no pictures of apples with oranges in the same photo, mosaic will simulate that).
It varies the number of objects in your images (for example, if all of your images only contain one bounding box, the output of the mosaic will have between zero and four).
Aerial Imagery.
Real World Objects.
Low Object Distribution
Written Documents.
Large, Prominent Objects.
Fixed Location Objects.
n2 n0
θ