Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is the segmentation mask given to the model for multi label segmentation mask #214

Open
nobleaustine opened this issue Mar 8, 2025 · 4 comments

Comments

@nobleaustine
Copy link
Contributor

If the segmentation mask has just two class background and cancer we can give it as mask with 1 and 0s If there are multiple classes, how are they given, we can't do diffusion directly on the segmentation mask right, is onehot encoding done or any other strategy

@nobleaustine
Copy link
Contributor Author

res = torch.where(mask > 0, 1, 0) can we run without this code in the training_losses_segmentation

@nobleaustine
Copy link
Contributor Author

For dataset like BTCV with multiple labels how is the training done

@15629932373
Copy link

I also have the same question, can anyone answer how the mask should be entered when I do a multi-label split

@15629932373
Copy link

对于像 BTCV 这样具有多个标签的数据集,训练是如何完成的

Pls have you solved this issue at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants