-
Notifications
You must be signed in to change notification settings - Fork 103
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
About evaluation #22
Comments
Hello,
Thanks for your interest. I forgot which version of python i used? did you
try changing the python version?
…-- Xinya
On Sun, May 27, 2018 at 7:33 AM, embedding ***@***.***> wrote:
Hi , thank you for your nice contribution!
I encounter problem in evaluation:
scores:
Traceback (most recent call last):
File "eval.py", line 101, in
eval(args.out_file, args.src_file, args.tgt_file)
File "eval.py", line 91, in eval
return QGEval.evaluate()
File "/home/zhaozhe/Desktop/opennmt/OpenNMT-py-master/qgevalcap/eval.py",
line 24, in evaluate
(Meteor(),"METEOR"),
File "/home/zhaozhe/Desktop/opennmt/OpenNMT-py-master/qgevalcap/meteor/meteor.py",
line 29, in *init*
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in *init*
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I can not figure out why meteor can not be calculated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJb8YbGi4MvqjeBVXZ_HmZ5_Ilky4w32ks5t2o70gaJpZM4UPPnt>
.
|
It "works" using python3 instead of python2.7. But i have problems with the imports of the scorer modules. ModuleNotFoundError: No module named 'bleu_scorer' EDIT EDIT2 |
Same error. I run with python2.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi , thank you for your nice contribution!
I encounter problem in evaluation:
scores:
Traceback (most recent call last):
File "eval.py", line 101, in
eval(args.out_file, args.src_file, args.tgt_file)
File "eval.py", line 91, in eval
return QGEval.evaluate()
File "/home/zhaozhe/Desktop/opennmt/OpenNMT-py-master/qgevalcap/eval.py", line 24, in evaluate
(Meteor(),"METEOR"),
File "/home/zhaozhe/Desktop/opennmt/OpenNMT-py-master/qgevalcap/meteor/meteor.py", line 29, in init
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I can not figure out why meteor can not be calculated
The text was updated successfully, but these errors were encountered: