You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the error "Document ID 0 with page ID 1 already exists in the index" happens when I create an index with the same files as a previous one, even with overwrite=True.
.. after the line 317 of colpali.py "shutil.rmtree(index_path)". This seems to allow to really delete existing index in memory and not just the folder.
Sorry if not proper way to raise that I am not a dev and do no understand anything to github.
The text was updated successfully, but these errors were encountered:
Hi, the error "Document ID 0 with page ID 1 already exists in the index" happens when I create an index with the same files as a previous one, even with overwrite=True.
Deepseek helped me, added following lines:
self.embed_id_to_doc_id = {}
self.indexed_embeddings = []
self.doc_ids_to_file_names = {}
self.doc_id_to_metadata = {}
self.highest_doc_id = -1
.. after the line 317 of colpali.py "shutil.rmtree(index_path)". This seems to allow to really delete existing index in memory and not just the folder.
Sorry if not proper way to raise that I am not a dev and do no understand anything to github.
The text was updated successfully, but these errors were encountered: