本地连接需安装visdom
- 首先安装命令:
>> pip install visdom
- 然后本地用visdom连上
>> python -m visdom.server
成功时显示:
Checking for scripts.
Downloading scripts, this may take a little while
It's Alive!
INFO:root:Application Started
You can navigate to http://localhost:8097
可能出现错误(需要先安装jsonpatch再安装visdom):
ModuleNotFoundError: No module named 'jsonpatch'
那么就安装jsonpatch
>> pip install jsonpath
接下来重复步骤1和2即可。