wangleihitcs / CaptionMetrics

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'.

About

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


Languages

Language:Python 100.0%