Skip to content

RandomCrop bug #2028

@IvanBarabanau

Description

@IvanBarabanau

Bug description

There is a bug in defining image shape at RandomCrop. An input image has shapes [C, H, W], which makes buggy further logic, as number of channels is used instead of one of image shapes. Also seen in a test code.

Code snippet to reproduce the bug

Error traceback

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions