biubug6 / Pytorch_Retinaface

Retinaface get 80.99% in widerface hard val using mobilenet0.25.
MIT License
2.63k stars 774 forks source link

About the meaning of conf elements. #33

Closed anonymous530 closed 5 years ago

anonymous530 commented 5 years ago

Hi. The shape of conf is (N, boxes_num, 2). (N, boxes_num, 1:2) is the confidence of face classification. May I ask, is (N, boxes_num, 0:1) the confidence of not a face classification? Thanks.

biubug6 commented 5 years ago

When testing, conf[N, boxes_num, 1:2] =1 - conf[N, boxes_num, 0:1].

anonymous530 commented 5 years ago

When testing, conf[N, boxes_num, 1:2] =1 - conf[N, boxes_num, 0:1].

Thanks.