今天使用了TensorFlow的可视化工具,过程并不复杂,网上的教程很多很详细,但是自己试完总是显示
No graph definition files were found.
To store a graph, create a tf.summary.FileWriter
and pass the graph either via the constructor, or by calling its add_graph()
method. You may want to check out the graph visualizer tutorial.
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.
在反复搜索尝试改变之后,发现是因为自己保存的目录不对,应该保存在C盘中才可以正常运行。