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 training status condition during image processing #20677

Merged
merged 4 commits into from
Dec 22, 2024

Conversation

shashaka
Copy link
Contributor

I have added a training condition to prevent certain image processing steps from being applied during the inference phase.

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2024

Codecov Report

Attention: Patch coverage is 79.43262% with 29 lines in your changes missing coverage. Please review.

Project coverage is 81.97%. Comparing base (0d3ba37) to head (0f6e7e0).

Files with missing lines Patch % Lines
...s/preprocessing/image_preprocessing/random_crop.py 68.75% 5 Missing and 5 partials ⚠️
...eprocessing/image_preprocessing/random_rotation.py 0.00% 10 Missing ⚠️
.../preprocessing/image_preprocessing/solarization.py 62.50% 4 Missing and 2 partials ⚠️
...s/preprocessing/image_preprocessing/random_flip.py 93.33% 0 Missing and 1 partial ⚠️
...ocessing/image_preprocessing/random_translation.py 94.11% 0 Missing and 1 partial ⚠️
...s/preprocessing/image_preprocessing/random_zoom.py 96.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20677      +/-   ##
==========================================
- Coverage   81.98%   81.97%   -0.02%     
==========================================
  Files         544      544              
  Lines       50738    50751      +13     
  Branches     7842     7851       +9     
==========================================
+ Hits        41599    41604       +5     
- Misses       7249     7252       +3     
- Partials     1890     1895       +5     
Flag Coverage Δ
keras 81.81% <77.30%> (-0.02%) ⬇️
keras-jax 63.94% <73.04%> (-0.01%) ⬇️
keras-numpy 58.87% <68.79%> (-0.02%) ⬇️
keras-openvino 29.94% <2.83%> (-0.01%) ⬇️
keras-tensorflow 64.69% <68.79%> (-0.02%) ⬇️
keras-torch 63.79% <73.04%> (-0.01%) ⬇️

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.

LGTM -- thank you!

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Dec 22, 2024
@fchollet fchollet merged commit 3dd958b into keras-team:master Dec 22, 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 22, 2024
@shashaka shashaka deleted the training_condition branch December 22, 2024 23:20
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