class_docstr: Base class for RoIHeads.
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.
      """
      pass
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/base_roi_head.py
imports: from abc import ABCMeta, abstractmethod
  import torch.nn
  from ..builder import build_shared_head
label_desc: Use image node_id 5 for calling the BaseRoIHead obj's underlying member method code with example usage: obj.init_weights(pretrained) without return types