I want to visualize weights in convolutional layers to watch how they change.
But I can not find a way to access weights in convolutional layers in tf.layers.conv2d
Thank you
I want to visualize weights in convolutional layers to watch how they change.
But I can not find a way to access weights in convolutional layers in tf.layers.conv2d
Thank you
With inspiration from this: How to get CNN kernel values in Tensorflow
Make sure to give it a name:
Access the variables like this:
You could access that variable by name:
If you're unsure about the name of your variable, see what it could be by printing
tf.trainable_variables()