Table Of Contents
Table Of Contents

mxnet.image.ForceResizeAug

class mxnet.image.ForceResizeAug(size, interp=2)[source]

Force resize to size regardless of aspect ratio

Parameters
  • size (tuple of (int, int)) – The desired size as in (width, height)

  • interp (int, optional, default=2) – Interpolation method. See resize_short for details.

__init__(size, interp=2)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(size[, interp])

Initialize self.

dumps()

Saves the Augmenter to string