Open lucasjinreal opened 4 years ago
Just saw this:
In this case, how to disable detector in code avoid compute precise cooridinates of every ROI?
@jinfagang the mask head does not use the boxes
in the Instances
. We use Instances
here just for the simplicity of implementation.
@tianzhi0549 I see.. does it need retrain the model if open DISABLE_REL_COORDS
on?
Yes, because the number of generated parameters is changed.
@tianzhi0549 Does there any model provided with disable boxes? Hoping to see the model performance without detector for instance segmentation task.
@tianzhi0549 The results are reported in Table 3 of our paper. We do not have the model for this implementation.
@tianzhi0549 Will u consider update such a model? I think just resnet50 is enough for comparasion. Also, I have one last question, even it can be disable in:
if not self.disable_rel_coords:
It still need a value of:
mask_head_inputs = mask_feats[im_inds].reshape(n_inst, self.in_channels, H * W) <- how to get n_inst if not compute boxes?
It would be great if you guys can provide just one model without detector!
@jinfagang 1) Sorry, we do not have such a plan. 2) The number of instances will be the number of positive locations determined by the classification branch.
From the paper it shows CondInst using FCOS output directly feed into mask head generate mask. While looking into the code, it still using proposals (which compute every coodinates of boxes) then feed into mask head for predict mask.
my question is, if using features directly from FCOS outputs, why it necessary wrap it into Instance object which is a list of bboxes?