-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionError[Errno 111], during run 'train.py' of maps #38
Comments
python -m visdom.server |
The |
@junyanz , did change the display_id to 0 but whenever i start the visdom server,it shows nothing,is there any specific folder i should run it into?should i do it after training? |
If you want to use the visdom server, you should change the display_id to a non-zero value. To view training results and loss plots, run |
added "--display_id 0" running train.py but I still get this error |
@Hunterwolf88 this seems to be strange. Could you post both your command line and the errors? |
I have same problem now. If I use --display "non-zero" value, it shows So, I would set --display_id 0 up so that it turned off display. Then, no html and "checkpoints" folder and also no training is done. |
See this Q & A for more details. You need to install |
Yeah. I already install visdom and type "python -m visdom.server". It worked well but suddenly it doesn't work. I may need to install visdom again. |
when i run :
$ python train.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan
the error code :
ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /events (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2c1b19290>: Failed to establish a new connection: [Errno 111] Connection refused',))
how can I solve this??
==================
full script of error
Traceback (most recent call last):
File "/home/khryang/.local/lib/python2.7/site-packages/visdom/init.py", line 228, in _send
data=json.dumps(msg),
File "/home/khryang/.local/lib/python2.7/site-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/khryang/.local/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/home/khryang/.local/lib/python2.7/site-packages/requests/sessions.py", line 513, in request
resp = self.send(prep, **send_kwargs)
File "/home/khryang/.local/lib/python2.7/site-packages/requests/sessions.py", line 623, in send
r = adapter.send(request, **kwargs)
File "/home/khryang/.local/lib/python2.7/site-packages/requests/adapters.py", line 504, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /events (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2c1b19290>: Failed to establish a new connection: [Errno 111] Connection refused',))
(epoch: 1, iters: 700, time: 0.456) D_A: 0.215 G_A: 0.561 Cyc_A: 2.316 D_B: 0.163 G_B: 0.450 Cyc_B: 0.794
The text was updated successfully, but these errors were encountered: