python - No graph is shown in tensorboard -


i tensorflow beginner. following tutorial code below from:

import tensorflow tf  x = tf.constant(1.0, name="input") w = tf.variable(0.8, name="weight") y = tf.multiply(x, w, name="output") y_ = tf.constant(0.0, name="correct_value") loss = tf.pow(y - y_, 2, name="loss")  train_step = tf.train.gradientdescentoptimizer(learning_rate=0.025).minimize(loss)  value in [x, w, y, y_, loss]:     tf.summary.scalar(value.op.name, value)  summaries = tf.summary.merge_all()  tf.session() sess:     sess.run(tf.global_variables_initializer())     writer = tf.summary.filewriter("/tmp/fn")     writer.add_graph(sess.graph)      in range(100):         writer.add_summary(sess.run(summaries), i)         sess.run(train_step)  writer.close() 

every time when try run tensorboard, "no graph definition files found":

tensorboard: no graph definition files found

i used --debug parameter , event files found. used --inspect parameter generated this:

c:\windows\system32>tensorboard --inspect --logdir="d:\tmp\fn" ====================================================================== processing event files... (this can take few minutes) ======================================================================  found event files in: d:\tmp\fn  these tags in d:\tmp\fn: audio - histograms - images - scalars    correct_value_1    input_1    loss_1    output_1    weight_1 tensor - ======================================================================  event statistics d:\tmp\fn: audio - graph    first_step           0    last_step            0    max_step             0    min_step             0    num_steps            1    outoforder_steps     [] histograms - images - scalars    first_step           0    last_step            99    max_step             99    min_step             0    num_steps            100    outoforder_steps     [] sessionlog:checkpoint - sessionlog:start - sessionlog:stop - tensor - ====================================================================== 

i think wrong code. code same 1 in tutorial have changed because tutorial using other version of tensorflow me. using tensorflow 1.3 gpu on windows 10.

what doing wrong? thanks.

the problem tensorboard doesn't respect drive names on windows. problem solved here.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -