关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

最近在学习tensorflow,但是在使用tensorboard时候出现以下问题:

No dashboards are active for the current data set.

Probable causes:

  • You haven’t written any data to your event files.
  • TensorBoard can’t find your event files.
If you’re new to using TensorBoard, and want to find out how to add data and set up your event files, check out the README and perhaps the TensorBoard tutorial.

If you think TensorBoard is configured properly, please see the section of the README devoted to missing data problems and consider filing an issue on GitHub.

如图所示:

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

我以为是浏览器的问题.于是在firefox和chrome下分别使用,结果都一样:

这是chrome下的结果

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

在Firefox下结结果

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

于是我在仔细看了一下生成的log文件及终端命令

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

都没有问题,这是这是哪里出现问题的啊.经过千方百计的查询资料,原来问题出现在这里:

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

logic后面的文件路径出现问题,我在根目录下重新生成了:

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

将logdir后面的路径改为绝对路径/home/zhoujun/文档/log

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...


结果成功

关于ubuntu下使用tensorboard出现No dashboards are active for the current data set. Probable causes: ...

总结,之前试着将路径换成绝对路径,但是还是不对,最后讲路径变为home下的绝对路径才成功了.如果在其他盘的话可能不会出图.所以最好讲路径变为home下的绝对路径.

如需转载请注明出处.