Skip to content

Commit

Permalink
test loss function
Browse files Browse the repository at this point in the history
  • Loading branch information
Arno1235 committed Mar 22, 2023
1 parent 295d8f3 commit f1ae79d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unet_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ def get_loss(self, logits, labels):
flat_probs = tf.reshape(probs, [-1, self.n_class])

# TEST
print(f'flat_probs: {flat_probs}')
print(f'flat_labels: {flat_labels}')
print(f'flat_probs: {np.shape(flat_probs)} {flat_probs}')
print(f'flat_labels: {np.shape(flat_labels)} {flat_labels}')

if self.weight_type == 'feedback':
weight_map = feedback_weight_map(flat_probs, flat_labels, 3, 100)
Expand Down

0 comments on commit f1ae79d

Please sign in to comment.