WiderFace-Evaluation
WiderFace-Evaluation copied to clipboard
how to get the precision and recall from the Evaluation Script URGENT !!!
I want to know which part of the code is calculating the precision and recall in the evaluation script.
is this line of code gives the precision and recall, and i especially want the recall values, the below code gives values for 1000 points. does that mean it is for 1000 images ?? URGENT !!
propose = pr_curve[:, 0]
recall = pr_curve[:, 1]
@Hiteshsaai 1000 points for evaluation, not 1000 images.
@wondervictor what do you mean by points and can you tell me whether this line of code below is the right one to get the precision and recall, if not can you help me with getting them from the evaluation script?
propose = pr_curve[:, 0]
recall = pr_curve[:, 1]
@wondervictor @Hiteshsaai I want to calculate detection accuracy. Can you explain the logic for calculating precision and recall in your code ?
@SURABHI-GUPTA you can get the recall & precision from the evaluation function of the evaluation.py script.
Declare a new array for precision and recall and Append propose and recall values for every iteration into the respective array in the evaluation function at the end after line number 260, and return those two arrays.
Each array will have three nested array inside it like ---> [[],[],[]] using that you can calculate precision and recall.
@wondervictor I don’t understand why I set 1000 points for calculation, and I don’t know how to calculate the reasonable rate and value rate. What is the principle of this design?
Has anyone figured it out ?