The algorithm tries to overcome drawbacks of [Cutout], [Random Erasing], and [Hide and Seek](Cutout], [Random Erasing], and [Hide and Seek.md) that are prone to deleting important information entirely or leaving it untouched without making it harder for the algorithm to learn.
To handle this, GridMask creates multiple blacked-out regions in evenly spaced grids to maintain a good balance between deletion and retention of critical information
The number of masking grids and their sizes are tuneable