Skip to content

vrama91/mscoco_caption_eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

evaluation codes for mscoco

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages