examples/pytorch/semantic-segmentation/run_semantic_segmentation_no_trainer.py/RandomResize/__init__
class RandomResize:    def __init__(self, min_size, max_size=None):
        self.min_size = min_size
        if max_size is None:
            max_size = min_size
        self.max_size = max_size