code: def print_metrics(res_metrics):
      print(res_metrics)
      keys = [
          "Bleu_1",
          "Bleu_2",
          "Bleu_3",
          "Bleu_4",
          "METEOR",
          "ROUGE_L",
          "SPICE",
          "CIDEr",
      ]
      print("\n\n**********\nFinal model performance:\n**********")
      for k in keys:
          print(k, ": %.1f" % (res_metrics[k] * 100))
  
imports: import json
  import numpy
  import tools.scripts.coco.coco_caption_eval
label_desc: Use image node_id 1 for calling a global function with example usage: print_metrics(res_metrics) without return types