is there something wrong with hard negative mining?
Opened this issue · 3 comments
KaleidoZhouYN commented
the implement of hard negative mining actually decrease the anchor number so when positive number = 0,negative number will be = 0 too
XiaXuehai commented
positive number != 0, because https://github.com/XiaXuehai/faceboxes/blob/master/dataset.py#L131.
There is an imbalance between the positive and negative examples if you do not use hard negative mining.
KaleidoZhouYN commented
positive number != 0, because https://github.com/XiaXuehai/faceboxes/blob/master/dataset.py#L131.
There is an imbalance between the positive and negative examples if you do not use hard negative mining.
yes,the box in the random crop will no be 0 but the positive anchor will be 0 because of the IOU
XiaXuehai commented
When encoding, we set the max IOU to be the positive anchor.