Repository navigation
[REVIEW] Closes #490 -- fixes bug in hue jitter - #491
Conversation
|
Pull requests from external contributors require approval from a |
grlee77
left a comment
There was a problem hiding this comment.
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 ReportAll modified and coverable lines are covered by tests ✅
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 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@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 == 0then 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.