TensorFlow study five

Today, there have been a few questions about when learning to use the tensorboard:

Question one:

No dashboards are active for the current data set.

Probable causes:

  • You haven’t written any data to your event files.
  • TensorBoard can’t find your event files.

If you’re new to using TensorBoard, and want to find out how to add data and set up your event files, check out the README and perhaps the TensorBoard tutorial.

If you think TensorBoard is configured properly, please see the section of the README devoted to missing data problems and consider filing an issue on GitHub.

Last reload: not yet loaded

Data location: .\logs

This problem may not be assigned to the file storage path or input format issue.

First, run the code

wirter = tf.summary.FileWriter("logs/",sess.graph)

Will generate a folder in the directory code file  logs  , then we run on the terminal Tensorboard

Do not enter into  tensorboard --logdir = 'logs /'

Note that:  tensorboard --logdir = logs (probably the reason these two quotes problems)

Second, probably because no good path

You may first open the file folder where the logs in the terminal, and then enter  tensorboard --logdir = logs 

Question two:

TensorBoard

 

Guess you like

Origin www.cnblogs.com/smile321/p/11232635.html