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.
Resize inputs and optionally outputs by cropping or interpolating.