Ir1d / DARKFACE_eval_tools

52 stars 12 forks source link

There might divided by zero with one predicted result #8

Closed desti-nation closed 5 years ago

desti-nation commented 5 years ago

With only one predicted face, the max score is equal to min score, because

max_score = max(max_score,max(score_list)); min_score = min(min_score,min(score_list)); and the following might cause problem: norm_score_list = (score_list - min_score)/(max_score - min_score);

https://github.com/Ir1d/DARKFACE_eval_tools/blob/master/norm_score.m#L27