Tensorflow 为什么张量不';不行?
我在代码中使用Tensorflow 为什么张量不';不行?,tensorflow,tensorboard,Tensorflow,Tensorboard,我在代码中使用tf.summary.tensor\u summary,如下所示: 但我在tensorboard上没有看到任何新的内容,tensorboard还打印了一些警告: W0321 12:50:47.244003 Reloader tf_logging.py:121] This summary with tag 'component_3_finalize/wealth_tensor' is oddly not associated with a plugin. 如何做到这一点?我需要安装
tf.summary.tensor\u summary
,如下所示:
但我在tensorboard上没有看到任何新的内容,tensorboard还打印了一些警告:
W0321 12:50:47.244003 Reloader tf_logging.py:121] This summary with tag 'component_3_finalize/wealth_tensor' is oddly not associated with a plugin.
如何做到这一点?我需要安装一些插件吗?我没有找到这方面的任何文件
更新:
因此,我在这里介绍如何创建我的摘要:
def finalize_graph(self, graph_building_context):
tf.summary.scalar('loss', loss)
# the wealth tensor is of shape [B], where B is the batch size at runtime
tf.summary.scalar('wealth', tf.reduce_mean(wealth))
# uhmm, this tensor_summary doesn't work yet
tf.summary.tensor_summary('wealth_tensor', wealth)
然后我使用一个
MonitoredTrainingSession
,默认情况下它将保存摘要,我可以看到我的loss
和wealth
标量摘要,但不是这个wealth\u tensor
摘要。我使用MonitoredTrainingSession
,默认情况下它将保存摘要,我可以看到我的损失
和财富
标量汇总,但不能看到这个财富张量
汇总。我不确定出了什么问题。也许这有帮助@谢谢,但我已经读过这个问题了,我想这不是原因。我使用了MonitoredTrainingSession
,它会自动评估那些摘要操作并将它们写入磁盘,从我在tensorboard中看到的错误中,他们得到了那个摘要,但他们说奇怪的是,它与任何插件都没有关联,所以他们拒绝显示它。但无论如何,谢谢你。象,正如你所说,TensorBoard还不支持可视化张量摘要。我也不知道有任何第三方插件可以做到这一点。