tensorboard中的No dashboards are active for the current data set.当前数据集没有活动的仪表板问题解决方案
我的环境是win10,这是我在做tensorflow可视化练习也就是tensorboard的时候遇到的问题。导致这个问题的原因是:启动tensorboard时的文件路径没有写对。
我把代码改为:tensorboard --logdir=C:\Users\周*颖\PycharmProjects\untitled.idea\logs 能够正常运行,完美!
- 运行程序
from __future__ import print_function
import tensorflow as tf
def add_layer(inputs, in_size, out_size, activation_function=None):
# add one more layer and return the output of this layer
with tf.name_scope('layer'):
with tf.name_scope('weights'):
Weights = tf.Variable(tf.random_normal([in_size, out_size]), name='W')
with tf.name_scope('biases'):
biases = tf.Variable(tf.zeros