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

KeyError: 'bc/cctv/00/cctv_0000_1' #92

Open
liyaoshigehaoren opened this issue Jun 19, 2020 · 2 comments
Open

KeyError: 'bc/cctv/00/cctv_0000_1' #92

liyaoshigehaoren opened this issue Jun 19, 2020 · 2 comments

Comments

@liyaoshigehaoren
Copy link

Traceback (most recent call last):
File "train.py", line 53, in
if tf_global_step % eval_frequency == 0:
File "/home/liyao/demo/e2e-coref-master/coref_model.py", line 560, in evaluate
conll_results = conll.evaluate_conll(self.config["conll_eval_path"], coref_predictions, official_stdout)
File "/home/liyao/demo/e2e-coref-master/conll.py", line 97, in evaluate_conll
output_conll(gold_file, prediction_file, predictions)
File "/home/liyao/demo/e2e-coref-master/conll.py", line 48, in output_conll
start_map, end_map, word_map = prediction_map[doc_key]
KeyError: 'bc/cctv/00/cctv_0000_1'

@gaoya-J
Copy link

gaoya-J commented Mar 11, 2021

I have the simple problem,have you solve it???

@gaoya-J
Copy link

gaoya-J commented Mar 11, 2021

Traceback (most recent call last):
File "train.py", line 55, in
eval_summary, eval_f1 = model.evaluate(session)
File "/home/tomtop5/e2e-coref-master/coref_model.py", line 563, in evaluate
conll_results = conll.evaluate_conll(self.config["conll_eval_path"], coref_predictions, official_stdout)
File "/home/tomtop5/e2e-coref-master/conll.py", line 97, in evaluate_conll
output_conll(gold_file, prediction_file, predictions)
File "/home/tomtop5/e2e-coref-master/conll.py", line 48, in output_conll
start_map, end_map, word_map = prediction_map[doc_key]
KeyError: 'wb/eng/00/eng_0009_0'

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

2 participants