DiceScore(average="weighted")
produces scores bigger than 1.0
#2851
Labels
DiceScore(average="weighted")
produces scores bigger than 1.0
#2851
🐛 Bug
Using
average=weighted
aggregation in theDiceScore
produces scores bigger than 1.0, and therefore outside the expected value range of [0,1] for dice.To Reproduce
The following code sample returns a score of 2.0:
Code sample
Expected behavior
Environment
1.6.0
torch==2.3.0
The text was updated successfully, but these errors were encountered: