|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutilities.IndexTransformation
public class IndexTransformation
This class can be used for transforming an existing index (BDB store) of PCA-projected VLAD vectors into a different type. The following transformations are supported:
Constructor Summary | |
---|---|
IndexTransformation()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexTransformation()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0] Full path to the original index.args
- [1] Full path to the target index.args
- [2] Length of the original index's vectors.args
- [3] Length of the target index's vectors.args
- [4] Number of vectors to transform.args
- [5] The type of transformation to be applied, one of small/adc/ivfadc.
The following parameters are used only if adc transformation is selected.
args
- [6] Full path to the product quantizer file.args
- [7] m parameter (number of subquantizers) of the product quantizer.args
- [8] k_s parameter (centroids of each subquantizer) of the product quantizer.args
- [9] whether to perform random orthogonal transformation.
The following parameters are used only if ivfadc transformation is selected.
args
- [10] Full path to the coarse index.args
- [11] k_c parameter (number of centroids) of the coarse quantizer.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |