hunk.code_window:             scale_size = tuple([int(x / crop_pct) for x in img_size])
       else:
           scale_size = int(math.floor(img_size / crop_pct))
       tfl = [
           transforms.Resize(scale_size, Image.BILINEAR if interpolation == 'bilinear' else Image.BICUBIC),
           transforms.CenterCrop(img_size),
       ]
       if use_prefetcher:
           # prefetcher and collate will handle tensor conversion and norm
           tfl += [ToNumpy()]
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         transforms.Resize(scale_size, _pil_interp(interpolation)),
  
hunk.file_path: data/transforms.py
hunk.type: replace
file: from scheduler.cosine_lr import CosineLRScheduler
  from scheduler.plateau_lr import PlateauLRScheduler
  from scheduler.step_lr import StepLRScheduler
  from scheduler.tanh_lr import TanhLRScheduler
  from scheduler.scheduler_factory import create_scheduler