-
Notifications
You must be signed in to change notification settings - Fork 218
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
call meteor #64
Comments
Thanks for reporting this. I can help you debug it. v = self.meteor_p.stdout.readline()
try:
scores.append(float(dec(v.strip())))
except:
print("Error handling value: {}".format(v))
print("Decoded value: {}".format(dec(v.strip())))
raise and re-run the program. It should help us see what we're dealing with. PS Is that your birthday in your GitHub username? If so you should consider changing it as many places irresponsibly use a birthday to authenticate people. |
Thanks your advice! It print this |
I can't find a nice way to work in a fix and I can't replicate the issues that people get with Meteor. v = self.meteor_p.stdout.readline()
try:
scores.append(float(dec(v.strip())))
except:
sys.stderr.write("Error handling value: {}\n".format(v))
sys.stderr.write("Decoded value: {}\n".format(dec(v.strip())))
sys.stderr.write("eval_line: {}\n".format(eval_line))
raise and if the sys.stderr.write("Error from Meteor:\n{}".format(self.meteor_p.stderr.read())) before |
Thanks for your help !!
|
Ah that's very helpful. It seems like you don't have much memory on your machine? |
It works now ! |
Thanks for the feedback. I'll look into adding a warning to help others in the future. |
* meteor: Add some warnings around Meteor usage to help troubleshoot memory issues. Helps with #64. * numpy: Allow pickle. * python 2: Lower scikit-learn version.
Hi, I want to calculate meteor.
windows 10
java 1.8.0_17
python 3.6.4
code like this:
File "C:\Users\214A\Desktop\nlg-eval-master\nlgeval\pycocoevalcap\meteor\meteor.py", line 68, in compute_score
scores.append(float(dec(self.meteor_p.stdout.readline().strip())))
ValueError: could not convert string to float:
Thanks!
The text was updated successfully, but these errors were encountered: