class_docstr: PointRend: Image Segmentation as Rendering
  
  This detector is the implementation of
  `PointRend <https://arxiv.org/abs/1912.08193>`_.
class_docstr_tok: ["PointRend",":","Image","Segmentation","as","Rendering","This","detector","is","the","implementation","of","`","PointRend","<","https",":","\/\/arxiv.org\/abs\/1912.08193",">","`","_","."]
code: def __init__(
      self,
      backbone,
      rpn_head,
      roi_head,
      train_cfg,
      test_cfg,
      neck=None,
      pretrained=None,
  ):
      super(PointRend, self).__init__(
          backbone=backbone,
          neck=neck,
          rpn_head=rpn_head,
          roi_head=roi_head,
          train_cfg=train_cfg,
          test_cfg=test_cfg,
          pretrained=pretrained,
      )
  
imports: from ..builder import DETECTORS
  from .two_stage import TwoStageDetector
label_desc: Use image node_id 1 to create a new PointRend object from inherited base classes: TwoStageDetector with example: obj = PointRend(backbone, rpn_head, roi_head, train_cfg, test_cfg, neck, pretrained)