Skip to content

Resize sometimes fails #2517

@ag14774

Description

@ag14774

if (w <= h and w == size_w) or (h <= w and h == size_h):

The specific line above will sometimes cause the image to be returned unresized with no warning even when an explicit size (h,w) is given. This will also cause problems to the transform RandomResizedCrop.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions