code: def __init__(self, data_root, seq_name, data_type, num_classes):
      self.data_root = data_root
      self.seq_name = seq_name
      self.data_type = data_type
      self.num_classes = num_classes
  
      self.load_annotations()
      try:
          import motmetrics as mm
  
          mm.lap.default_solver = "lap"
      except Exception as e:
          raise RuntimeError(
              "Unable to use MCMOT metric, please install motmetrics, for example: `pip install motmetrics`, see https://github.com/longcw/py-motmetrics"
          )
      self.reset_accumulator()
  
      self.class_accs = []
  
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
  import pandas
  from .metrics import Metric
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 to create a new MCMOTEvaluator object from inherited base classes: object with example: obj = MCMOTEvaluator(data_root, seq_name, data_type, num_classes)