Downloads · 30 days
18
2% of all-time downloads
keras-io/CutMix_data_augmentation_for_image_classification
CutMix_data_augmentation_for_image_classification is a image classification model from keras-io. Use it when you need a label for an image. It is set up for tf-keras.
Downloads · 30 days
18
2% of all-time downloads
All-time downloads
889
Public
Repo size
12.4 MB
Likes
3
Public
Click a slice to open those files.
.v22.3 MB · 42%
From the Hugging Face model README
The full credit goes to: Sayan Nath
CutMix is a data Augmentation strategy where some portion of the training example is removed and pasted with the content from other images in the training set. The labels are also mixed based on the proportion of the pixels that were combined. The full paper is at https://arxiv.org/pdf/1905.04899.pdf by Yun et. al., 2019.
Here are a few examples of augmented images.
The Data augmentation is applied to the CIFAR-10 Data set. The model used here is the Resnet-20 with Categorical Cross-Entropy loss.
The following hyperparameters were used during training:
After 20 Epocs, the accuracy of the model trained on the CutMix augmented data is 79.61%, while the accuracy of the model trained on the original data is 75.62%. I also found that the training on the original data was slightly faster.
