In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "how to solve the Tensorboard visualization error Noscalardatawasfound". In the daily operation, I believe many people have doubts about how to solve the Tensorboard visualization error Noscalardatawasfound problem. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "how to solve the Tensorboard visualization error Noscalardatawasfound". Next, please follow the editor to study!
My environment is: install python2.7 under window,Anaconda2, add tensorfow environment and Python3.5
1. Pay attention to using Jupyter Note book to write code
Relative path:
Writer = tf.summary.FileWriter ('logs/',sess.graph), note the single quotation marks
Absolute path:
Writer = tf.summary.FileWriter ("E:\\ MyJupyter\\ logs", sess.graph), pay attention to double quotes and slashes
Writer = tf.summary.FileWriter ("E://MyJupyter//logs", sess.graph), note double quotation marks and backslash
All of the above three methods can generate drawing files at specified locations.
2. Enter the system command mode
Enter the system command mode through cmd. Since my Tensorboard is not imported into the system environment variable, I must cd the directory to the scripts folder in tensorflow and execute the tensorboard.exe inside.
The specific instructions are as follows:
The front is my tensorflow installation path, followed by the path where the drawing file is located (you can also use a relative path)
Please pay attention to the backslash, backslash, backslash that must be entered in the picture!
My initial mistake was that when using an absolute path, enter the slash E:\ MyJupyter\ logs and E:\\ MyJupyter\\ logs, both of which reported an error: No scalar data was found. It took me an hour.
The following figure shows the result of executing the command:
3. Result picture: use Google Chrome browser to open the link: http://PC-201707101548 6006, it's fine.
It is said on the Internet that you can't look at the picture with 360 browser, but I can use it.
You can see your path in the lower right corner of the scalars tab of Tensorboard. I was misled by this slash at first.
At this point, the study on "how to solve the Tensorboard visualization error Noscalardatawasfound" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.