pengzhou1108 / RGB-N

MIT License
162 stars 48 forks source link

How to calculate the F1 score? #15

Open HuizhouLi opened 5 years ago

HuizhouLi commented 5 years ago

Hello, peng! Sorry to disturb you. In the paper you use F1 score to evaluate the model. I know the formula for calculating the F1 score. But what I get is the coordinates and score of the bounding box. How do I calculate the F1 score at the pixel level? I tried to calculate F1 score with the precision and recall from voc_eval.py. But I feel that this is not correct. Please tell me how to calculate F1 score . Thank you very much.

pengzhou1108 commented 5 years ago

Hi,

The metric follows the same as MFCN paper. Varying the threshold to get the best F1 score.