Skip to content

Hi, question about data preprocessing step. #2

@shoutOutYangJie

Description

@shoutOutYangJie
mask = self.affine_transform(mask,affine1);
mask = self.affine_transform(mask, affine_inverse1) # convert truncated pixels to 0

why do you convert warped mask to another mask by "grid sample". Can you use the initial originial mask variable?
At the annotation, you said " convert truncated pixels to 0", but "grid sample" uses bilinear and it can't get binary output.

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