code: def __init__(
      self,
      backbone,
      transformer="DETRTransformer",
      detr_head="DETRHead",
      neck=None,
      post_process="DETRPostProcess",
      post_process_semi=None,
      with_mask=False,
      exclude_post_process=False,
  ):
      super(DETR, self).__init__()
      self.backbone = backbone
      self.transformer = transformer
      self.detr_head = detr_head
      self.neck = neck
      self.post_process = post_process
      self.with_mask = with_mask
      self.exclude_post_process = exclude_post_process
      self.post_process_semi = post_process_semi
  
file_path: PaddleDetection/ppdet/modeling/architectures/detr.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from .meta_arch import BaseArch
  from ppdet.core.workspace import register, create
label_desc: Use image node_id 1 to create a new DETR object from inherited base classes: BaseArch with example: obj = DETR(backbone, transformer, detr_head, neck, post_process, post_process_semi, with_mask, exclude_post_process)