diff --git a/python/paddle/dataset/image.py b/python/paddle/dataset/image.py index 493a94e45d462a4669a1832a9def775da0234730..4824fe30e94b58d67fcd27ba6f5ad6f3a16668d9 100644 --- a/python/paddle/dataset/image.py +++ b/python/paddle/dataset/image.py @@ -94,7 +94,7 @@ def batch_images_from_tar(data_file, """ batch_dir = data_file + "_batch" out_path = "%s/%s_%s" % (batch_dir, dataset_name, os.getpid()) - meta_file = "%s/%s.txt" % (batch_dir, dataset_name) + meta_file = "%s/%s_%s.txt" % (batch_dir, dataset_name, os.getpid()) if os.path.exists(out_path): return meta_file