We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6abbef commit 69eedb8Copy full SHA for 69eedb8
mmdet/models/detectors/two_stage.py
@@ -65,6 +65,9 @@ def init_weights(self, pretrained=None):
65
if self.with_bbox:
66
self.bbox_roi_extractor.init_weights()
67
self.bbox_head.init_weights()
68
+ if self.with_mask:
69
+ self.mask_roi_extractor.init_weights()
70
+ self.mask_head.init_weights()
71
72
def extract_feat(self, img):
73
x = self.backbone(img)
0 commit comments