ChannelDropout augmentation (augmentations.dropout.channel_dropout)¶
class
albumentations.augmentations.dropout.channel_dropout.ChannelDropout
(channel_drop_range=(1, 1), fill_value=0, always_apply=False, p=0.5)
[view source on GitHub]
¶
Randomly Drop Channels in the input Image.
Parameters:
Name | Type | Description |
---|---|---|
channel_drop_range |
[int, int] |
range from which we choose the number of channels to drop. |
fill_value |
int, float |
pixel value for the dropped channel. |
p |
float |
probability of applying the transform. Default: 0.5. |
Targets: image
Image types: uint8, uint16, unit32, float32