通过【端口转发】在服务器上使用TensorBoard
来源:互联网 发布:淘宝微淘粉丝怎么看 编辑:程序博客网 时间:2024/05/17 07:04
如果是一次转发:
https://stackoverflow.com/questions/37987839/how-can-i-run-tensorboard-on-a-remote-server
down vote
Here is what I do to avoid the issues of making the remote server accept your local external IP:
- when I ssh into the machine, I use the option
-L
to transfer the port6006
of the remote server into the port16006
of my machine (for instance):ssh -L 16006:127.0.0.1:6006 olivier@my_server_ip
What it does is that everything on the port 6006
of the server (in 127.0.0.1:6006
) will be forwarded to my machine on the port 16006
.
- You can then launch tensorboard on the remote machine using a standard
tensorboard --logdir log
with the default6006
port - On your local machine, go to http://127.0.0.1:16006 and enjoy your remote TensorBoard.
如果是多次(两次)转发,现在用跳板机的情况很普遍:
道理一样,就是设置几次级联转发。
比如我们想实现【本地16006 ==》跳板机16007 ==》目标服务器6006】,则:
1)【本地16006 ==》跳板机16007】ssh -L 16006:127.0.0.1:16007 oliver@162.105.*.*
2)【跳板机16007 ==》目标服务器6006】ssh -L 16007:127.0.0.1:6006 oliver@10.0.0.1
3)然后再目标服务器上运行自己的代码:python test.py
4)然后启动tensorboard:tensorboard --logdir results
5)然后去本地16006端口看tensorboard可视化结果:http://127.0.0.1:16006/
阅读全文
0 0
- 通过【端口转发】在服务器上使用TensorBoard
- 在Windows上怎么使用tensorboard
- 使用端口转发解决nodejs在80端口上的监听权限问题
- 使用端口转发解决nodejs在80端口上的监听权限问题
- 在windows上配置端口转发
- mac 上使用跳板机的端口转发 访问外网服务器
- 通过 SSH 端口转发实现异地内网服务器互通
- 在私人IP和公共IP网络上,使用端口转发功能配置WIZ107SR
- 服务器请求端口转发
- 在windows上用netsh动态配置端口转发
- 使用secureCrt端口转发连接远程服务器mysql
- 端口转发工具使用
- SecureCRT 端口转发连接服务器
- 在 Linux 下使用 OpenSSH 配置端口转发
- 通过中间服务器做代理(端口转发)远程连接数据库
- 在阿里云主机上搭建JBOSS服务器并部署项目,通过域名:端口号访问项目
- 使用SSH进行端口转发
- 使用SecureCRT进行端口转发
- VLAN 技术
- Leetcode#415. Add Strings (大数加法超简单写法)
- bzoj 1124: [POI2008]枪战Maf(贪心)
- javascript键盘鼠标事件及音频视频图片标签
- 【转】Scikit-learn技巧(拓展)总结
- 通过【端口转发】在服务器上使用TensorBoard
- Webpack 3.x 在CSS和Template中使用file-loader及解决image-webpack-loader 优化图片问题
- Eclipse Alt+/提示报错解决方法
- Multi-view People Tracking via Hierarchical Trajectory Composition
- 组播原理
- Hive学习使用一周感悟
- Merge k Sorted Lists
- C#特性(attribute)
- HDU 5690 All X(快速幂)