BinaryFlat

Usage

python3 binary_flat_generate_model.py -d <dim> -q <query_type> -p <process_id> -pool <pool_size>

Parameter

<dim>: dimension of the binarized feature vector. dim ∈ {256, 512, 1024}. The default value is 512.o

<query_type>: search type. The default value is uint8. When the search interface of the AscendIndexBinaryFlat algorithm is used to improve the performance, set this parameter to float.

<process_id>: ID of the process for multi-process scheduling of operators generated in batches. The default value is 0, and you do not need to set this parameter.

<pool_size>: size of the process pool for multi-process scheduling of operators generated in batches. The default value is 16.

--help | -h: help information.

Description

None