-
Notifications
You must be signed in to change notification settings - Fork 64
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
[REVIEW] Closes #490 -- fixes bug in hue jitter #491
Conversation
Pull requests from external contributors require approval from a |
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, @benlansdell! This looks good to me.
cc @shekhardw for visibility
ok to test |
/ok to test |
CI will be fixed shortly once #492 merges. |
/merge |
/ok to test |
Codecov ReportBase: 92.95% // Head: 92.95% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #491 +/- ##
=============================================
Coverage 92.95% 92.95%
=============================================
Files 130 130
Lines 9775 9775
=============================================
Hits 9086 9086
Misses 689 689
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@jakirkham, @grlee77, there were some test failures for Just posting for awareness. |
Thanks AJ! 🙏 Yeah we are discussing this offline |
This PR fixes a small bug in hue color jitter, as described in Issue #490. In images of all gray, some or all pixels are set to black when they shouldn't be. Looking at the CUDA kernel, it seems like the issue lies on line 208 of cuda_kernel_source.py.
Currently in the kernel if
s == 0
then it sets the whole output to zero. But HSV is only black ifv == 0
, not s. So line 208 is here changed to:First PR here, so let me know what else is needed! Thanks.