Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Urgent and IMP)Error: 'f' failed: could not open contriever_msmarco_index/index for reading: No such file or directory #3

Open
kapilmayank opened this issue Sep 23, 2023 · 1 comment

Comments

@kapilmayank
Copy link

RuntimeError: Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open contriever_msmarco_index/index for reading: No such file or directory

Python version-3.9.16
Sagemaker Studio

searcher = FaissSearcher('contriever_msmarco_index/',query_encoder)-this line is giving above error
I checked the indexes available in FAISS SEARCHER
FaissSearcher.list_prebuilt_indexes()
msmarco-v1-passage.aggretriever-cocondenser
description Faiss FlatIP index of the MS MARCO passage corpus encoded by aggretriever-cocondenser encoder.
filename faiss.msmarco-v1-passage.aggretriever-cocondenser.20230407.f627ef.tar.gz
urls [https://rgw.cs.uwaterloo.ca/pyserini/indexes/faiss.msmarco-v1-passage.aggretriever-cocondenser.20230407.f627ef.tar.gz]
md5

I chose one of the index but still it could not open contriever

Please help me resolve this.I have even searched on browser but i could just find one link
facebookresearch/faiss#3004
no resolution is given

@yunhao233
Copy link

did u fix this problem?i have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants