MonaiLabel Models; Training from Scratch #1714
-
Hi everyone! I am a novice at 3D Slicer, but I am super excited to get started! I have already completed the tutorials MonaiLabel offers with the Radiology App and the MONAIBundle app which are both consistent with 3D Slicer. However, I am struggling to implement a DeepEdit model. I have attached a picture of the error I keep receiving regardless of the dataset. I went into the config file of DeepEdit through text editor and changed it into single label and put the background as 0, pancreas as 1, and also put the use_pretrained_model as false. I am trying to attempt segmenting a bunch of different anatomical parts soon with the largest goal to be understanding Active Learning. Reading through the README.md file of the radiology app has made me realize that the DeepEdit model is the most useful for Active Learning strategies while the segmentation model is basic for automated segmentation (correct me if I’m wrong please!). I have watched the Youtube video by MonaiLabel on Training from Scratch which they use the segmentation model. However, if I do want to learn the most about Active Learning, what can I do to achieve this? Or if there is a tutorial someone can recommend me as I have been using the Training from Scratch video and the README.md files to steer me in the right direction. I would really appreciate any help!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @jesamir, From the error, it seems you're trying to use a pretrained model with a different number of segments. I'd recommend you delete all files within the radiology/model folder. Also, to make use of Active Learning strategies, there should be a pretrained model on the task you wish the model to work. |
Beta Was this translation helpful? Give feedback.
Hi @jesamir,
If you change the number of labels, this is considered a new task. So training from scratch is recommended.
Uncertainty-based active learning strategies need a pretrained model. If you'd like to train a model from scratch on a different number of labels, you'd need to annotate a small number of volumes to kick-off the active learning loop.
Hope this helps,