I am writing a simple tf graph and saving it with fileWriter tensorboard starts and then shows a picture of a graph the is not related

  Kiến thức lập trình

here is the code to produce the graph

graph_2 = tf.Graph()
with graph_2.as_default():
    a = tf.compat.v1.placeholder(tf.float32, name='input')
    b = a
    for i in range(5):
        b = tf.add(a, b)

writer = tf.compat.v1.summary.FileWriter('tbout/01_lab21', graph=graph_2)
writer.close()

then i start tensorboard with this
%tensorboard –logdir tboout/01_lab22

tensorboard produces a graph does not describe graph_2

New contributor

Don Gunning is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT