Closed ouyuxuanbridge closed 2 years ago
When I am using this model, following (https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/unetr_btcv_segmentation_3d.ipynb)
I don't want to include background, so I make this change: dice_metric = DiceMetric(include_background=True, reduction="mean", get_not_nans=False)
But then dice become 0?
Could you help me please? Thanks!
Hi @Ouyuxuan623 ,
Thanks for your interest here. If you don't want to include background, why you set include_background=True?
include_background=True
Thanks.
When I am using this model, following (https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/unetr_btcv_segmentation_3d.ipynb)
I don't want to include background, so I make this change: dice_metric = DiceMetric(include_background=True, reduction="mean", get_not_nans=False)
But then dice become 0?
Could you help me please? Thanks!