shiyybua / NER

基于tensorflow深度学习的中文的命名实体识别
1.05k stars 400 forks source link

assert len(words) == len(tags) AssertionError #74

Open nan777999 opened 4 years ago

nan777999 commented 4 years ago

测试时报这样的错误,请问是为什么, Use standard file APIs to check for files with this prefix. Traceback (most recent call last): File "e:/实体识别/NER-master/rnn.py", line 176, in predict(net, tag_table, sess) File "e:/实体识别/NER-master/rnn.py", line 140, in predict write_result_to_file(file_iter, tags) File "e:\实体识别\NER-master\utils.py", line 289, in write_result_to_file assert len(words) == len(tags) AssertionError