def init_weights(self):
    super(ConvFCBBoxHeadSeparate, self).init_weights()
    for module_list in [self.shared_fcs, self.cls_fcs, self.reg_fcs]:
        for m in module_list.modules():
            if isinstance(m, nn.Linear):
                nn.init.xavier_uniform_(m.weight)
                nn.init.constant_(m.bias, 0)
def init_weights(self):
    super(ConvFCBBoxHeadSeparate, self).init_weights()
    for module_list in [self.shared_fcs, self.cls_fcs, self.reg_fcs]:
        for m in module_list.modules():
            if isinstance(m, nn.Linear):
                nn.init.xavier_uniform_(m.weight)
                nn.init.constant_(m.bias, 0)