code: def __init__(
      self,
      backbone,
      neck,
      rpn_head,
      roi_head,
      post_process="SparsePostProcess",
  ):
      super(QueryInst, self).__init__()
      self.backbone = backbone
      self.neck = neck
      self.rpn_head = rpn_head
      self.roi_head = roi_head
      self.post_process = post_process
  
file_path: PaddleDetection/ppdet/modeling/architectures/queryinst.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
label_desc: Use image node_id 1 to create a new QueryInst object from inherited base classes: BaseArch with example: obj = QueryInst(backbone, neck, rpn_head, roi_head, post_process)