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
In the sigmoid focal loss you have L=-labels*(1-alpha)*((1-y_pred)*gamma)*tf.log(y_pred)-\ (1-labels)*alpha*(y_pred**gamma)*tf.log(1-y_pred)
instead of L=-labels*(1-alpha)*((1-y_pred)**gamma)*tf.log(y_pred)-\ (1-labels)*alpha*(y_pred**gamma)*tf.log(1-y_pred)
The text was updated successfully, but these errors were encountered:
jonesmabea
changed the title
For positive label gamma is being multiplied instead of power
For positive label gamma is being multiplied instead of exponent
Jul 25, 2018
In the sigmoid focal loss you have
L=-labels*(1-alpha)*((1-y_pred)*gamma)*tf.log(y_pred)-\ (1-labels)*alpha*(y_pred**gamma)*tf.log(1-y_pred)
instead of
L=-labels*(1-alpha)*((1-y_pred)**gamma)*tf.log(y_pred)-\ (1-labels)*alpha*(y_pred**gamma)*tf.log(1-y_pred)
The text was updated successfully, but these errors were encountered: