Skip to content
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 logging from digital pathology transforms #297

Merged

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented May 31, 2022

closes #114

Removes the try/except wrappers with logging of errors from the digital pathology transforms added in #100.

Also renames a variable to_cupy to to_numpy instead to reflect its actual function.

For reviewers: There appear to be many lines changed here, but it is mostly a change in indentation due to removal of try/except blocks with _logger calls. Also some nested function definitions within color_jitter were moved outside of that function.

moved helper function declarations for color_jitter
This flag controls if the array is transferred back to the host
@grlee77 grlee77 added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels May 31, 2022
@grlee77 grlee77 requested a review from a team as a code owner May 31, 2022 19:01
@grlee77 grlee77 added this to the v22.06.00 milestone May 31, 2022
Copy link
Contributor

@gigony gigony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks @grlee77 for working on this on behalf of @shekhardw !

@jakirkham jakirkham self-requested a review June 1, 2022 22:35
@jakirkham
Copy link
Member

@gpucibot merge

@ajschmidt8 ajschmidt8 merged commit 50c3c21 into rapidsai:branch-22.06 Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove logging from DP transforms
4 participants