composer.algorithms.progressive_resizing#

Modules

composer.algorithms.progressive_resizing.progressive_resizing

Core Progressive Resizing classes and functions.

Apply Fastaiโ€™s progressive resizing data augmentation to speed up training.

Progressive resizing initially reduces input resolution to speed up early training. Throughout training, the downsampling factor is gradually increased, yielding larger inputs up to the original input size. A final finetuning period is then run to finetune the model using the full-sized inputs.

See the Method Card for more details.

Functions

resize_batch

Resize inputs and optionally outputs by cropping or interpolating.

Classes

ProgressiveResizing

Apply Fastai's progressive resizing data augmentation to speed up training.