MedSegDiff icon indicating copy to clipboard operation
MedSegDiff copied to clipboard

code

Open 1390806607 opened this issue 2 years ago • 0 comments

    res = torch.where(mask > 0, 1, 0)   #merge all tumor classes into one to get a binary segmentation mask

Hello, I don't quite understand why all categories of masks are merged into two categories of masks.Can you explain it to me?

1390806607 avatar Dec 31 '23 04:12 1390806607