class_docstr: `PointRend <https://arxiv.org/abs/1912.08193>`_.
class_docstr_tok: ["`","PointRend","<","https",":","\/\/arxiv.org\/abs\/1912.08193",">","`","_","."]
docstr: Initialize the weights in head.
  
  Args:
      pretrained (str, optional): Path to pre-trained weights.
docstr_tok: ["Initialize","the","weights","in","head",".","Args",":","pretrained","(","str",",","optional",")",":","Path","to","pre-trained","weights","."]
code: def init_weights(self, pretrained):
      """Initialize the weights in head.
  
      Args:
          pretrained (str, optional): Path to pre-trained weights.
      """
      super().init_weights(pretrained)
      self.point_head.init_weights()
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/point_rend_roi_head.py
imports: import torch
  import torch.nn.functional
  from mmcv.ops import point_sample, rel_roi_point_to_rel_img_point
  from mmdet.core import bbox2roi, bbox_mapping, merge_aug_masks
  from ..None import builder
  from ..builder import HEADS
  from .standard_roi_head import StandardRoIHead
label_desc: Use image node_id 3 for calling the PointRendRoIHead obj's underlying member method code with example usage: obj.init_weights(pretrained) without return types