divide by zero encountered in log
mehrazi opened this issue · comments
Mehrdad Azizi commented
@xuannianz Hi, I tried to train on custom data and this warning has occurred then loss got nan.
avad/keras-ctpn/data_generator.py:118: RuntimeWarning: divide by zero encountered in log
np.log(gt_h / a_h),