win10下 Tensorboard “No dashboards are active for the current data set“

控制台运行

tensorboard --logdir==logs

之后,输出

2020-07-28 21:18:03.710381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynam
ic library cudart64_100.dll
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.0.2 at http://localhost:6006/ (Press CTRL+C to quit)

访问 localhost:6006 之后出现

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.

Last reload: Tue Jul 28 2020 21:20:09 GMT+0800 (中国标准时间)
Data location: =logs

 

解决方案:

1、检查logs目录是否正确,可改为绝对路径试试

2、执行脚本改为  tensorboard --logdir=logs,之前多写了个=,只要一个=即可,至于logs加不加双引号"都无所谓

你可能感兴趣的:(python)