VITA-Group / EnlightenGAN

[IEEE TIP] "EnlightenGAN: Deep Light Enhancement without Paired Supervision" by Yifan Jiang, Xinyu Gong, Ding Liu, Yu Cheng, Chen Fang, Xiaohui Shen, Jianchao Yang, Pan Zhou, Zhangyang Wang
Other
890 stars 198 forks source link

training error #51

Closed jeighfrost closed 4 years ago

jeighfrost commented 4 years ago

I always get this kind of errors every time I train. How do I resolve this?

File "/home/jef.silang/.conda/envs/jepwey/lib/python3.5/random.py", line 205, in randrange raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width)) ValueError: empty range for randrange() (0,-60, -60)

and this one

ConnectionRefusedError: [Errno 111] Connection refused

yifanjiang19 commented 4 years ago

For the first one, you should make sure your data resolution is larger than the cropped images. For the second one, you should launch python -m visdom.server in another terminal.