Tensorboard Visualization in Ubuntu environment does not show data problems no scalar data was found ... (the author's pro-Test is effective) (turn)

Source: Internet
Author: User
Tags scalar

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.