-
Notifications
You must be signed in to change notification settings - Fork 382
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
refactor: Introduces img + target transforms in Datasets #750
Conversation
Codecov Report
@@ Coverage Diff @@
## main #750 +/- ##
==========================================
+ Coverage 96.09% 96.20% +0.10%
==========================================
Files 129 129
Lines 4794 4799 +5
==========================================
+ Hits 4607 4617 +10
+ Misses 187 182 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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 for the PR
Following up on #352, this PR introduces the following modifications:
SampleCompose
(to compose sample_transforms) andImgTransformation
(to wrap an img_transform as a sample_transform) utilsWith this PR, the way to pass thransforms becomes the following:
img_transforms
sample_transforms
:sample_transforms
and when there is one that is only implemented for image, wrap it withImageTransform
Any feedback is welcome!