xuannianz / keras-ctpn

CTPN (Connectionist Text Proposal Network) implementation in Keras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

divide by zero encountered in log

mehrazi opened this issue · comments

@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),