code: def update(self, labels, preds):
      self.count += 1
      label = labels[0].asnumpy()
      pred_label = preds[-1].asnumpy()
      nme = self.cal_nme(label, pred_label)
  
      # print('nme', nme)
      # nme = np.mean(nme)
      self.sum_metric += np.mean(nme)
      self.num_inst += 1.0
  
file_path: insightface/alignment/heatmap/metric.py
imports: import mxnet
  import numpy
  import math
  import cv2
  from config import config
label_desc: Use image node_id 3 for calling the NMEMetric obj's underlying member method code with example usage: obj.update(labels, preds) without return types