Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we caculate recall when we get the MAP? #3753

Open
ChenCong7375 opened this issue Aug 12, 2019 · 3 comments
Open

How can we caculate recall when we get the MAP? #3753

ChenCong7375 opened this issue Aug 12, 2019 · 3 comments

Comments

@ChenCong7375
Copy link

There used to be mAP and Recall when I valided my data.
But now there is only mAP .
I want to get P-R curve but it seems to be impossible.
How should I modified the code?

@AlexeyAB
Copy link
Owner

If you will provide screenshot, then you will see that there are both mAP and Recall (conf_thresh=0.24)

But if you want to build PR-curve, uncomment this line:

//printf("Precision = %1.2f, Recall = %1.2f, avg IOU = %2.2f%% \n\n", class_precision, class_recall, avg_iou_per_class[i]);

@LukeAI
Copy link

LukeAI commented Aug 17, 2019

Getting this information sounds nice, is there a reason that isn't output by default?

@AlexeyAB
Copy link
Owner

@LukeAI F.e., if you use for MS COCO - 101 points for 80 classes - you will get 8080 output lines.
If you use AUC (Area Under Curve) then you can get millions lines.

So may be there should be additional flag to output it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants