# 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 and (optionally) targets, dropping the same random rows and columns from all images and targets in a batch.

Classes

 ColOut Drops a fraction of the rows and columns of an input image and (optionally) a target image. ColOutTransform 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.