Closed jiesihu closed 2 years ago
Is it the right way to record dice of each batch with 'dice = dice_metric.aggregate().item()'? This line of code seems to compute the mean of the previously calculated Dice for 'dice' and might result in a wrong' mean_dice_val'.
For unetr_btcv_segmentation_3d.ipynb
Is it the right way to record dice of each batch with 'dice = dice_metric.aggregate().item()'? This line of code seems to compute the mean of the previously calculated Dice for 'dice' and might result in a wrong' mean_dice_val'.