mirror of https://github.com/milvus-io/milvus.git
parent
2ad441e3b9
commit
a147da140a
|
@ -16,9 +16,8 @@ from pymilvus import (
|
|||
pymilvus_version = pymilvus.__version__
|
||||
|
||||
|
||||
all_index_types = ["IVF_FLAT", "IVF_SQ8", "IVF_PQ", "HNSW", "ANNOY"]
|
||||
default_index_params = [{"nlist": 128}, {"nlist": 128}, {"nlist": 128, "m": 16, "nbits": 8},
|
||||
{"M": 48, "efConstruction": 100}, {"n_trees": 50}]
|
||||
all_index_types = ["IVF_FLAT", "IVF_SQ8", "HNSW"]
|
||||
default_index_params = [{"nlist": 128}, {"nlist": 128}, {"M": 48, "efConstruction": 100}]
|
||||
index_params_map = dict(zip(all_index_types, default_index_params))
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ from loguru import logger
|
|||
from pymilvus import connections, Collection
|
||||
|
||||
|
||||
all_index_types = ["IVF_FLAT", "IVF_SQ8", "IVF_PQ", "HNSW", "ANNOY"]
|
||||
all_index_types = ["IVF_FLAT", "IVF_SQ8", "HNSW"]
|
||||
|
||||
|
||||
def read_benchmark_hdf5(file_path):
|
||||
|
|
Loading…
Reference in New Issue