How to test a model on testing dataset ? #3875
-
Hello. I am trying to use this notebook tutorial for my dataset and for the training I received quite good results best score of 96%. I noticed the size of your dataset was 61 3D volumes (41 Training + 20 Testing). So you used 32 cases for training, 9 cases for validation and normally 20 cases should be for testing. In the end of notebook there is an "evaluation of model on original image spacings" where as I understood you used validation 9 cases. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @HripsimeS , do inference is very close to do validation, except the calculating metrics/losses part. |
Beta Was this translation helpful? Give feedback.
-
@HripsimeS converted to a discussion on the MONAI main repository. |
Beta Was this translation helpful? Give feedback.
Hi @HripsimeS , do inference is very close to do validation, except the calculating metrics/losses part.
You may need to set transforms that do not include
"label"
.You can also refer to this tutorial:
https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/torch/unet_inference_dict.py