未验证 提交 3a213d94 编写于 作者: K kuizhiqing 提交者: GitHub

fix image batch bug (#33498)

上级 b2afc8df
......@@ -93,7 +93,7 @@ def batch_images_from_tar(data_file,
:rtype: string
"""
batch_dir = data_file + "_batch"
out_path = "%s/%s" % (batch_dir, dataset_name)
out_path = "%s/%s_%s" % (batch_dir, dataset_name, os.getpid())
meta_file = "%s/%s.txt" % (batch_dir, dataset_name)
if os.path.exists(out_path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册