-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about Figure 2 in paper #2
Comments
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) |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: