Open hoangthangta opened 2 years ago
Are your refs
and hyps
lists the same length when you input it to word_mover_score(refs, hyps, ...)
?
Can you check the format of your input texts? The code supports two evaluation setups: single-ref and multi-ref.
For single-ref, refs
and hyps
lists have the same length, as each system output is paired with only one reference.
I have this error. It seems the size of idf_dict_ref and idf_dict_hyp is not the same?