HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.
MIT License
2.13k stars 381 forks source link

About the calculation of metrics #55

Open abcxubu opened 2 years ago

abcxubu commented 2 years ago

Thanks for your wonderful work. I have learned a lot from it. I'm a little confused about the calculation of the metrics (e.g., Dice, ASD) in test_3D_utils on line 106 (metric = calculate_metric_percase(label == 1, prediction == 1)). I am wondering the order of 'label == 1' and 'prediction == 1' could be changed.