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
The current train loop calculates the total loss as below:
total_loss = giou_loss + conf_loss + prob_loss
This implementation doesn't include regularizer's loss, such as kernel_regularizer of Conv2D.
In my opinion, the above sentence should be modified as below to reflect regularizers.
total_loss = giou_loss + conf_loss + prob_loss + tf.add_n(yolo.losses)
The current train loop calculates the total loss as below:
total_loss = giou_loss + conf_loss + prob_loss
This implementation doesn't include regularizer's loss, such as kernel_regularizer of Conv2D.
In my opinion, the above sentence should be modified as below to reflect regularizers.
total_loss = giou_loss + conf_loss + prob_loss + tf.add_n(yolo.losses)
Reference: tensorflow/tensorflow#21587
The text was updated successfully, but these errors were encountered: