lassoan / SlicerMONAIAuto3DSeg

Extension for 3D Slicer for running MONAI Auto3DSeg models
MIT License
67 stars 10 forks source link

Allow model ensemble? #77

Open che85 opened 2 months ago

che85 commented 2 months ago

@diazandr3s Do you think there is a way to bring model ensemble into this module? I just trained on some data which provided great results during the testing phase using model ensemble that usually runs in the end after finishing 5-fold training with Auto3DSeg.

Screenshot 2024-09-09 at 10 59 36 AM

When running on the same data, but choosing to run with the seemingly best model (when looking at the Tensorboard graphs), it turns out to not be as good as the same data segmented with model ensemble.

for reference: https://github.com/Project-MONAI/tutorials/blob/main/auto3dseg/docs/ensemble.md

I am unsure how much of the original training information it would need since it's requesting the work_dir to make all these ranking decisions.

Is there a better way of combining all models into the best one to just use the current module as is?

che85 commented 2 months ago

For reference, I started a discussion asking for combining all best ranked models into one: https://github.com/Project-MONAI/MONAI/discussions/8074

che85 commented 2 months ago

Comment by @diazandr3s : https://github.com/Project-MONAI/tutorials/discussions/1713#discussioncomment-9640768

diazandr3s commented 2 months ago

Hi @che85,

Thanks for your question! You raise a valid point. We initially used ensemble models, but they significantly increased inference time. That's why we switched to a single model. However, if users are okay with longer inference times, I don't see any blockers to reintroducing this feature.