insightface icon indicating copy to clipboard operation
insightface copied to clipboard

question about the retinaface

Open wwdok opened this issue 3 years ago • 2 comments

  1. why the classification loss have two value, i think one value is enough, such as 0 means no face, 1 means having face.
  2. why there is a crop after unsample: image

wwdok avatar Jun 14 '22 16:06 wwdok

As there're two anchors in one feature map

nttstar avatar Jun 15 '22 16:06 nttstar

@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: image 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 !

wwdok avatar Jun 18 '22 06:06 wwdok