Tensorboard:tensorflow comes with a visual tool. The chart visualization with Tensorboard encountered a problem that the chart does not display.
Environment: Ubuntu system
Run the code to get the TensorFlow event file logs, for example the path is:/home/wang/tensorflow/logs, logs also contains train and test. At this point, Tensorboard runs by reading the event file by typing the command in cmd: tensorboard--logdir=log file path. According to our current directory, if written as:
Tensorboard--logdir=/home/wang/tensorflow/logs, get the following results (practice proves not to be shown in the Chrome,360 browser):
The results are: no scalar, no image ..., but the code has been checked several times no problem, the event file is not a problem.
Workaround: Method One: The default path of the CMD CD to the upper layer of the log file, that is, cd/home/wang/tensorflow/, after the equal sign directly after the log file name, do not need to write the full path, that is, Tensorboard--logdir=logs. Method Two: Double slash, namely Tensorboard--logdir=/home/wang/tensorflow/logs. Finally, based on the resulting URL http://hostIP:6006, open in chrome, you can visualize our chart, happiness is too sudden
This problem tortured me for a long time, finally solved, thank the original blogger.
Tensorboard Visualization in Ubuntu environment does not show data problems no scalar data was found ... (the author's pro-Test is effective) (turn)