ENHANCE-PET / MOOSE

MOOSE (Multi-organ objective segmentation) a data-centric AI solution that generates multilabel organ segmentations to facilitate systemic TB whole-person research.The pipeline is based on nn-UNet and has the capability to segment 120 unique tissue classes from a whole-body 18F-FDG PET/CT image.
https://enhance.pet
GNU General Public License v3.0
196 stars 28 forks source link

[Feat] How to run all models at once? #72

Closed LalithShiyam closed 1 year ago

LalithShiyam commented 1 year ago

Discussed in https://github.com/QIMP-Team/MOOSE/discussions/71

Originally posted by **rullator** October 16, 2023 Hi all, as stated MOOSE can simply be started by typing: `moosez -d -m clin_ct_organs` Im comparison to the earlier version, seperated models exist. But how can I start MOOSE aiming to run all models at once? I already tried: `moosez -d -m clin_ct_organs -m clin_ct_cardiac` -> It uses only the last given model. `moosez -d -m clin_ct_organs clin_ct_cardiac` -> Returns an error: `moosez: error: unrecognized arguments: clin_ct_cardiac` Running sequentially `moosez -d -m clin_ct_organs ` `moosez -d -m clin_ct_cardiac` -> Runs into error since it creates a folder within each subject (`moosez-clin_*`) and MOOSE cannot handle the created folder in the second run (`IsADirectoryError: [Errno 21] Is a directory: 'SUBJECT/moosez-clin_ct_organs-2023-10-16-12-14-09/CT'`). Can someone possibly help? PS: Wasn't sure whether this question belongs to "Issues" or whether I'm just on the wrong way and missed something..
LalithShiyam commented 1 year ago

Fixed this here! 👍🏾