-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subprocess.CalledProcessError: Command '['java', '-jar', '-Xmx8G', 'spice-1.0.jar', ...] returned non-zero exit status 1 #59
Comments
Hi~ I get the same problem, did you find a way to solve it? thx. |
delete stanford-corenlp,then download it again |
I also have the same issue, but I cannot see if it depends on the same error in the java executable since the java stacktrace is not visible in other comments.
Did anyone encounter it and knows how to solve it? |
I know this is old but I was running this library in a class but with the version of this library for python 3 Running the following code successfully clears the cache and I just call it upon instantiation of my class: spice_cache_dir = Path('/usr/local/lib/python3.9/site-packages/pycocoevalcap/spice/cache') |
I downloaded coco-caption from https://github.com/ruotianluo/coco-caption/pulls
Environment: ubuntu18.04, openjdk version "1.8.0_312", stanford-corenlp-3.4.1, python3.6
Other scores are OK.
An error occurred when calculating the spice score.
What should I do? Thank you!
spice.py
69 # Start job
78 subprocess.check_call(spice_cmd, cwd=os.path.dirname(os.path.abspath(file)))
subprocess.CalledProcessError: Command '['java', '-jar', '-Xmx8G', 'spice-1.0.jar'...] returned non-zero exit status 1
The text was updated successfully, but these errors were encountered: