Skip to content

meet-minimalist/Visualize-CNN-Filters

Repository files navigation

Visualize-CNN-Filters

Visualizing the CNN Layer outputs and filters in Keras

In this notebook, we'll first visualize the output of each layers and visualize weights of layers. Later in the notebook, we'll see how the change in the properties of the input image activate the individual filters in model.

Step 1: Visualize the weights in each layer
Step 2: Visualize the output of individual filters in a given layer based on given input
Step 3: Visualize the maximization of weights for optimized input value

Results:

1. Visualizations at Filer no. 13 in some layers

2. Visualizations at Filer no. 50 in some layers

Reference: https://blog.keras.io/how-convolutional-neural-networks-see-the-world.html