Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_MaskDropout

MaskDropout


Description

Image & mask augmentation that zero out mask and image regions corresponding

Usage

icevision_MaskDropout(
  max_objects = 1,
  image_fill_value = 0,
  mask_fill_value = 0,
  always_apply = FALSE,
  p = 0.5
)

Arguments

max_objects

max_objects

image_fill_value

image_fill_value

mask_fill_value

mask_fill_value

always_apply

always_apply

p

p

Details

to randomly chosen object instance from mask. Mask must be single-channel image, zero values treated as background. Image can be any number of channels. Inspired by https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/114254

Value

None


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.