Pytorch-cyclegan-and-pix2pix: connection error?

Created on 4 Jan 2018  路  2Comments  路  Source: junyanz/pytorch-CycleGAN-and-pix2pix

I'm just running the cycle GAN example training code for maps, and have the following errors:

Exception in user code:

Traceback (most recent call last):
File "/home/username/anaconda3/envs/cyclegan/lib/python3.5/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/username/anaconda3/envs/cyclegan/lib/python3.5/site-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/home/username/anaconda3/envs/cyclegan/lib/python3.5/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refusedConnectionRefusedError: [Errno 111] Connection refused

Most helpful comment

add --display_id 0 to the train.py command

All 2 comments

add --display_id 0 to the train.py command

@ShaniGam It works ,thank you so much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

khryang picture khryang  路  3Comments

TheIllusion picture TheIllusion  路  5Comments

zerxon picture zerxon  路  4Comments

filmo picture filmo  路  3Comments

shivom9713 picture shivom9713  路  4Comments