code: def __init__(
      self,
      anno_file,
      num_samples,
      num_joints,
      output_eval,
      oks_thre=0.9,
      save_prediction_only=False,
  ):
      super(KeyPointTopDownMPIIEval, self).__init__()
      self.ann_file = anno_file
      self.res_file = os.path.join(
          output_eval, "keypoints_results.json"
      )
      self.save_prediction_only = save_prediction_only
      self.reset()
  
imports: import os
  import json
  from collections import defaultdict, OrderedDict
  import numpy
  import paddle
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
  from ..modeling.keypoint_utils import oks_nms, keypoint_pck_accuracy, keypoint_auc, keypoint_epe
  from scipy.io import loadmat, savemat
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 to create a new KeyPointTopDownMPIIEval object from inherited base classes: object with example: obj = KeyPointTopDownMPIIEval(anno_file, num_samples, num_joints, output_eval, oks_thre, save_prediction_only)