MATLAB: How to see the output of the maxpooling layer

cnnconvolutional neural network

Hi! Is there a way to see the outputs of my Layers in Convolutional Neural Network.
So to start off, I created a Convolutional Neural Network and I want to see the outputs for each Layers. For example, I have my maxPooling2dLayer and I want to know how many feature maps it produced and what are the values of each feature maps.

Best Answer

Have you tried using this features = activations(network,input ,layer number)
Specify the network name, your input which would be an image or a feature map, and the number of the layer you whose output you want to check for example 2 for the second layer.
Related Question