def __call__(self, src):
    'Augmenter body'
    sizes = (src.shape[0], src.shape[1], self.size[1], self.size[0])
    return imresize(src, *self.size, interp=_get_interp_method(self.interp, sizes))
Augmenter body
def __call__(self, src):
    
    sizes = (src.shape[0], src.shape[1], self.size[1], self.size[0])
    return imresize(src, *self.size, interp=_get_interp_method(self.interp, sizes))