ValueError: math domain error
python main_train.py --input_name 33039_LR.png
('Random Seed: ', 5309) functions.adjust_scales2image(real, opt) in adjust_scales2image opt.num_scales = int((math.log(math.pow(opt.min_size / (real_.shape[2]), 1), opt.scale_factor_init))) + 1 ValueError: math domain error
Thank you for letting me know about this. I don't know the reason for this error, didn't happen on my side. I updated a requirement file, maybe this could help.
python main_train.py --input_name 33039_LR.png
('Random Seed: ', 5309) functions.adjust_scales2image(real, opt) in adjust_scales2image opt.num_scales = int((math.log(math.pow(opt.min_size / (real_.shape[2]), 1), opt.scale_factor_init))) + 1 ValueError: math domain error
Try to run this project on Python3.+, I got the same problem on Python 2.+, but it works well on Python 3.+.