code: def get_summary(
      accs,
      names,
      metrics=(
          "mota",
          "num_switches",
          "idp",
          "idr",
          "idf1",
          "precision",
          "recall",
      ),
  ):
      names = copy.deepcopy(names)
      if metrics is None:
          metrics = mm.metrics.motchallenge_metrics
      metrics = copy.deepcopy(metrics)
  
      mh = mm.metrics.create()
      summary = mh.compute_many(
          accs, metrics=metrics, names=names, generate_overall=True
      )
      return summary
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import copy
  import sys
  import math
  from collections import defaultdict
  import numpy
  from ppdet.modeling.bbox_utils import bbox_iou_np_expand
  from .map_utils import ap_per_class
  from .metrics import Metric
  from .munkres import Munkres
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 6 for calling the MOTEvaluator obj's underlying member method code with example usage: obj.get_summary(accs, names, metrics) and returns: summary