1.先要激活一个虚拟环境
conda activate DeepMB
2.在虚拟环境里安装
pip install tensorboard
3.直接找到,这样开头的文件,复制该路径,
4.
tensorboard --logdir="/dir/" --port=6006 --bind_all
5.报错
5.1 换一个port
tensorboard --logdir="/dir/" --port=6007 --bind_all
NOTE: Using experimental fast data loading logic. To disable, pass
"--load_fast=false" and report issues on GitHub. More details:
https://github.com/tensorflow/tensorboard/issues/4784
Address already in use
Port 6006 is in use by another program. Either identify and stop that program, or start the server with a different port.
5.2 后面要加一个 --bind_all
NOTE: Using experimental fast data loading logic. To disable, pass
"--load_fast=false" and report issues on GitHub. More details:
https://github.com/tensorflow/tensorboard/issues/4784
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
6.最后
这样就算是成功了,不用管tensorflow 有没有安装,在你的浏览器里头输入
你服务器的地址:6007
这个http可能用不了
又用不了啦
啊啊啊啊啊啊啊
在vscoed的终端,而不是在mobaxterm里面,创建tensorboard
新建一个终端
然后 输入命令行
接着生成的网址,ctrl+单击网址OK