zoukankan      html  css  js  c++  java
  • 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.

    Last reload: not yet loaded

    Data location: .logs

    出现这个问题可能是 没有指定到文件存放路径或者 是输入格式有问题。

    一、运行代码

    wirter = tf.summary.FileWriter("logs/",sess.graph)

    会在代码文件的目录下生成一个文件夹 logs ,接着我们在终端上运行Tensorboard

    不要输入成 tensorboard --logdir='logs/'

    注意是: tensorboard --logdir=logs(这两个引号可能就是问题出现的原因)

    二、可能是因为没有指定好路径

    可以先在终端打开logs文件所在的文件夹,然后输入 tensorboard --logdir=logs 

    问题二:

    TensorBoard

     
  • 相关阅读:
    随机生成30道四则运算题目
    《构建之法》阅读笔记01
    第一周学习进度
    个人介绍
    MyBatis(登录)
    MyBatis
    动态网页
    网页基本标签
    Servlet基础
    JSP数据交互
  • 原文地址:https://www.cnblogs.com/smile321/p/11232635.html
Copyright © 2011-2022 走看看