在windows启动TensorBoard感觉不是很友好,各种问题。
网上也有其他一些相应的解决办法,我这里在列举两个你可能(墙内)搜不到的问题。
先讲启动TensorBoard的方法:
cmd 进入虚拟环境,必须是已激活的虚拟环境,比如我用的一个虚拟环境 (venv)E:\python\venv
,看到前面那个’(venv)'说明是已经激活的虚拟环境。
如果你是用Anaconda自建的环境的话,直接菜单输入Prompt
就直接OK。
此时在命令行输入tensorboard --logdir ./ --host localhost
。第一个参数’–logdir ./’ 表示使用当前目录,第二个参数‘-- host localhost’ 表示位置为本地主机。
如果不能自动启动,在浏览器输入“https://localhost:6006”即可
可能遇到的问题一:
W0723 17:52:33.198802 15096 plugin_event_accumulator.py:294] 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.
W0723 17:52:33.199800 15096 plugin_event_accumulator.py:302] Found more than one metagraph event per r