/CaptionMetrics

Image Caption metrics: Bleu、Cider、Meteor、Rouge、Spice

Primary LanguagePython

introduce

Image Caption Metrics: Bleu、Cider、Meteor、Rouge、Spice

library

  • python3.5 or python2.7
  • jdk-1.8
  • Stanford CoreNLP 3.6.0(download)
    • add stanford-corenlp-3.6.0.jar to pycocoevalcap/spice/lib/
    • add stanford-corenlp-3.6.0-models.jar to pycocoevalcap/spice/lib/

examples

  • $ python main.py class-activation-mapping

reference

e.g

There is some thing wrong in python3, but python2 is right.
Fix the problem 'cider = 0 when only one image caption'.