AttributeError: type object 'io.anserini.search.topicreader.Topics' has no attribute 'TREC2019_DL_DOC_UNICOIL' #1142
-
Hello, I'm sorry to bother you, I met an issue when . I created the conda env following "Pip Installation" in "installation.md",and then I run the command "python -m pyserini.search --topics msmarco-passage-dev-subset --index msmarco-passage --output run.msmarco-passage.txt --output-format msmarco --bm25" to check it, the following error occurred. I don not know how to solve it, could you help me ? (pyserini_20220504) zhangxy@s2:~/QA/castorini/pyserini_20220504$ python -m pyserini.search --topics msmarco-passage-dev-subset --index msmarco-passage --output run.msmarco-passage.txt --output-format msmarco --bm25 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems like you're trying to do a dev installation? https://github.com/castorini/pyserini/blob/master/docs/installation.md#development-installation You're not pulling in the latest code from Anserini. Update Anserini to current HEAD, rebuild the fatjar, copy over to Pyserini, and that should solve your problem. |
Beta Was this translation helpful? Give feedback.
It seems like you're trying to do a dev installation? https://github.com/castorini/pyserini/blob/master/docs/installation.md#development-installation
You're not pulling in the latest code from Anserini. Update Anserini to current HEAD, rebuild the fatjar, copy over to Pyserini, and that should solve your problem.