Uploaded March 2021 | Updated December 2026, 1 day ago
This video explains another awesome Keras Code Example, this time implementing a cutting-edge technique for Data Augmentation. In my view, what makes MixUp so interesting is that it can be applied in data domains outside of images and Computer Vision. Say for NLP or Physiological data, it is very hard to define data augmentations and here is a great framework for getting started. You may also be interested in the video I made explaining MODALS - a recent ICLR 2021 paper exploring cutting-edge domain-agnostic data augmentation. Thanks for watching, please check out the rest of the Keras Code Examples playlist!
Follow Sayak Paul on Twitter: twitter.com/RisingSayak
Content Links:
Keras Code Example: keras.io/examples/vision/mixup
MixUp: arxiv.org/pdf/1710.09412.pdf
MODALS: openreview.net/forum?id=XjYgR6gbCEc
tf.random.gamma: tensorflow.org/api_docs/python/tf/random/gamma#args
Tensorflow Data Performance: tensorflow.org/guide/data_performance
Beta Distribution: en.wikipedia.org/wiki/Beta_distribution
Probability Distributions: en.wikipedia.org/wiki/Probability_distribution
Chapters:
0:00 Keras Code Examples!
0:44 MixUp Motivation
3:24 Standard Imports and Data Pipeline
6:48 Core Idea
12:44 Training the Models
14:07 Insights from Sayak
This video explains another awesome Keras Code Example, this time implementing a cutting-edge technique for Data Augmentation. In my view, what makes MixUp so interesting is that it can be applied in data domains outside of images and Computer Vision. Say for NLP or Physiological data, it is very hard to define data augmentations and here is a great framework for getting started. You may also be interested in the video I made explaining MODALS - a recent ICLR 2021 paper exploring cutting-edge domain-agnostic data augmentation. Thanks for watching, please check out the rest of the Keras Code Examples playlist!
Follow Sayak Paul on Twitter: twitter.com/RisingSayak
Content Links:
Keras Code Example: keras.io/examples/vision/mixup
MixUp: arxiv.org/pdf/1710.09412.pdf
MODALS: openreview.net/forum?id=XjYgR6gbCEc
tf.random.gamma: tensorflow.org/api_docs/python/tf/random/gamma#args
Tensorflow Data Performance: tensorflow.org/guide/data_performance
Beta Distribution: en.wikipedia.org/wiki/Beta_distribution
Probability Distributions: en.wikipedia.org/wiki/Probability_distribution
Chapters:
0:00 Keras Code Examples!
0:44 MixUp Motivation
3:24 Standard Imports and Data Pipeline
6:48 Core Idea
12:44 Training the Models
14:07 Insights from Sayak










