Skip to content

Commit

Permalink
Fix bug where validation loss does not decrease
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-roddick committed Mar 30, 2021
1 parent 38886ea commit 04f7383
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def compute_loss(pred_encoded, gt_encoded, loss_weights=[1., 1., 1., 1.]):
'total' : float(total_loss)
}

total_loss = score_loss
return total_loss, loss_dict


Expand Down

0 comments on commit 04f7383

Please sign in to comment.