MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / RandomErasing

Class RandomErasing

timm_modified/timm/data/random_erasing.py:26–117  ·  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 This variant of RandomErasing is intended to be applied to either a batch or single image tensor after

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected