ef03d179685dcadd08bb260b173be0ef98029201,mmdet/models/dense_heads/fovea_head.py,FoveaHead,init_weights,#FoveaHead#,154

Before Change


                padding=1)

    def init_weights(self):
        for m in self.cls_convs:
            normal_init(m.conv, std=0.01)
        for m in self.reg_convs:
            normal_init(m.conv, std=0.01)
        bias_cls = bias_init_with_prob(0.01)
        normal_init(self.fovea_cls, std=0.01, bias=bias_cls)

After Change


                padding=1)

    def init_weights(self):
        super().init_weights()
        if self.with_deform:
            self.feature_adaption.init_weights()

    def forward_single(self, x):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: open-mmlab/mmdetection
Commit Name: ef03d179685dcadd08bb260b173be0ef98029201
Time: 2020-06-30
Author: yhcao6@gmail.com
File Name: mmdet/models/dense_heads/fovea_head.py
Class Name: FoveaHead
Method Name: init_weights


Project Name: dmlc/dgl
Commit Name: 3e8b63ecd3cb34bfcd3488f2f7d38dcba480192f
Time: 2018-11-22
Author: mufeili1996@gmail.com
File Name: examples/pytorch/dgmg/model.py
Class Name: MLP
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: ef03d179685dcadd08bb260b173be0ef98029201
Time: 2020-06-30
Author: yhcao6@gmail.com
File Name: mmdet/models/dense_heads/fcos_head.py
Class Name: FCOSHead
Method Name: init_weights