unsky / FPN

Feature Pyramid Networks for Object Detection
522 stars 263 forks source link

self._allowed_border = layer_params.get('allowed_border', 1000) #88

Closed unicoe closed 5 years ago

unicoe commented 5 years ago

FPN/lib/rpn/anchor_target_layer.py 中

self._allowed_border = layer_params.get('allowed_border', 1000)

请问为什么边界值要设为1000呢?如果设置为1000的话,在筛选anchor的时候,不就会把超过边界的anchor也包含进来?

unsky commented 5 years ago

原始论文里面支持框超出图片的部分,在这里因为是gt,所以不会出现框完全在图片外的情况

unicoe commented 5 years ago

明白了,感谢~