fudannlp16/focal-loss

typo in focal_loss?

ddeeppnneett opened this issue · 0 comments

Line 25 in focal_loss.py,

(1-y_pred)*gamma
or
(1-y_pred)**gamma