Skip to content

torchvision transforms to take list of PIL images instead of a single PIL image #610

@quantummole

Description

@quantummole

For some problems like segmentation we would like the same random transform to be applied on the input and the masks.
Is it possible to add a check inside the call method to check if the input is a list then apply the same transformation(with same values) for each element of the list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions