code: def __init__(
      self, model: Dict[str, BaseArch], train_cfg=None, test_cfg=None
  ):
      super(MultiSteamDetector, self).__init__()
      self.submodules = list(model.keys())
      for k, v in model.items():
          setattr(self, k, v)
  
      self.train_cfg = train_cfg
      self.test_cfg = test_cfg
      self.inference_on = self.test_cfg.get(
          "inference_on", self.submodules[0]
      )
      self.first_load = True
  
file_path: PaddleDetection/ppdet/modeling/architectures/multi_stream_detector.py
imports: from typing import Dict
  from collections import OrderedDict
  from ppdet.modeling.architectures.meta_arch import BaseArch
label_desc: Use image node_id 1 to create a new MultiSteamDetector object from inherited base classes: BaseArch with example: obj = MultiSteamDetector(model, train_cfg, test_cfg)