-
Hello, I was following the tutorial for this lung nodule detection on monaibundle at https://github.com/Project-MONAI/tutorials/blob/main/monailabel/monailabel_monaibundle_3dslicer_lung_nodule_detection.ipynb But i was wondering is there something like the radiology sample app from this link? The monaibundle has a script folder containing some .py scripts (trainer.py, detection_inferer.py) but im not sure how similar it is to the sample-apps. I'm asking because I am looking to do a multi-stage detection+segmentation. Is it even possible? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hi @junxiant, Great question. Multi-stage systems are possible in MONAI Label. Here you can find two examples: 1/ Multistage vertebra segmentation: https://github.com/Project-MONAI/MONAILabel/tree/main/sample-apps/radiology#Multistage-Vertebra-Segmentation https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/infers/vertebra_pipeline.py 2/ Dental pipeline: Project-MONAI/MONAI#5896 https://github.com/dgmato/MONAILabel/blob/dental-pipeline/sample-apps/radiology/lib/infers/dental_pipeline.py Those two examples are both with segmentation stages. However, there is no a limitation to create a combination of detection and segmentation. One way could be to have both models into Radiology app format. This means, the detection bundle should be in MONAI Label Radiology format with all the classes (infer and train) and then combined them into a single pipeline. Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
Thanks @diazandr3s , Since I downloaded the monaibundle versions, it is all in json format, which needs to be converted into the MONAI Label Radiology format first, and then create a pipeline which runs detection -> segmentation. So, in the configs, infers, trainers folder i would need to have the detection + segmentation scripts, and another pipeline script in the infers folder. I have not tried those 2 pipeline models yet, but will active learning still work? I would imagine needing to do both detection + segmentation annotation, and then submit it separately, and train the detection + segmentation models separately right? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I was looking into the json files when the labels were submitted. lung_006.json for two ROI with the same color seems to have the same default label naming of "ROI". Seems like color matters to differentiate classes, but naming does not have any effect. I will attach the 2 json files here too. So i dont think active learning would work if i add another class? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So to conclude, the multi-stage works. But trying multi-class with active learning will not work. It needs to be trained from scratch. |
Beta Was this translation helpful? Give feedback.
So to conclude, the multi-stage works.
But trying multi-class with active learning will not work. It needs to be trained from scratch.