TensorFlow学习_

Posted alexhaiy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TensorFlow学习_相关的知识,希望对你有一定的参考价值。

在实际运行tensorboard的时候出现 No dashboards are active for the current data set.

 

官方文档:

My TensorBoard isn‘t showing any data! What‘s wrong?

First, check that the directory passed to --logdir is correct. You can also verify this by navigating to the Scalars dashboard (under the "Inactive" menu) and looking for the log directory path at the bottom of the left sidebar.

If you‘re loading from the proper path, make sure that event files are present. TensorBoard will recursively walk its logdir, it‘s fine if the data is nested under a subdirectory. Ensure the following shows at least one result:

find DIRECTORY_PATH | grep tfevents

You can also check that the event files actually have data by running tensorboard in inspect mode to inspect the contents of your event files.

tensorboard --inspect --logdir DIRECTORY_PATH

首先检查logdir的路径是否正确,也要看scalars那个指标(我连页面都打不开,哪看的到Scalars)!!!

路径要是正确的话,数据会在你写的文件目录的子目录里

技术分享图片

我在这里用的path=‘./log‘ 相当于在该目录下建立了一个log子目录

但我用cmd运行的时候,出现了这样一个问题,给的网址根本打不开

技术分享图片

后来我尝试把路径改成这样

技术分享图片

想当与把log文件夹具体路径写在logdir的后面,该链接可以正常打开!

以上是关于TensorFlow学习_的主要内容,如果未能解决你的问题,请参考以下文章

TensorFlow+Keras深度学习人工智能实践应用_林大贵

Tensorflow学习笔记---1--Python基本操作

『TensorFlow』迁移学习_他山之石,可以攻玉_V2

『TensorFlow』SSD源码学习_其八:网络训练

《Tensorflow+Keras深度学习人工智能实践应用》的坑们

tensorflow 学习记记——环境安装