Custom deepedit and previously trained deepgrow models #868
-
Hello all, MONAI Label has been great and I can definitely see the potential. However, there are some things that are a little unclear for me so far. When training a deepedit model on our own data, is it necessary to add a background label? I'm unsure if the background label has to be explicitly annotated, or if for instance the model will accept labels, say 1-3, and everything else is considered '0' for background. Lastly, how can I integrate a Deepgrow 3d model trained using clara train (MMAR) into Monai Label? I have tried using the steps available in the sample apps folder of the github https://github.com/Project-MONAI/MONAILabel/tree/main/sample-apps/radiology#how-to-add-new-model to no avail. Thanks for reading! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @sabino-ramirez, Thanks for opening this discussion.
This is a great question! The main reason for having the background label is because DeepEdit simulates clicks for what is background. In this case, the background label is considered a label as the others. This is more clear for multilabel case. For the multiple single-label segmentation (DeepGrow), you don't need to add the background label. In this case, the background label is whatever is not the positive label (i.e. liver, spleen, etc) https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/configs/deepgrow_3d.py#L34 I know this may be a bit confusing. We're open to hearing recommendations to improve :)
If I'm not wrong, the current DeepGrow 3D pretrained model in MONAI Label is the one you find in the MMAR. @finalelement please correct me if I'm wrong :) Hope this helps |
Beta Was this translation helpful? Give feedback.
Hi @sabino-ramirez,
Thanks for opening this discussion.
This is a great question! The main reason for having the background label is because DeepEdit simulates clicks for what is background. In this case, the background label is considered a label as the others. This is more clear for multilabel case.
For the…