Randomly selects a rectangle region in an image and randomizes its pixels.

RandomErasing(p = 0.5, sl = 0, sh = 0.3, min_aspect = 0.3, max_count = 1)

Arguments

p

probability

sl

sl

sh

sh

min_aspect

minimum aspect

max_count

maximum count

Value

None