-
Notifications
You must be signed in to change notification settings - Fork 35
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
索引在写入ivfpq.100.faiss #70
Comments
Hi, from pyterrier_colbert.indexing import ColBERTIndexer
index_root="/some/path"
index_name="index_name"
# default 150, stride 75
indexer = pt.text.sliding(text_attr="text", prepend_title=False)>> ColBERTIndexer("/path/to/colbert.dnn",index_root, index_name, chunksize=20)
indexer.index(pt.get_dataset("irds:trec-robust04").get_corpus_iter()) |
I get an error when I don't change the code
It looks like the thread won't start, right |
The location of this error is
|
After debugging I found that the reason for the error is that all my pt files torch are not loading, so it will report an error: |
And what does Google say when you search for this error message? |
Hello. Now I get the most of the need when the index files such as doclens.10.json,docnos.pkl.gz files But in the last step write in ivfpq.100.faiss file failed So I want to use the obtained file to write in the ivfpq.100.faiss file. My code is as follows:
But it didn't work out and got stuck:
The text was updated successfully, but these errors were encountered: