-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Remove performance workaround for mask resize #6729
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
Merged
datumbox
merged 8 commits into
pytorch:main
from
datumbox:prototype/remove_resize_workaround
Oct 10, 2022
Merged
Remove performance workaround for mask resize #6729
datumbox
merged 8 commits into
pytorch:main
from
datumbox:prototype/remove_resize_workaround
Oct 10, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NicolasHug
approved these changes
Oct 10, 2022
pmeier
approved these changes
Oct 10, 2022
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.
Could you also remove the sample inputs that tested this specific branch:
vision/test/prototype_transforms_kernel_infos.py
Lines 252 to 260 in af54e56
# We have a speed hack in place for nearest interpolation and single channel images (grayscale) | |
for image_loader in make_image_loaders( | |
sizes=["random"], | |
color_spaces=[features.ColorSpace.GRAY], | |
extra_dims=VALID_EXTRA_DIMS, | |
): | |
yield ArgsKwargs( | |
image_loader, size=[min(image_loader.image_size) + 1], interpolation=F.InterpolationMode.NEAREST | |
) |
Otherwise LGTM if CI is green.
pmeier
reviewed
Oct 10, 2022
facebook-github-bot
pushed a commit
that referenced
this pull request
Oct 17, 2022
Summary: * Remove performance workaround for mask resize * Fix linter * bug fixes * remove unnecessary import * Fixing linter Reviewed By: NicolasHug Differential Revision: D40427473 fbshipit-source-id: e7e632069c62cc4e53c31571f0c177d68ee61c3e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removing performance workaround now that the pytorch/pytorch#83840 is resolved.