-
Notifications
You must be signed in to change notification settings - Fork 286
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
Add torchvision.transforms v1/v2 independent ToTensor() implementation #1718
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1718 +/- ##
==========================================
- Coverage 84.88% 84.88% -0.01%
==========================================
Files 157 157
Lines 6537 6543 +6
==========================================
+ Hits 5549 5554 +5
- Misses 988 989 +1 ☔ View full report in Codecov by Sentry. |
Additional Changes
|
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.
LGTM! Feel free to resolve and merge my comment.
Changes
ToTensor()
transform that is independent of the importedtorchvision.transforms
version (v1 or v2)lightly.transforms
modulenp.uint8
totorch.float32
)