icevision_GridDropout: GridDropout

Description Usage Arguments Value Targets Image types References

View source: R/icevision_albumentations.R

Description

GridDropout, drops out rectangular regions of an image and the corresponding mask in a grid fashion.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
icevision_GridDropout(
  ratio = 0.5,
  unit_size_min = NULL,
  unit_size_max = NULL,
  holes_number_x = NULL,
  holes_number_y = NULL,
  shift_x = 0,
  shift_y = 0,
  random_offset = FALSE,
  fill_value = 0,
  mask_fill_value = NULL,
  always_apply = FALSE,
  p = 0.5
)

Arguments

ratio

ratio

unit_size_min

unit_size_min

unit_size_max

unit_size_max

holes_number_x

holes_number_x

holes_number_y

holes_number_y

shift_x

shift_x

shift_y

shift_y

random_offset

random_offset

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

References

https://arxiv.org/abs/2001.04086


fastai documentation built on July 28, 2021, 5:06 p.m.