code: def __init__(
      self,
      teacher,
      student,
      train_cfg=None,
      test_cfg=None,
      RTDETRTransformer=None,
      num_classes=80,
  ):
      super(DETR_SSOD, self).__init__(
          dict(teacher=teacher, student=student),
          train_cfg=train_cfg,
          test_cfg=test_cfg,
      )
      self.ema_start_iters = train_cfg["ema_start_iters"]
      self.momentum = 0.9996
      self.cls_thr = None
      self.cls_thr_ig = None
      self.num_classes = num_classes
      if train_cfg is not None:
          self.freeze("teacher")
          self.unsup_weight = self.train_cfg["unsup_weight"]
          self.sup_weight = self.train_cfg["sup_weight"]
          self._teacher = None
          self._student = None
          self._transformer = None
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from ppdet.core.workspace import register, create, merge_config
  import paddle
  import numpy
  import paddle
  import paddle.nn.functional
  from ppdet.core.workspace import register, create
  from ppdet.utils.logger import setup_logger
  from ppdet.modeling.ssod.utils import filter_invalid
  from .multi_stream_detector import MultiSteamDetector
label_desc: Use image node_id 1 to create a new DETR_SSOD object from inherited base classes: MultiSteamDetector with example: obj = DETR_SSOD(teacher, student, train_cfg, test_cfg, RTDETRTransformer, num_classes)