-
Notifications
You must be signed in to change notification settings - Fork 397
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
Remove AugPipe #1978
Remove AugPipe #1978
Conversation
How close are we to also removing our custom AugmentationSequential wrapper? |
Pretty close actually. If |
a018184
to
3cde2de
Compare
@ashnair1 is this waiting on kornia 0.7.4 for something? |
Yeah #2147 needs to be merged before this and that needs kornia 0.7.4. |
Note: 0.7.4 will be released by the end of September |
2d281ce
to
d60d6fb
Compare
This is good to go forward now |
Drop in coverage is due to some lines in our |
No, the Have removed |
Alternatively, convert our AugmentationSequential to an alias of Kornia's so you don't need to add any tests. Or I can do that in my PR, but my PR can't be merged without this PR. |
Making our |
Ah right. So we have to figure out how to fix or replace |
Can you clarify this? I can hack this to work. Would like to push forward on this PR, either by adding more tests or fixing compatibility. |
Turns out the test was incorrect. Our AugmentationSequential was changing the input batch itself and that's what we were testing. This PR should be good to go now. Though there does seem to be an issue with keepdim not being acknowledged correctly. |
Drop in coverage is for our from kornia.augmentation import AugmentationSequential
# Only include import redirects
__all__ = ('AugmentationSequential',) I'll figure out the deprecation stuff in another PR. |
Well this is funny. The documentation tests are failing because it's trying to document Kornia's .. automodule:: torchgeo.transforms
:exclude-members: AugmentationSequential |
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.
Thanks again for all your work on wrangling the sample dicts to have a consistent format! I'll start work on deprecation and type hints.
The next version of kornia (
0.7.3
) will contain 2 fixes (kornia/kornia#2846, kornia/kornia#2856) that will allow us to drop AugPipe and have detection only depend on kornia'sAugmentationSequential
.