windows上安装visdom
$ conda install visdom
Collecting package metadata: ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: S:\Users\jiangshan\Anaconda3
added / updated specs:
- visdom
windows上在anaconda虚拟环境deeplearning下安装visdom
(deeplearning) C:\Users\jiangshan>conda install visdom
Collecting package metadata: done
Solving environment: done
## Package Plan ##
environment location: S:\Users\jiangshan\Anaconda3\envs\deeplearning
added / updated specs:
- visdom
安装Torch客户端
luarocks install visdom
启动服务器或者【后台运行$ nohup python -m visdom.server &】
(deeplearning) C:\Users\jiangshan>python -m visdom.server
S:\Users\jiangshan\Anaconda3\envs\deeplearning\lib\site-packages\visdom\server.py:30: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
ioloop.install() # Needs to happen before any tornado imports!
Checking for scripts.
It's Alive!
INFO:root:Application Started
You can navigate to http://localhost:8097
在浏览器输入:http://localhost:8097/,即可启动visdom
(通过访问http://localhost:8097或者127.0.0.1:8097浏览器访问visdom ,或者指定自己的主机地址
如果上述操作不起作用,请将以下行添加到本地 ~/.ssh/config:LocalForward 127.0.0.1:8097)
visdom服务是一个Web Server服务,默认绑定8097端口