donydchen / ran_replicate

A PyTorch re-implementation of Weakly Supervised Facial Action Unit Recognition through Adversarial Training
MIT License
10 stars 3 forks source link

ConnectionRefusedError: [Errno 111] Connection refused #1

Open scut-salmon opened 5 years ago

scut-salmon commented 5 years ago

Hi, I met ConnectionRefusedError when running the command: python main.py --data_root datasets/CKPlus --which_model_netR resnet18 --backend_pretrain --gpu_ids 0 --gan_type wgan-gp --load_size 250 --final_size 224 --visdom_env resnet18_wgan_fold1 --train_csv train_ids_1.csv --test_csv test_ids_1.csv

why did I get this problem and how can I fix it? Thanks.

donydchen commented 5 years ago

Hi, @scut-salmon , could you please post the traceback error log here? ConnectionRefusedError can happen in many cases, detail information is needed in order to figure out a solution. Thanks.

scut-salmon commented 5 years ago

Hi, @donydchen I have solved this problem by set the visdom_display_id to 0, which is to diable visdom, and the model train normally now. Thanks anyway.

donydchen commented 5 years ago

Great, you are welcome.