insightface
insightface copied to clipboard
question about the retinaface
- why the classification loss have two value, i think one value is enough, such as 0 means no face, 1 means having face.
- why there is a crop after unsample:

As there're two anchors in one feature map
@nttstar I know there are two anchors for each grid, let me describe my question more detailedly with following image, it is one of the heads of the model:
As there are two anchors for each grid, so 20 stands for 5 keypoints with x y coordinates for 2 anchors, 8 stands for 4 box regression value for 2 anchors, then 4 stands for 2 classification value for 2 anchors ?
BTW, do you konw my 2nd quesion ? Thanks in advance !