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
918 stars 200 forks source link

what does this code means? times = random.randint(self.low_times,self.high_times)/100. #102

Closed asdawnasd closed 2 years ago

asdawnasd commented 2 years ago

Dear sir/madam, I am confused about the code in unaligned_dataset.py, line 120, times = random.randint(self.opt.low_times,self.opt.high_times)/100. what does it mean? Why should the input_img be devide by times? Appreaciate for your relpy!!

yifanjiang19 commented 2 years ago

It is for random brightness augmentation

asdawnasd commented 2 years ago

Oh! I see. Thank you!!