-
Notifications
You must be signed in to change notification settings - Fork 326
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
Added support of segmentation mask in RandomShear Layer #2021
Added support of segmentation mask in RandomShear Layer #2021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just one small fix!
Thank you for the PR!
/gcbrun |
segmentation_masks = preprocessing.transform( | ||
images=segmentation_masks, | ||
transforms=transforms_y, | ||
interpolation=self.interpolation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops -- looks like we missed one here -- this should also be "nearest"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies. I missed that. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we missed one more little thing -- thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome -- thank you!
What does this PR do?
Related #1992
Add support of segmentation mask in Augmix layer. Here is the colab link for demo.
Output generated by demo:
Who can review?
@ianstenbit