composer.algorithms.colout#
Modules
Core ColOut classes and functions. |
Drops a fraction of the rows and columns of an input image. If the fraction of rows/columns dropped isnโt too large, this does not significantly alter the content of the image, but reduces its size and provides extra variability.
See the Method Card for more details.
Functions
Applies ColOut augmentation to a batch of images and (optionally) targets, dropping the same random rows and columns from all images and targets in a batch. |
Classes
Drops a fraction of the rows and columns of an input image and (optionally) a target image. |
|
Torchvision-like transform for performing the ColOut augmentation, where random rows and columns are dropped from up to two Torch tensors or two PIL images. |