Validation_set_Accuracy in MONAILabel


I am currently using MONAILabel extension with Slicer and I would like to ask how I can define which data is assigned for the calculation of the validation Dice similarity metric. I know I can adjust the percentage which is used for this calculation but can I also select on which data would this calculation based on?

Thank you :slight_smile:

1 Like

Hi @Spiros_Karkavitsas,

Good question. Here is the method used to split the training and validation dataset:

you could replace this method in the training file (BasicTrainTask class) like this:

hope this helps,