TensorBoard 在执行时不做任何事情

问题描述:

每当我执行 TensorBoard 时,我都会得到:

Whenever I execute TensorBoard I just get:

Starting TensorBoard 54 at http://localhost:6006
(Press CTRL+C to quit)

然后什么都没有发生.关于如何显示图表的任何建议?

and then nothing happens. Any advice on how to get the graph to show?

抱歉,我想澄清一下,我将http://localhost:6006"复制并粘贴到我的浏览器并出现未找到标量数据".

Sorry I meant to clarify that I copy and paste "http://localhost:6006" into my browser and "No scalar data was found" appears.

已修复:我没有输入正确的日志目录.对于以后遇到这个问题的任何人,不要像我一样假设 TensorBoard 会自动读取/tmp 目录.

FIXED: I was not typing the correct log directory. For anyone in the future who has this problem, don't be like me and assume that TensorBoard automatically reads through the /tmp directory.

一个可能的原因可能是没有给出正确的日志目录,有时人们经常忘记写回摘要.

One possible reason might be not giving the correct log directory, and at other times people often forget to write back summaries.