Augmentation

Discover how data augmentation works and its benefits for training a CNN.

Chapter Goals:

  • Learn about data augmentation and its purpose
  • Apply data augmentation to image data
  • Standardize the image data

A. Data augmentation

Data augmentation is the process of artificially enlarging a dataset through image transformations. No matter how good a model is, it cannot perform at its fullest potential unless we have a large enough dataset. Although CIFAR-10 contains 50,000 training images, it would benefit our model if it were trained on more data. Rather than going through the process of obtaining new images and resizing them, we can instead perform transformations on the images (e.g. rotating or cropping) to manufacture "new" image data.

The transformations used are (from left to right): crop, horizontal flip, and rotation.
The transformations used are (from left to right): crop, horizontal flip, and rotation.

Using data augmentation, ...

Access this course and 1400+ top-rated courses and projects.