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 to train with multiple mask labels #64

Open
ncp-nice opened this issue Jun 3, 2024 · 4 comments
Open

How to train with multiple mask labels #64

ncp-nice opened this issue Jun 3, 2024 · 4 comments

Comments

@ncp-nice
Copy link

ncp-nice commented Jun 3, 2024

The model only supports the mask in the one-hot format, if I have a mask of labels, should I extract each label separately according to the pixels and then train it? It's also too much trouble!

@ncp-nice
Copy link
Author

ncp-nice commented Jun 6, 2024

I would like to ask how the author trained and tested the Synapse multi-organ CT dataset, and did he have to convert each multi-label label to the onehot format one by one? thanks!

@fengyasi
Copy link

Are you asking about labeling multiple tags on a single image?

@ncp-nice
Copy link
Author

Are you asking about labeling multiple tags on a single image?

Doesn't the SAMMED2d model require that the labels corresponding to the image data of train and test be in one-hot format? Therefore, when encountering medical images in 3d format, do you have to slice them first and then classify them separately according to each label before they can be put into the SAMMED2d model for training? But for example, like the Synapse multi-organ CT dataset, I slice it, but it won't separate the label into a one-hot format

@ncp-nice
Copy link
Author

Are you asking about labeling multiple tags on a single image?

Yes

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