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 set_eval(self, score, method):
      self.eval[method] = score
  
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 3 for calling the COCOEvalCap obj's underlying member method code with example usage: obj.set_eval(score, method) without return types