libffcv / ffcv

FFCV: Fast Forward Computer Vision (and other ML workloads!)
https://ffcv.io
Apache License 2.0
2.79k stars 180 forks source link

RandomResizedCrop transform fixes #288

Closed yvsriram closed 1 year ago

yvsriram commented 1 year ago
  1. Currently RandomResizedCrop when added to the image pipeline, silently resizes along the batch dimension
  2. ratio being passed as a tuple to np.log inside get_random_crop raises an exception like in Issue#279.