mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add error raise of utils (#11542)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/11586/head
parent
8df87bf272
commit
e2894cf34d
|
@ -72,6 +72,8 @@ def get_len_vectors_per_file(data_type, dimension):
|
|||
vectors_per_file = 100000
|
||||
elif dimension == 16384:
|
||||
vectors_per_file = 10000
|
||||
else:
|
||||
raise Exception("dimension: %s not supported" % str(dimension))
|
||||
elif data_type == "sift":
|
||||
vectors_per_file = SIFT_VECTORS_PER_FILE
|
||||
elif data_type in ["binary"]:
|
||||
|
|
Loading…
Reference in New Issue