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 examining the TensorFlow graph 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.
问题截图:

解决办法:
# 注意格式:双引号
tensorboard --logdir="./tmp/mylogs"

当遇到TensorBoard无法显示图定义时,通常是因为缺少日志文件。要解决此问题,需创建一个`tf.summary.FileWriter`实例,并通过构造函数或调用`add_graph()`方法传入图。确保已阅读TensorFlow图形教程和TensorBoard的README,以了解如何添加数据和设置事件文件。如果配置正确但仍有问题,请检查README中关于缺失数据的部分,考虑在GitHub上提交问题。
1538

被折叠的 条评论
为什么被折叠?



