深度学习DeBug小笔记(一)——visdom服务启动时提示Downloading scripts, this may take a little while解决办法
文章目录
前言
这几天有点颓废,hhhhh,几天没有更新自己的博客了哇,呜呜呜,我是废物。这几天开始要重构一篇论文,又要忙起来了,奥利给,这里网上都有相关教程,我只是做一个记录,方便以后自己查阅
转载于:visdom服务启动时提示Downloading scripts, this may take a little while解决办法
bug
Microsoft Windows [版本 10.0.18363.657]
(c) 2019 Microsoft Corporation。保留所有权利。
C:\Users\UserName>python -m visdom.server
D:\Anaconda3\lib\site-packages\visdom\server.py:39: 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.
Downloading scripts, this may take a little while
解决办法
找到visdom模块安装位置
其位置为python或anaconda安装目录下\Lib\site-packages\visdon
├─static
│ ├─css
│ ├─fonts
│ └─js
├─__pycache__
├─__init__.py
├─__init__.pyi
├─py.typed
├─server.py
└─VERSION
可在python或anaconda安装目录下搜索找到
修改文件server.py
修改函数download_scripts_and_run
,将download_scripts()
注释掉
该函数位于全篇末尾,1917行
def download_scripts_and_run():
# download_scripts()
main()
if __name__ == "__main__":
download_scripts_and_run()
解决
至此,该问题解决完毕。
使用命令python -m visdom.server开启服务
Microsoft Windows [版本 10.0.18363.657]
(c) 2019 Microsoft Corporation。保留所有权利。
C:\Users\UserName>python -m visdom.server
D:\Anaconda3\lib\site-packages\visdom\server.py:39: 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!
It's Alive!
INFO:root:Application Started
You can navigate to http://localhost:8097