The steps are as follows:
- Download the necessary libraries using the following lines of code. The output must result in a line that says Using TensorFlow backend, as shown in the screenshot that follows:
%matplotlib inlinefrom os import listdirfrom os.path import isfile, joinimport matplotlib.pyplot as pltimport matplotlib.image as mpimgimport numpy as npfrom keras.models import Sequentialfrom keras.layers import Dense, Dropout, Activation, Flatten, Conv2Dfrom keras.optimizers import Adamfrom keras.layers.normalization import BatchNormalizationfrom keras.utils import np_utilsfrom keras.layers import MaxPooling2Dfrom keras.preprocessing.image import ImageDataGenerator
The importing of the libraries is as shown:
- Print and ...