TensorBoard 训练可视化

TensorBoard 是 TensorFlow 内建的过程可视化工具,会在安装 TensorFlow 的过程中默认安装。如果需要使用 TensorBoard 进行可视化,需要将想要可视化的操作和变量通过 tf.summary 操作进行记录,并通过 tf.summary.FileWriter 输出至 events 文件,再通过读取这个文件进行可视化。

TensorBoard operates by reading TensorFlow events files, which contain summary data that you can generate when running TensorFlow. Here's the general lifecycle for summary data within TensorBoard.

For example, suppose you are training a convolutional neural network for recognizing MNIST digits. You'd like to record how the learning rate varies over time, and how the objective function is changing. Collect these by attaching tf.summary.scalar ops to the nodes that output the learning rate and loss respectively. Then, give each scalar_summary a meaningful tag, like 'learning rate' or 'loss function'.

参考阅读

  1. TensorBoard GitHub

  2. TensorFlow Summaries and TensorBoard

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • “改天请你吃饭” 你被这句话忽悠过吗? 或者拿这话忽悠过别人吗? 朋友间互相请吃饭是常事, 但是信任无价,承诺请勿...
    管文宁阅读 176评论 0 0
  • 前面一个女孩,黑底翠色细花的吊带裙,雨里,周围都是打起的伞,除了她。 太注意她,吸引她回头,一瞬间,看到一张漂亮的...
    congline阅读 259评论 0 0
  • 报道当日检修工作完成情况,明日检修工作计划
    壳壳巷阅读 522评论 0 0

友情链接更多精彩内容