composer.algorithms.colout#

Modules

composer.algorithms.colout.colout

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

colout_batch

Applies ColOut augmentation to a batch of images, dropping the same random rows and columns from all images in a batch.

Classes

ColOut

Drops a fraction of the rows and columns of an input image.

ColOutTransform

Torchvision-like transform for performing the ColOut augmentation, where random rows and columns are dropped from a single image.