icevision_GridDropout {fastai} | R Documentation |
GridDropout
Description
GridDropout, drops out rectangular regions of an image and the corresponding mask in a grid fashion.
Usage
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
[Package fastai version 2.2.2 Index]