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 aug_mix processing layer #20759

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Add aug_mix processing layer #20759

merged 4 commits into from
Jan 15, 2025

Conversation

shashaka
Copy link
Contributor

@shashaka shashaka commented Jan 14, 2025

I have implemented the AugMix image processing feature. Please let me know if any further corrections or improvements are required.

here is gist

@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 6 lines in your changes missing coverage. Please review.

Project coverage is 81.97%. Comparing base (e010829) to head (d997fa7).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...ayers/preprocessing/image_preprocessing/aug_mix.py 93.93% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20759      +/-   ##
==========================================
+ Coverage   81.94%   81.97%   +0.02%     
==========================================
  Files         553      555       +2     
  Lines       51536    51758     +222     
  Branches     7978     8008      +30     
==========================================
+ Hits        42231    42427     +196     
- Misses       7363     7378      +15     
- Partials     1942     1953      +11     
Flag Coverage Δ
keras 81.79% <94.11%> (+0.02%) ⬆️
keras-jax 64.09% <94.11%> (+0.11%) ⬆️
keras-numpy 58.99% <90.19%> (+0.14%) ⬆️
keras-openvino 29.94% <24.50%> (+0.12%) ⬆️
keras-tensorflow 64.80% <94.11%> (+0.13%) ⬆️
keras-torch 64.08% <94.11%> (+0.05%) ⬆️

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.

Thanks for the PR! Great work.

@shashaka
Copy link
Contributor Author

@fchollet
I have updated the source code based on your guidance. Please let me know if any further corrections are needed.

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.

LGTM, 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 Jan 15, 2025
@fchollet fchollet merged commit 0454f06 into keras-team:master Jan 15, 2025
9 of 10 checks passed
@google-ml-butler google-ml-butler bot removed awaiting review ready to pull Ready to be merged into the codebase labels Jan 15, 2025
@shashaka shashaka deleted the aug_mix branch January 15, 2025 23:20
shashaka added a commit to shashaka/keras that referenced this pull request Jan 16, 2025
* Add implementation for AugMix

* Update implementation for aug_mix

* Update description for aug_mix

* Fix some issues that was from review
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.

5 participants