CharlesShang / FastMaskRCNN

Mask RCNN in TensorFlow
Apache License 2.0
3.1k stars 1.1k forks source link

confused about the mask_targets implementation #156

Closed brisker closed 6 years ago

brisker commented 6 years ago

In the original paper, "the mask target is the intersection between an RoI and its associated ground-truth mask." . But it seems that the code here: https://github.com/CharlesShang/FastMaskRCNN/blob/master/libs/layers/mask.py#L73-L76 just use the associated ground-truth mask, not the intersection between an RoI and its associated ground-truth mask, as the "mask_target". So is there any bug in the code , or have I understand something wrong? @CharlesShang

brisker commented 6 years ago

I am wrong, closing this.

chenguanfu511 commented 5 years ago

I am also wondering this? I see the code is get the roi crop from the target mask. image