I can successfully run the source code. But when I see the code, I meet a problem.
In thecoref_model.pyfile, when getting the k survival top_span_indices,the code is
the fifth parameter util.shape(context_outputs, 0) is the num_words of document,but In the coref_kernels.cc,the fifth parameter is max_sentence_length. the code in coref_kernels.cc as follow.
I can successfully run the source code. But when I see the code, I meet a problem. In the
coref_model.py
file, when getting the k survival top_span_indices,the code isthe fifth parameter
util.shape(context_outputs, 0)
is the num_words of document,but In thecoref_kernels.cc
,the fifth parameter is max_sentence_length. the code incoref_kernels.cc
as follow.