code: def __call__(self, pred_label, *args, **kwargs):
      preds, labels = pred_label
      correct_num = 0
      all_num = 0
      for pred, target in zip(preds, labels):
          if pred == target:
              correct_num += 1
          all_num += 1
      self.correct_num += correct_num
      self.all_num += all_num
      return {
          "acc": correct_num / (all_num + self.eps),
      }
  
imports: from rapidfuzz.distance import Levenshtein
  from difflib import SequenceMatcher
  import numpy
  import string
label_desc: Use image node_id 2 for calling the CNTMetric obj's underlying member method code with example usage: obj.__call__(pred_label) and returns: dict