7
我无法找到如何添加摘要以可视化已用tf.contrib.slim
或tf.contrib.layers
定义的网络的权重。使用tf slim或tf图层的摘要
举例来说,如果我有:
net = slim.conv2d(net, ...)
如何我可以添加的权重和偏置成一个总结?
编辑:我刚才看到我可以使用tf.contrib.layers.summarize_collection
。这可能适用于我想要做的事情。
'tf.contrib.layers.summarize_weights()#tf.GraphKeys.WEIGHTS tf.contrib.layers.summarize_biases()#tf.GraphKeys.BIASES' 从tensorflow模块移除。你能否更新答案? – Yanagiba
我想这个问题可以用'tf.contrib.layers.summarize_tensors()'来更新。 – juliohm