Replies: 2 comments 3 replies
-
Hey, @D123Roy glad to see you are here as well. if you are starting a monai label server with the radiology app, you could do this: See here, if no model provided, the app will initialize and download a pretrained model from website: To use your own model, you could put your model in the model folder name f"pretrained_{name}.pt" , for example: pretrained_segmentation_spleen.pt "", add a conf argument: --conf use_pretrained_model false. Then the monai label server should be able to load the model for auto segmentation. In addition, the MONAI Label itself can do interactive segmentation without extra that tutorial, you could see how active learning is performed referring to: https://github.com/Project-MONAI/MONAILabel/tree/main/sample-apps/radiology For you case, if you wouldn't like to use the default settings such as infer transforms, you could customized this script for Slicer: You can also modify Training paradigms similarly. Then use them in the Slicer UI. |
Beta Was this translation helpful? Give feedback.
-
Another issue that I want to add is that - On adding my pre-trained weights in "segmentation/segmentation_spleen" model, the system is unable to load the model and hangs when I try to run the auto-segmentation module. Hence I have been using "Deepedit model" in running purposes. I hope this wouldnt be an issue for generating such results. |
Beta Was this translation helpful? Give feedback.
-
My final goal is to use interactive segmentation on a pre-defined model with monailabel on 3D Slicer. I have generated a model (a .pth file) and now trying to integrate it into 3D Slicer by adding the path (in config deepedit.py) of .pth to the model.
I have tested the model and it is generating fine results. However, on running the model in 3D Slicer-auto segmentation section it gives completely off the track labels to Spleen.
I referred to -
https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/spleen_segmentation_3d.ipynb
to generate the weights for the model.
My question is how do we integrate these weight into the 3D Slicer to follow the ultimate guide for interactive segmentation? Please suggest ! Do we need to make some changes to the infer folder as well ?
Beta Was this translation helpful? Give feedback.
All reactions