Getting started:
PyTorchRL API:
Tutorials:
Code examples:
Returns center cropped image Args: img: image to be center cropped dim: dimensions (width, height) to be cropped
Returns resize image by scale factor. This helps to retain resolution ratio while resizing. Args: img: image to be scaled factor: scale factor to resize