-
Notifications
You must be signed in to change notification settings - Fork 19
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
ValueError in meteor.py #18
Comments
Hmm strange... are you able to run the Meteor JAR separately? |
Yes:
|
Thats really weird... are you able to run E2E metrics (https://github.com/tuetschek/e2e-metrics), or do you get the same error (i.e. did I screw up the transfer, or is that a different error?). I can't unfortunately try it out on a Mac... I'm on Linux (or Windows, but that I don't want to try). |
I have good news and I have bad news. The good news is that your port seems to work the same as the original e2e-code. The bad news is that I still get this error:
|
OK, I've located the error. I've added this on line 55:
The fix for this issue seems to be discussed here: Maluuba/nlg-eval#91 Update: |
Ah it might be a different issue, related to system locale! See: Maluuba/nlg-eval#32 |
That fixed it! Solution is to change line 26 and 27 of self.meteor_cmd = ['java', '-jar', '-Xmx2G', '-Duser.language=en', '-Duser.country=US', METEOR_JAR,
'-', '-', '-stdio', '-l', meteor_language, '-norm'] Output:
|
The fix works fine for me – thanks @evanmiltenburg & @sebastianGehrmann ! |
I just used the script for the first time, in a clean Miniconda environment on Mac OS X. This is the error that I got:
After that the script doesn't seem to do anything. So I halted it with CTRL+C. Then I ran the script again. Same error:
The text was updated successfully, but these errors were encountered: