Difference between dice scores in postprocessing.json #806
-
hello, I got vastly different dice scores for the 3 variables(dc_per_class_pp_all, dc_per_class_pp_per_class, dc_per_class_raw) in the postprocessing.json.
I looked at the script(https://github.com/MIC-DKFZ/nnUNet/blob/a7d1d875e8fc3f4e93ca7b51b1ba206711844d92/nnunet/postprocessing/connected_components.py) and found in comments their explanation but its unclear to me what these 3 variables mean and which one I should trust/report for dice scores especially for Class 2? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Rohan, you don't need to worry about that. dc_per_class_raw is the dice scores without any postprocessing. dc_per_class_pp_all is what the scores would be if everything except the largest foreground region was removed (in your case it gets a lot worse for class 2 so this step is not done) and finally it uses the outcome of dc_per_class_pp_all (in your case it doesnt use that but the raw data) and tried to remove all but the largest connected component for each individual foreground class (dc_per_class_pp_per_class) |
Beta Was this translation helpful? Give feedback.
Hi Rohan, you don't need to worry about that. dc_per_class_raw is the dice scores without any postprocessing. dc_per_class_pp_all is what the scores would be if everything except the largest foreground region was removed (in your case it gets a lot worse for class 2 so this step is not done) and finally it uses the outcome of dc_per_class_pp_all (in your case it doesnt use that but the raw data) and tried to remove all but the largest connected component for each individual foreground class (dc_per_class_pp_per_class)