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 to calculate TP , TN, FP and FN ? #3

Closed
vishnuvardhan58 opened this issue Oct 28, 2020 · 1 comment
Closed

How to calculate TP , TN, FP and FN ? #3

vishnuvardhan58 opened this issue Oct 28, 2020 · 1 comment

Comments

@vishnuvardhan58
Copy link

vishnuvardhan58 commented Oct 28, 2020

@soumyaiitkgp I am using my own dataset which consists of 1235 images in total. I have divided 864 images into a training set and 371 images in the test set. After the training process is done, I am trying to make predictions on each image in my test set. I know that there is a "compute_ap" function which returns the mAp value after sending "gt_bbox, gt_class_id, gt_mask, r["rois"], r["class_ids"], r["scores"], r['masks']" as parameters. But I want to know the values of TP, TN, FP, and FN of the entire test set? Can you please help me in finding these values? Is there any predefined function available in the model which returns these values?

@soumyaiitkgp
Copy link
Owner

Thank you @vishnuvardhan58 for raising the issue. If someone is looking for a possible solution, follow the discussion for the above query visit here:
matterport/Mask_RCNN#2408

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

2 participants