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

Add random_posterization processing layer #20688

Merged
merged 3 commits into from
Dec 27, 2024

Conversation

shashaka
Copy link
Contributor

@shashaka shashaka commented Dec 25, 2024

I implemented the RandomPosterization image processing feature before working on rand_augment, as it includes related image processing functionalities.

Here is my gist

@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 14 lines in your changes missing coverage. Please review.

Project coverage is 81.95%. Comparing base (f54c127) to head (1cc6026).

Files with missing lines Patch % Lines
...essing/image_preprocessing/random_posterization.py 76.66% 8 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20688      +/-   ##
==========================================
- Coverage   81.96%   81.95%   -0.01%     
==========================================
  Files         545      546       +1     
  Lines       50831    50894      +63     
  Branches     7861     7869       +8     
==========================================
+ Hits        41663    41712      +49     
- Misses       7265     7273       +8     
- Partials     1903     1909       +6     
Flag Coverage Δ
keras 81.79% <77.77%> (-0.01%) ⬇️
keras-jax 64.00% <77.77%> (+0.04%) ⬆️
keras-numpy 58.92% <71.42%> (+0.03%) ⬆️
keras-openvino 29.93% <31.74%> (+<0.01%) ⬆️
keras-tensorflow 64.72% <77.77%> (+0.01%) ⬆️
keras-torch 63.85% <77.77%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@fchollet fchollet left a comment

Choose a reason for hiding this comment

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

Very nice -- thank you for the contribution!

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Dec 27, 2024
@fchollet fchollet merged commit be1191f into keras-team:master Dec 27, 2024
7 checks passed
@google-ml-butler google-ml-butler bot removed ready to pull Ready to be merged into the codebase kokoro:force-run labels Dec 27, 2024
@shashaka shashaka deleted the random_posterization branch December 28, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants