code: def update_ema_model(self, momentum=0.9996):
      # print(momentum)
      model_dict = self.student.state_dict()
      new_dict = OrderedDict()
      for key, value in self.teacher.state_dict().items():
          if key in model_dict.keys():
              new_dict[key] = (
                  model_dict[key] * (1 - momentum) + value * momentum
              )
          else:
              raise Exception(
                  "{} is not found in student model".format(key)
              )
      self.teacher.set_dict(new_dict)
  
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 6 for calling the MultiSteamDetector obj's underlying member method code with example usage: obj.update_ema_model(momentum) without return types