路径没错的话就要确认-----加载的路径中是否含有空格,如果含有空格,logdir则加载到空格处就会中断,所以无法找到文件夹里面的graph文件,另外输入的:
tensorboard --logdir=F:/14tf_events
不需要加入生成的graph的文件名,就加载到最后一层文件夹路径就可以。
如果你生成了不止一个graph,你疑问tensorboard会加载哪一个,这时候shell窗口会提示:
WARNING:tensorflow:Found more than one graph event per run, or there was a metagraph containing a graph_def, as well as one or more graph events. Overwriting the graph with the newest event.
WARNING:tensorflow:Found more than one metagraph event per run. Overwriting the metagraph with the newest event.
意思就是:会按最新的时间加进来的graph加载。