mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci] Add error raise of utils (#11542)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user