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

More backend agnostic in cutmix and mixup file #593

Merged
merged 3 commits into from
Jul 24, 2023

Conversation

cosmo3769
Copy link
Contributor

@cosmo3769 cosmo3769 commented Jul 24, 2023

Made CutMix data augmentation for image classification and MixUp augmentation for image classification more backend agnostic. Suggested by @soumik12345.

Attaching the notebooks below:

Now, In these two examples, only two methods from tensorflow are used except tf.data and tf.image:

  • tf.random.gamma
  • tf.clip_by_value

I am willing to implement these two making separate PR for each.

@fchollet

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.

Thanks for the PR!

@cosmo3769 cosmo3769 requested a review from fchollet July 24, 2023 16:36
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, thanks!

@fchollet fchollet merged commit 73381e4 into keras-team:main Jul 24, 2023
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