Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arno1235 committed Mar 20, 2023
1 parent fd8de7e commit 6180979
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unet_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ def get_loss(self, logits, labels):
else:
raise ValueError("Unknown weight type: "%self.weight_type)

loss = tf.reduce_mean(tf.multiply(loss_map, weight_map))
loss = tf.reduce_mean(tf.multiply(loss_map, weight_map))

print(f'TEST loss: {loss}') # TEST

return loss

Expand Down

0 comments on commit 6180979

Please sign in to comment.