coco-caption
coco-caption copied to clipboard
Adds SPICE metric to coco-caption evaluation server codes
The code seems only support spice evaluation in English, how can i obtain the spice scores in languages such as Chinese, Japanese, and Spanish.
Hi! I am having issues implementing SPICE.Please help Error: Could not score batched file input: java.lang.ClassCastException: org.json.simple.JSONArray cannot be cast to java.lang.String at edu.anu.spice.SpiceScorer.scoreBatch(SpiceScorer.java:95) at edu.anu.spice.SpiceScorer.main(SpiceScorer.java:60) Traceback (most recent call...
I have an offline version of this project's code that has Word Mover's Distance included and is Python 3 compatible. If I put it up on GitHub can it be...
Simply rewrite codes related to `print`, `range`, `items`, `Popen.PIPE` for python3. Tested with `cocoEvalCapDemo.ipynb`.
Hi, whenever i run spice.Compute_Score() locally i get this error: `CalledProcessError: Command '['java', '-jar', '-Xmx8G', 'spice-1.0.jar', '/Users/peter/opt/anaconda3/lib/python3.8/site-packages/pycocoevalcap/spice/tmp/tmpbq7g34li', '-cache', '/Users/peter/opt/anaconda3/lib/python3.8/site-packages/pycocoevalcap/spice/cache', '-out', '/Users/peter/opt/anaconda3/lib/python3.8/site-packages/pycocoevalcap/spice/tmp/tmpx6ykjgr7', '-subset', '-silent']' returned non-zero exit status 1.` However it...