pengzhou1108 / RGB-N

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to calculate the F1 score?

HuizhouLi opened this issue · comments

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.

Hi,

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