diff --git a/pyserini/eval/convert_trec_run_to_dpr_retrieval_run.py b/pyserini/eval/convert_trec_run_to_dpr_retrieval_run.py index c7a2fc8720..429a5d0c94 100644 --- a/pyserini/eval/convert_trec_run_to_dpr_retrieval_run.py +++ b/pyserini/eval/convert_trec_run_to_dpr_retrieval_run.py @@ -19,7 +19,8 @@ import os from tqdm import tqdm -from pyserini.search.lucene import LuceneSearcher, get_topics +from pyserini.search import get_topics +from pyserini.search.lucene import LuceneSearcher from pyserini.eval.evaluate_dpr_retrieval import has_answers, SimpleTokenizer if __name__ == '__main__':