Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 708 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 708 Bytes

mscoco_caption_eval

Evaluation codes for mscoco caption generation.

REQUIREMENTS

  • java 1.8.0
  • python 2.7

FILES

./

  • evaluate_caption.py: demo script

./data

  • hypo.json: uploaded hypothese (un-tokenized) {'image_id', [caption]} the value has to be a list of length 1
  • tokenized_ref.json: tokenized references {'image_id', [caption, ...]}

./caption_eval: This is a folder where all evaluation codes are stored.

  • evals.py: includes Python classes of different methods.
  • tokenizer: PTBTokenizer
  • bleu: Bleu evalutation codes
  • meteor: Meteor evaluation codes
  • rouge: Rouge evaluation codes
  • cidr: Cidr evaluation codes

./misc: Miscellaneous files and scripts.