You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It trains fine, but the loss increases. I think maybe the last closing parenthesis should be moved to the end, like so t = alpha * reshape((1-o(c_)).^gamma, [sz(1:2) 1 sz(4)]) .* (log(sum(ex,3)) - reshape(x(c_), [sz(1:2) 1 sz(4)]) + xmax);
The text was updated successfully, but these errors were encountered:
erikalu
changed the title
Misplaced parenthesis in loss calculation
Misplaced parenthesis in loss calculation?
Dec 12, 2017
focal-loss-matconvnet/vl_nnfocalloss.m
Line 91 in 1f4886d
It trains fine, but the loss increases. I think maybe the last closing parenthesis should be moved to the end, like so
t = alpha * reshape((1-o(c_)).^gamma, [sz(1:2) 1 sz(4)]) .* (log(sum(ex,3)) - reshape(x(c_), [sz(1:2) 1 sz(4)]) + xmax);
The text was updated successfully, but these errors were encountered: