class_docstr: COCOEvalCap code is adopted from https://github.com/tylin/coco-caption
class_docstr_tok: ["COCOEvalCap","code","is","adopted","from","https",":","\/\/github.com\/tylin\/coco-caption"]
code: def __init__(self, img_ids, coco, coco_res):
      self.eval_imgs = []
      self.eval = dict()
      self.img_to_eval = dict()
      self.coco = coco
      self.coco_res = coco_res
  
file_path: mmf/tools/scripts/coco/coco_caption_eval.py
imports: import argparse
  import json
  from pycocoevalcap.bleu.bleu import Bleu
  from pycocoevalcap.cider.cider import Cider
  from pycocoevalcap.meteor.meteor import Meteor
  from pycocoevalcap.rouge.rouge import Rouge
  from pycocoevalcap.spice.spice import Spice
  from pycocoevalcap.tokenizer.ptbtokenizer import PTBTokenizer
label_desc: Use image node_id 1 to create a new COCOEvalCap object  with example: obj = COCOEvalCap(img_ids, coco, coco_res)