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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

train issues

Fancy-a-good-name opened this issue · comments

I had a problem and would like a friend to point me out。
train.py: error: the following arguments are required: --dataroot。
And My parameters are set as follows: self.parser.add_argument('--dataroot', type=str, default='/final_dataset', required=True, help='path to images (should have subfolders trainA, trainB, valA, valB, etc)')。

I guess you should change default='/final_dataset' to default='./final_dataset' and change required=True to required=False