opendet2 icon indicating copy to clipboard operation
opendet2 copied to clipboard

Question about Figure 2 in paper

Open zhongxiangzju opened this issue 3 years ago • 3 comments

Nice job! Could you please explain the "latent feature" used in Figure 2 clearer? Is it the output of Contrastive Head(CH) OR the input of CH(output of RoI Align after flattern)? Thanks.

zhongxiangzju avatar Apr 07 '22 08:04 zhongxiangzju

It is the output of bbox head (RoI Align+FCs).

We add a hook to roi_heads.py.

def _forward_box(self, features: Dict[str, torch.Tensor], proposals: List[Instances], targets=None):
   #####
   # remove some lines
   #####
    if self.log_feature:
        gt_classes = torch.cat([p.gt_classes for p in targets])
        # gt_classes = torch.cat([p.gt_classes for p in proposals])
        if isinstance(box_features, tuple):
            box_features = self.box_pooler(
                features, [x.gt_boxes for x in targets])
            box_features = self.box_head(box_features)
            self._save_features(box_features[1], gt_classes)
        else:
            self._save_features(box_features, gt_classes)

csuhan avatar Apr 07 '22 09:04 csuhan

Thanks a lot. Another issue is that what's the difference between baseline in Table 3 and FR-CNN in Table 1? Their results are quite similar, but not the same.

screenshot of Table 1 image

screenshot of Table 3 image

zhongxiangzju avatar May 06 '22 06:05 zhongxiangzju

FR-CNN is a standard FR-CNN, while baseline denotes a variant of FR-CNN with some modifications (see Sec. 3.2). Although the baseline does not improve the open-set performance, it works better for our CFL and UPL.

csuhan avatar May 07 '22 05:05 csuhan