0

I have been sucessfully using tensorflow's tutorial on retraining the final layer to handle new classes and I would like to add some summaries to check how the cross-entropy is evolving.

I have looked into the documentation and tried to replicate it but I wasn't successful. Right now, I can launch tensorboard and see the graph but nothing else is displayed on the other tabs (events, images, histograms).

Has anyone added summaries to the inception retraining example?

Thanks in advance

4

2 回答 2

2

我在 TensorFlow 图像再训练教程的股票代码中添加了 TensorBoard 摘要。如果您想在教程中使用 TensorBoard,可以在GitHub 上查看最新的 TensorFlow 代码。如果您对更多细节感兴趣,我还写了一篇关于它的博客文章。

于 2016-07-04T22:50:04.163 回答
1

要显示标量摘要(等),您需要执行以下四件事:

  1. 将汇总节点添加到您的图表(例如 atf.scalar_summarytf.histogram_summary
  2. 将所有这些摘要合并到一个操作中tf.merge_all_summaries
  3. 运行摘要操作作为训练循环的一部分,并存储输出
  4. 将输出的摘要字符串传递到tf.train.SummaryWriter.

你在做所有这些步骤吗?

于 2016-05-24T10:59:50.843 回答