a9e21cf7df52071c450a2dd2c5b53920dc0910ac,mmdet/models/detectors/cascade_rcnn.py,CascadeRCNN,init_weights,#CascadeRCNN#Any#,83
Before Change
self.bbox_roi_extractor[i].init_weights()
self.bbox_head[i].init_weights()
if self.with_mask:
self.mask_roi_extractor[i].init_weights()
self.mask_head[i].init_weights()
def extract_feat(self, img):
x = self.backbone(img)
After Change
self.bbox_roi_extractor[i].init_weights()
self.bbox_head[i].init_weights()
if self.with_mask:
if not self.share_roi_extractor:
self.mask_roi_extractor[i].init_weights()
self.mask_head[i].init_weights()
def extract_feat(self, img):
x = self.backbone(img)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: open-mmlab/mmdetection
Commit Name: a9e21cf7df52071c450a2dd2c5b53920dc0910ac
Time: 2019-04-16
Author: 727032989@qq.com
File Name: mmdet/models/detectors/cascade_rcnn.py
Class Name: CascadeRCNN
Method Name: init_weights
Project Name: open-mmlab/mmdetection
Commit Name: 779f6b69f9b845754c2699793402c846905af782
Time: 2020-02-14
Author: yhcao6@gmail.com
File Name: mmdet/models/mask_heads/htc_mask_head.py
Class Name: HTCMaskHead
Method Name: init_weights
Project Name: open-mmlab/mmdetection
Commit Name: a9e21cf7df52071c450a2dd2c5b53920dc0910ac
Time: 2019-04-16
Author: 727032989@qq.com
File Name: mmdet/models/detectors/two_stage.py
Class Name: TwoStageDetector
Method Name: init_weights