Random Erasing
Random Erasing
Random Erasing is a data augmentation method for training the convolutional neural network (CNN), which randomly selects a rectangle region in an image and erases its pixels with random values. In this process, training images with various levels of occlusion are generated, which reduces the risk of over-fitting and makes the model robust to occlusion. Random Erasing is parameter learning free, easy to implement, and can be integrated with most of the CNN-based recognition models. Random Erasing is complementary to commonly used data augmentation techniques such as random cropping and flipping, and can be implemented in various vision tasks, such as image classification, object detection, semantic segmentation.

In the [Albumentations](https://albumentations.ai/) library, there is a generalization of RandomErasing called [CoarseDropout](https://albumentations.ai/docs/api_reference/augmentations/dropout/coarse_dropout/?h=coa#albumentations.augmentations.dropout.coarse_dropout.CoarseDropout), which allows masking an arbitrary number of regions of rectangular shape.

It could be applied to images, segmentation masks, and key points.

[Documentation for CoarseDropout](https://albumentations.ai/docs/api_reference/augmentations/dropout/coarse_dropout/?h=coa#albumentations.augmentations.dropout.coarse_dropout.CoarseDropout)
Random Erasing Data Augmentation
https://paperswithcode.com/paper/random-erasing-data-augmentation
Random Erasing Data Augmentation