python - tensorboard, no visual -
i'm trying run tensorboard. made simple code based off tensorboard website. know solution this? thanks
import tensorflow tf node1 = tf.constant(3.0, dtype=tf.float32) node2 = tf.constant(4.0) node3 = tf.add(node1, node2) sess = tf.session() writer=tf.summary.filewriter('/users/jenny/desktop/file') writer.add_graph(sess.graph)
in terminal, ran
$ tensorboard --logdir /users/jenny/desktop/file
the outcome:
starting tensorboard 54 @ http://jennys-imac.local:6006
i pasted address, (http://jennys-imac.local:6006
), and sign claiming dns address not found appeared.
when tried http://localhost:6006
according robcarney's suggestion, although original problem fixed, there no data shown; occured every 1 of tabs
try http://localhost:6006. ran script , recieved same message output, initial address didn't work , 1 did.
edit: you'll need flush data , close file writer, writer.flush()
, writer.close()
, in order relevant graphs/events/etc. written disk in specified directory.
Comments
Post a Comment