What's the best way to refresh TensorBoard after new events/logs were added?

扶醉桌前 提交于 2019-12-21 07:13:14

问题


What is the best way to quickly see the updated graph in the most recent event file in an open TensorBoard session? Re-running my Python app results in a new log file being created with potentially new events/graph. However, TensorBoard does not seem to notice those differences, unless restarted.


回答1:


It turns out that TensorBoard backend refreshes the logs every minute. This has been reported as a TensorFlow issue.

The reload interval can be configured using the --reload_interval flag of the TensorBoard process, but this option is currently only available in master and as of version 0.8 has not been released.




回答2:


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.



来源:https://stackoverflow.com/questions/34190298/whats-the-best-way-to-refresh-tensorboard-after-new-events-logs-were-added

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!