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