Skip to content
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 eval.pl bugs #79

Closed
TanyaZhao opened this issue Aug 19, 2018 · 4 comments
Closed

call eval.pl bugs #79

TanyaZhao opened this issue Aug 19, 2018 · 4 comments

Comments

@TanyaZhao
Copy link

when the code call eval.pl for evaluation, it causes this bug:

Traceback (most recent call last):
File "char_lm.py", line 68, in
max_epochs=150)
File "E:\users\v-tizhao\vs\flair\trainers\sequence_tagger_trainer.py", line 114, in train
embeddings_in_memory=embeddings_in_memory)
File "E:\users\v-tizhao\vs\flair\trainers\sequence_tagger_trainer.py", line 235, in evaluate
p = run(eval_script, stdout=PIPE, input=eval_data, encoding='utf-8')
File "E:\users\v-tizhao\anaconda\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "E:\users\v-tizhao\anaconda\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "E:\users\v-tizhao\anaconda\lib\subprocess.py", line 997, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application

btw, I run the code on windows server, 64bit machine.
Could you help me? Thank you !

@stefan-it
Copy link
Member

stefan-it commented Aug 19, 2018

The problem is, that a perl script is downloaded and used for the evaluation process. I guess this causes some problems on Windows.

The upcoming release of flair could come with a pure python implementation of that evaluation script, see #75 :)

@TanyaZhao
Copy link
Author

one more questions:how could I get ontonotes 5.0 dataset?
I saw that in your data_fetcher.py, there is "train.conllu", "test.conllu", "dev.conllu". Are these ontonotes data which have converted into conll format? Where could I get them?
Could you please tell me the path?
Thank you very much!

@stefan-it
Copy link
Member

This repository claims to have the Ontonotes 5.0 in CoNLL format:

https://github.com/ontonotes/conll-formatted-ontonotes-5.0

@tabergma
Copy link
Collaborator

in release-0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants