• TensorFlow学习_(3)


    在实际运行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的后面,该链接可以正常打开!

  • 相关阅读:
    160-13. 罗马数字转整数
    159-118. 杨辉三角
    158-190. 颠倒二进制位
    157-461. 汉明距离
    156-412. Fizz Buzz
    155-278. 第一个错误的版本
    154-108. 将有序数组转换为二叉搜索树
    153-101. 对称二叉树
    152-234. 回文链表
    秒杀程序架构演进
  • 原文地址:https://www.cnblogs.com/AlexHaiY/p/9323149.html
Copyright © 2020-2023  润新知