Plotting filters and their effects on an image

Let's apply filters in two layers to two test images and see how that affects them:

image1 = test_images[0] plot_image(image1)

The output of the plot_image(image1) function is shown in the following image:

image2 = test_images[13]
plot_image(image2)

The output of image2 with filters applied is shown here:

Convolution layer 1: The following is the plot for weights for layer 1:

Filters from layer ...

Get Neural Network Programming with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.