未验证 提交 28ad46ce 编写于 作者: W wt 提交者: GitHub

[skip ci] Add comments of benchmark (#11096)

Signed-off-by: Nwangting0128 <ting.wang@zilliz.com>
上级 e747b4b2
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册