Skip to content

shubhamkasera42/coco-caption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft COCO Caption Evaluation

Evaluation codes for MS COCO caption generation.

REQUIREMENTS

  • java 1.8.0
  • python 2.7

FILES

./

  • evaluate_caption.py: demo script

./data

  • captions_val2014.json The caption annotations of COCO2014 validation set. It can be downloaded from http://mscoco.org/download
  • captions_val2014_submission.json: The generated captions for evaluation. It follows the similar format as "annotations" field in COCO annotation: [{"image_id": int, "caption": str}]

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

  • evals.py: includes Python classes of different methods.
  • utils.py: utility functions for parsing data.
  • tokenizer: PTBTokenizer
  • bleu: Bleu evalutation codes
  • meteor: Meteor evaluation codes
  • rouge: Rouge evaluation codes
  • cider: CIDEr evaluation codes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.6%
  • Jupyter Notebook 42.1%
  • Python 3.3%