TensorBoard visualization does not show dataNo scalar data was found
TensorBoard: the visualization tool that comes with Tensorflow.
Experiencing problems with charts not displaying when using TensorBoard for chart visualization, documented.
Environment: windows 10
Run the code to get the TensorFlow event file logs, for example, the path is: E:\MyTensorBoard\logs, logs in turn 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.
Follow our current catalog, if written:
tensorboard --logdir=E:\MyTensorBoard\logs to get the following result (practice shows that you have to use chrome, 360 browser won't show it):
Showing results:
No scalar, No image... , however after checking the code a few times there is no problem, nor the event file.
cure
Method 1
Cd the default path from cmd to the upper level of the log file, i.e. cd /d E:\MyTensorBoard, after which you can just type the name of the log file directly after the equals sign, without writing the full path, i.e. tensorboard ---logdir=logs.
Method II
Double slash, i.e. tensorboard --logdir=E://MyTensorBoard//logs.
Finally, according to the obtained URL http://hostIP:6006, open it in chrome and you can visualize our charts... Happiness comes too suddenly!
summarize
The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.