Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Got ConnectionRefusedError #136

Open
HyungJunNoh opened this issue May 12, 2022 · 1 comment
Open

Got ConnectionRefusedError #136

HyungJunNoh opened this issue May 12, 2022 · 1 comment

Comments

@HyungJunNoh
Copy link

HyungJunNoh commented May 12, 2022

Hello. Thank you for sharing your code!
I'm trying to run a code with CelebA data on PGAN.
After python datasets.py celebaHQ $PATH_TO_CELEBAHQ -o $OUTPUT_DATASET - f, I've tried to train the model by
python train.py PGAN -c config_celeba_cropped.json --restart -n celeba_cropped
but I got error as

Setting up a new session...
Exception in user code:

Traceback (most recent call last):
File "/home/hhui/pytorch_GAN_zoo/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/home/hhui/pytorch_GAN_zoo/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/home/hhui/pytorch_GAN_zoo/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

......

Does anyone have same error message? Can somebody help me!! I have no idea how to deal with this.

Thank you.

@mhaines94108
Copy link

mhaines94108 commented Sep 28, 2022

Yep, happened to me, too.

You can make it go away by adding --no_vis on the command line when you invoke the trainer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants