dlr: fixup

This commit is contained in:
Starbeamrainbowlabs 2023-03-03 21:45:51 +00:00
parent 3d051a8874
commit 8470aec996
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -26,5 +26,5 @@ def dice_coefficient(y_true, y_pred):
def metric_dice_coefficient(y_true, y_pred):
y_pred = tf.math.argmax(y_pred)
y_pred = tf.math.argmax(y_pred, axis=-1)
return dice_coefficient(y_true, y_pred)