HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the calculation of metrics

abcxubu opened this issue · comments

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.