MCPcopy Create free account
hub / github.com/CDTrans/CDTrans / RandomErasing

Class RandomErasing

datasets/preprocessing.py:5–49  ·  view source on GitHub ↗

Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https://arxiv.org/pdf/1708.04896.pdf Args: probability: The probability that the Random Erasing operation will be performed. sl: Minimu

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

make_dataloader_PseudoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected