mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 12:29:36 +08:00
[skip ci] Add comments of benchmark (#11096)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
e747b4b2ce
commit
28ad46ce5a
@ -138,6 +138,7 @@ def metric_type_trans(metric_type):
|
||||
|
||||
|
||||
def get_dataset(hdf5_file_path):
|
||||
""" Determine whether hdf5 file exists, and return the content of hdf5 file """
|
||||
if not os.path.exists(hdf5_file_path):
|
||||
raise Exception("%s not existed" % hdf5_file_path)
|
||||
dataset = h5py.File(hdf5_file_path)
|
||||
|
Loading…
Reference in New Issue
Block a user