Skip to content

Augmentation behavior intended? #108

@manuelknott

Description

@manuelknott

Hi,

eraser_transform erases patches in the right image only. The valid mask for those patches is not set to 0 which is fine because only the left image GT gets supervised. However, eraser_transform is called before spatial_transform which includes 50% chance of horizontal flip where left and right images are swapped. Thus, erased patches can end up in the left image.

In my view, validity masks should be 0 for erased patches in the left image.

I would like to clarify if this is the intended behavior and if so, what was the idea behind this.

Thank you!

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