Skip to content

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

@liyaoshigehaoren

Description

@liyaoshigehaoren

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions