-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
There seems to be a bug in the Resizing code:
| size = size[1], size[0] |
the swap is unnecessary and it should be size = size[0], size[1] given that docstring of Resize class states:
"""Resizes a list of (H x W x C) numpy.ndarray to the final size
The larger the original image is, the more times it takes to
interpolate
Args:
interpolation (str): Can be one of 'nearest', 'bilinear'
defaults to nearest
size (tuple): (width, height)
"""
and PILs Image.resize expects also size to be (width, height) not (height, width) as it is now.
Metadata
Metadata
Assignees
Labels
No labels