SAM2-UNet
SAM2-UNet copied to clipboard
calculate evaluation metrics such as Dice, IOU, and HD
Dear AI Engineer, how can I calculate evaluation metrics such as Dice, IOU, and HD? Could you provide me with some code? I found some code online regarding this topic, but I encountered some issues when running it. I would greatly appreciate it if you could share your code for these metrics! Thank you very much!