Closed mathpluscode closed 3 years ago
@YipengHu obeserved dice score > 1, which is clearly a bug.
It might be caused by https://github.com/DeepRegNet/DeepReg/commit/3a457eef313f4bee61d16e899d15a87e6c831e91. where we somehow changed reduce_sum to mean, but as we are adding EPS to the numerator/denominator, the reduce mean may lead to values << 1 and therefore the result is no longer accurate.
changing to sum still has dice score greater than 1 (see below the BinaryDiceScore on val)
Subject of the issue
@YipengHu obeserved dice score > 1, which is clearly a bug.
It might be caused by https://github.com/DeepRegNet/DeepReg/commit/3a457eef313f4bee61d16e899d15a87e6c831e91. where we somehow changed reduce_sum to mean, but as we are adding EPS to the numerator/denominator, the reduce mean may lead to values << 1 and therefore the result is no longer accurate.