Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, question about data preprocessing step. #2

Open
shoutOutYangJie opened this issue Oct 2, 2020 · 0 comments
Open

Hi, question about data preprocessing step. #2

shoutOutYangJie opened this issue Oct 2, 2020 · 0 comments

Comments

@shoutOutYangJie
Copy link

shoutOutYangJie commented Oct 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant