You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like there is somthing wrong with → “os.system("%s < %s > %s"%(eval_script, output_path, scores_path))”
the files in output_path have text however the files in scores_path are null, which lead to the list of eval_lines being null.
The error is showing below:
'evaluation' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Traceback (most recent call last):
File "C:/Users/70962/PycharmProjects/named-entity-recognition/ner-tagger/train.py", line 255, in
dev_data, id_to_tag, dico_tags, epoch)
File "C:\Users\70962\PycharmProjects\named-entity-recognition\ner-tagger\utils.py", line 353, in evaluate
print(eval_lines[1])
IndexError: list index out of range
It seems like there is somthing wrong with → “os.system("%s < %s > %s"%(eval_script, output_path, scores_path))”
the files in output_path have text however the files in scores_path are null, which lead to the list of eval_lines being null.
The error is showing below:
'evaluation' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Traceback (most recent call last):
File "C:/Users/70962/PycharmProjects/named-entity-recognition/ner-tagger/train.py", line 255, in
dev_data, id_to_tag, dico_tags, epoch)
File "C:\Users\70962\PycharmProjects\named-entity-recognition\ner-tagger\utils.py", line 353, in evaluate
print(eval_lines[1])
IndexError: list index out of range
BTW input parameters are
--train
../data/train/train.txt
--dev
../data/dev/dev.txt
--test
../data/test/test.txt
--eval
evaluation/temp
--model
model
--tag_scheme
iob
--zeros
1
--with_eeg_gaze
1
--bins
100
--fold
50
The text was updated successfully, but these errors were encountered: