-
In MONAI, is there a pre-build function to combine multiple trained models and save predictions for a test set without labels? Since the majority of 3D medical datasets online are challenge datasets without labels for the test set, and to participate, you must submit test predictions. Can I perform ensembles of multiple models and just save the overall predictions, e.g., majority voting, without using test labels and calculating test loss? Moreover, I noticed that the method on the tutorial cannot handle many networks due to memory problems, for example, I can do an ensemble of 5 models but with 10 I have problems. I there a way to overcome this issue? Like some memory-saving tricks or kind of checkpoints in order to don't have limitations with the number of models? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi @cugwu, you could comment
And add
Since the parameters of the deep learning network are indeed very large, so adding a model for memory will indeed have a relatively large burden, you can try to set the amp to True in |
Beta Was this translation helpful? Give feedback.
Hi @cugwu, you could comment
key_val_metric
, then it will not calculate the metric if you don't have the label.And add
SaveImaged
in thepost_transforms
, then could save the ensemble results.