class_docstr: Mask Scoring RoIHead for Mask Scoring RCNN.
  
  https://arxiv.org/abs/1903.00241
docstr: Initialize the weights in head.
  
  Args:
      pretrained (str, optional): Path to pre-trained weights.
          Defaults to None.
docstr_tok: ["Initialize","the","weights","in","head",".","Args",":","pretrained","(","str",",","optional",")",":","Path","to","pre-trained","weights",".","Defaults","to","None","."]
code: def init_weights(self, pretrained):
      """Initialize the weights in head.
  
      Args:
          pretrained (str, optional): Path to pre-trained weights.
              Defaults to None.
      """
      super(MaskScoringRoIHead, self).init_weights(pretrained)
      self.mask_iou_head.init_weights()
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/mask_scoring_roi_head.py
imports: import torch
  from mmdet.core import bbox2roi
  from ..builder import HEADS, build_head
  from .standard_roi_head import StandardRoIHead
label_desc: Use image node_id 2 for calling the MaskScoringRoIHead obj's underlying member method code with example usage: obj.init_weights(pretrained) without return types