![]() Training the CNN on this randomly transformed batch (i.e., the original data itself is not used for training).Replacing the original batch with the new, randomly transformed batch.Taking this batch and applying a series of random transformations to each image in the batch (including random rotation, resizing, shearing, etc.).Accepting a batch of images used for training.While the word “augment” means to make something “greater” or “increase” something (in this case, data), the Keras ImageDataGenerator class actually works by: Only 5% of respondents answered this trick question “correctly” (at least if you’re using Keras’ ImageDataGenerator class).Īgain, it’s a trick question so that’s not exactly a fair assessment, but here’s the deal: Here are the results: Figure 1: My twitter poll on the concept of Data Augmentation. The question was simple - data augmentation does which of the following? Knowing that I was going to write a tutorial on data augmentation, two weekends ago I decided to have some fun and purposely post a semi-trick question on my Twitter feed. I’ll also dispel common confusions surrounding what data augmentation is, why we use data augmentation, and what it does/does not do. In today’s tutorial, you will learn how to use Keras’ ImageDataGenerator class to perform data augmentation. Click here to download the source code to this post
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |