在打开的TensorBoard会话中快速查看最新事件文件中的更新图表的最佳方法是什么?重新运行我的Python应用程序会导致使用可能的新事件/图形创建新的日志文件。但是,TensorBoard似乎没有注意到这些差异,除非重新启动。
答案 0 :(得分:8)
事实证明,TensorBoard后端每分钟刷新一次日志。这被报告为TensorFlow issue。
可以使用TensorBoard进程的--reload_interval
标志配置重新加载间隔,但此选项目前仅在master中可用,并且从0.8版本开始尚未发布。
答案 1 :(得分:3)
我建议始终从--reload_multifile True
开始tensorboard,以强制重新加载所有事件文件。
答案 2 :(得分:0)
My issue is different. Each time I refresh 0.0.0.0:6006
, it seems the new graph keep appending to the old one, which is quite annoying.
After trying kill process and delete old log several times, I realized the issue comes from writer.add_graph(sess.graph)
, because I didn't reset the graph in jupyter notebook. After resetting, the tensorboard could show the newest gragh.