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 compute Recall@100 #7
Comments
In the third step, it should be : number_of_positive_prediction / number_of_all_gt_box * 100, for example: 50 / 100 * 100 = 50% |
Yes. Thanks! By the way, how to generate word embedding vectors seems very confusing. Here is the script I used.
|
Hi, I directly used the word embedding vectors from https://github.com/salman-h-khan/PL-ZSD_Release/blob/master/MSCOCO/word_w2v.txt. I think your normalization operation is correct and I suspect the pre-trained w2v model could be different. (I also do not know which pre-trained w2v model used in https://github.com/salman-h-khan/PL-ZSD_Release, and I just use the same embedding vectors for fair comparison) |
OK, thanks very much for your kind answers. |
Hi, one of the evaluation metric for zero shot object detection is Recall@100, but how to compute it is not very clear.
My understanding is following.
First, select top 100 detections from an image.
Second, mark a predicted bounding box as positive if it has an IoU greater than a threshold (0.5 for example) and no other higher confidence bounding box has been assigned to the same GT box.
Third, compute recall@100 for this image number_of_positive_prediction / 100.
Forth, compute recall@100 for all images sum(recall@100 for each image) / number_of_image.
Is it correct ? Thanks a lot!
The text was updated successfully, but these errors were encountered: