From the course: Deep Learning with Python: Convolutional Neural Networks
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Augmenting image data in Python - Python Tutorial
From the course: Deep Learning with Python: Convolutional Neural Networks
Augmenting image data in Python
- [Person] In this video, we're going to look at how we can use Python and Keras to augment image data. So "Image Augmentation" is a fundamental technique used in deep learning to artificially expand the diversity of a training dataset without actually collecting more data. Like we did in the previous video, we're going to use the "Kaggle Dogs vs. Cats" dataset to illustrate how to augment image data, so before we begin, let's select a Kernel. All right, so in the previous video, we learned how to use the image dataset from directory utility function to import data, so we're going to use the same approach this time around, we're going to import the "dogs and cats" images that we talked about in that video, so let's go ahead and import our data. Once our import is complete, we are going to define a function called "display images," which we're going to use over and over again just to be able to preview the impact of the augmentations that we are going to perform in this tutorial. So…