Discussions>Get layer output during training>

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?

2 votesJW330.00
1 Answers

You need to get the tensor, not the layer instance. Just plot the names of your tensors and choose the one you need.

Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?