October 2018
Intermediate to advanced
472 pages
10h 57m
English
Now, let's build a classifier using the same architecture as the deep convolution model with pooling and Dropout, but on augmented data.
First, define the features of the ImageDataGenerator, as follows:
train_datagen = ImageDataGenerator( rescale = 1./255, zoom_range = 0.2, horizontal_flip = True)
We have defined that the ImageDataGenerator can perform the following operations
The next step is to fit this generator on the train data:
train_datagen.fit(X_train)
Read now
Unlock full access