美文网首页
远程查看Tensorboard

远程查看Tensorboard

作者: 啦啦啦_e62f | 来源:发表于2019-10-31 11:06 被阅读0次
  1. ssh连接远程server
  2. 在远程server上打开tensorboard
tensorboard --logdir=logs --host=localhost --port=8888
  1. 本地终端ssh进行端口重映射(;,如下8666为本地端口,8888为第2步指定的端口))
ssh (-p) -N -f -L localhost:8666:localhost:8888 server@xxxx
-N 告诉SSH没有命令要被远程执行
-f   put ssh in background
-L 是指定port forwarding的配置 ( <machine1>:<portA>:<machine2>:<portB>): forward <machine2>:<portB> (remote scope) to <machine1>:<portA> (local scope)

4.本地浏览器访问localhost:8666

相关文章

网友评论

      本文标题:远程查看Tensorboard

      本文链接:https://www.haomeiwen.com/subject/ynizvctx.html