- 在服务器端命令窗口中输入“ifconfig”查询IP地址关注两个地址:
a. 一个是服务器IP地址,“Link encap: Ethernet”下面“inet addr”后面那串,"10”开头的地址。
b. 另一个是数据包回送地址,就是“Link encap:Local loopback”,“inet addr”后面那串“127”开头的地址。 -
服务器端运行
tensorboard -- logdir=' <logpath>' --port 6006 - 在本地运行:
ssh -L 16006:127.0.0.1:6006 [email protected]_server_ip
a. 其中16006自己随便设置,要与步骤4中的数字一致,
b. inet addr后面那串“127”开头的地址写上去
c. username:服务器端的用户名
d. my_server_ip: 服务器IP地址,10开头的 -
本地浏览器打开网址:http://127.0.0.1:16006/
相关文章: