code: def get_log_dict(self):
      log_dict = {}
      for k, v in self.meters.items():
          if "train" in k:
              log_dict[k] = f"{v.median:.4f}"
              log_dict[f"{k}/avg"] = f"{v.global_avg:.4f}"
          else:
              log_dict[k] = f"{v.global_avg:.4f}"
      return log_dict
  
imports: from collections import defaultdict, deque
  import torch
  from mmf.common.registry import registry
  from mmf.utils.distributed import reduce_dict
  from mmf.utils.general import scalarize_dict_values
label_desc: Use image node_id 7 for calling the Meter obj's underlying member method code with example usage: obj.get_log_dict() and returns: log_dict