You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 last):
File "/content/pycocoevalcap/spice/model_evaluation.py", line 238, in
Val_with_MLE()
File "/content/pycocoevalcap/spice/model_evaluation.py", line 236, in Val_with_MLE
spice_class.compute_score(all_usable_ref,all_gen_sents)
File "/content/pycocoevalcap/spice/test.py", line 78, in compute_score
cwd=os.path.dirname(os.path.abspath(file)))
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', '-Xmx8G', 'spice-1.0.jar', '/content/pycocoevalcap/spice/tmp/tmpr49ny2ll', '-cache', '/content/pycocoevalcap/spice/cache', '-out', '/content/pycocoevalcap/spice/tmp/tmpl8edcdti', '-subset', '-silent']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
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 last):
File "/content/pycocoevalcap/spice/model_evaluation.py", line 238, in
Val_with_MLE()
File "/content/pycocoevalcap/spice/model_evaluation.py", line 236, in Val_with_MLE
spice_class.compute_score(all_usable_ref,all_gen_sents)
File "/content/pycocoevalcap/spice/test.py", line 78, in compute_score
cwd=os.path.dirname(os.path.abspath(file)))
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', '-Xmx8G', 'spice-1.0.jar', '/content/pycocoevalcap/spice/tmp/tmpr49ny2ll', '-cache', '/content/pycocoevalcap/spice/cache', '-out', '/content/pycocoevalcap/spice/tmp/tmpl8edcdti', '-subset', '-silent']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: