提交 63c5d163 编写于 作者: W whs 提交者: GitHub

Revert "fix image dataset bug (#33630)"

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