CoarseDropout of the rectangular regions in the image.

icevision_CoarseDropout(
  max_holes = 8,
  max_height = 8,
  max_width = 8,
  min_holes = NULL,
  min_height = NULL,
  min_width = NULL,
  fill_value = 0,
  mask_fill_value = NULL,
  always_apply = FALSE,
  p = 0.5
)

Arguments

max_holes

max_holes

max_height

max_height

max_width

max_width

min_holes

min_holes

min_height

min_height

min_width

min_width

fill_value

fill_value

mask_fill_value

mask_fill_value

always_apply

always_apply

p

p

Value

None

Targets

image, mask

Image types

uint8, float32

Reference

| https://arxiv.org/abs/1708.04552 | https://github.com/uoguelph-mlrg/Cutout/blob/master/util/cutout.py | https://github.com/aleju/imgaug/blob/master/imgaug/augmenters/arithmetic.py