Get layer output during training
I'm using Keras 2.1.4 and want to show outputs of the middle layers of my network. I know that there is a function in Keras called get_layer(), but I can't get the output of it. How to do it?
I'm using Keras 2.1.4 and want to show outputs of the middle layers of my network. I know that there is a function in Keras called get_layer(), but I can't get the output of it. How to do it?
You need to get the tensor, not the layer instance. Just plot the names of your tensors and choose the one you need.