Hey Altimis,
I used this repo to calculate the confusion matrix for classes (background and trees). I am really not sure about the totals in sum_lin and sum_col.

Here 56.79% is precision and 88.33% is recall for class trees right?
As the tp,fp, fn as per code are as follows:

As precision is calculated TP/(TP+FP) and Recall TP/(TP+FN).
Then I calculated mAP, mAR and F1 and got this

Shouldnt the mAP, mAR calculated and in confusion matrix be same or I am completely misunderstanding the orientation of false and trues in the matrix? Could you please help me understand it.
Many Thanks.
Hey Altimis,
I used this repo to calculate the confusion matrix for classes (background and trees). I am really not sure about the totals in sum_lin and sum_col.
Here 56.79% is precision and 88.33% is recall for class trees right?
As the tp,fp, fn as per code are as follows:
As precision is calculated TP/(TP+FP) and Recall TP/(TP+FN).
Then I calculated mAP, mAR and F1 and got this
Shouldnt the mAP, mAR calculated and in confusion matrix be same or I am completely misunderstanding the orientation of false and trues in the matrix? Could you please help me understand it.
Many Thanks.