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

Update RandAugment example to Keras 3 #1683

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Update RandAugment example to Keras 3 #1683

merged 1 commit into from
Dec 13, 2023

Conversation

sachinprasadhs
Copy link
Collaborator

Updated RandAugment to Keras 3 and made below changes.

  • Removed the dependency of imgaug package and replaced it with keras_cv Randomaugment implementation.
  • Removed the usage of function augment, since it is no longer required.
  • Removed the usage of tf.py_function and it's discerption , and changed the implementation to RandAugment layer.
  • Changed saved weight file format to .weights.h5 for Keras 3.
  • Removed referenced notebook of the author, since it uses Keras 2 implementation.

Copy link
Contributor

@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! 👍

@fchollet fchollet merged commit f5f2025 into master Dec 13, 2023
8 checks passed
SuryanarayanaY pushed a commit to SuryanarayanaY/keras-io that referenced this pull request Jan 19, 2024
@sachinprasadhs sachinprasadhs deleted the randaugment-keras3 branch February 1, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants