Replies: 2 comments
-
|
Unfortunately there is no support for retraining after incrementally adding vectors. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much @mdouze . 1) When I build the index, I use the name "IVF4096,PQ4" to build through the index_factory . In my understanding, this index will create 4096 center points, and each vector will be compressed in PQ mode. At the same time, the quantizer is flatl2 by default. However, when I use this index to train 10W objects, on the one hand, the log prompts that there are too many 10W vectors, on the other hand, it says that training set too big. What's my opinion index.type Is there anything wrong with that? Or do I have more or less training points? log output 2) After training data with "IVFPQ*" index , and I use the add_with_ids to add vectors and ids , I want to remove some invalids ids and vectors . Could I remove the specific invalid ids so that I won't search these ids and vectors ? I look for the wiki and see the "remove operation" is only supported for Flat* ? Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi, all:
When I build the full amount of data, I train the data first, and then pass add_ with_ ids method create the "index" for the data. After that, I will continue to receive new data, and add it again when the data meets a certain size. The question is : before adding these, could I call the train function again to incrementally train the trained 'index'? And could the train function only be trained once before building an index?
Thank you
Platform
centos7
Faiss version:
Installed from: compiled by yourself
Faiss compilation options:
Running on:
Interface:
Reproduction instructions
Beta Was this translation helpful? Give feedback.
All reactions