Adapt warning message to new parameter names
@@ -64,7 +64,7 @@ class DiceLoss(_Loss):
raise ValueError(f"reduction={reduction} is invalid. Valid options are: none, mean or sum.")
if sigmoid and softmax:
- raise ValueError("do_sigmoid=True and do_softmax=True are not compatible.")
+ raise ValueError("sigmoid=True and softmax=True are not compatible.")
self.include_background = include_background
self.to_onehot_y = to_onehot_y
