Dice score evaluator #4301
Unanswered
hikkiMourad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@ppwwyyxx I would like to have your opinion on my implementation of the dice score to evaluate the predicted masks of mask r-CNN.
The of my implementation is to loop over inputs, for each input I loop over classes, for each class I merge the masks of ground truth instances into one mask, I do the same for the predicted instances and finally I calculate the dice score of the two masks, at the end I display the mean dice of each class
here it is my implementation:
https://github.com/hikkiMourad/detectron2/blob/main/detectron2/evaluation/dice_evaluator.py
Beta Was this translation helpful? Give feedback.
All reactions