Creating a catalog of magazines in a tensocard

I am trying to learn how to use a tensogram, and I would like it to run in my program. I do not understand how to create a log directory. These are the lines that I use to work tensocardboard.

   summary_writer = tf.train.SummaryWriter('/tensorflow/logdir', sess.graph_def)
   tensorboard --logdir=tensorflow/logdir

The error message I received was

Cannot assign to operator
+4
source share
2 answers

This line should be in your code (python script), as it seems you put it:

summary_writer = tf.train.SummaryWriter ('/ tensorflow / logdir', sess.graph_def)

This line, however, you need to call from linux (and not from a script):

tensor panel --logdir = tensorflow / logdir

, , . Tensorflow

+4

TensorFlow.

,

( .py )

tf.train.SummaryWriter

.py

- ,

#...create a graph...
# Launch the graph in a session.
sess = tf.Session()

# Create a summary writer, add the 'graph' to the event file.
writer = tf.train.SummaryWriter(< directory name you create>, sess.graph)

, , .py, .

- ,

( linux)

Linux

tensorboard --logdir="path of your log file"

( )

tensorboard --logdir="path of your log file"

http, ex http://666.6.6.6:6006

http -

!

,

youtube 9:40

,

, ASAP ~

+1

All Articles