diff --git a/python/paddle/dataset/image.py b/python/paddle/dataset/image.py index c20672c2ce1577a2f992c682710a6e61da947b45..493a94e45d462a4669a1832a9def775da0234730 100644 --- a/python/paddle/dataset/image.py +++ b/python/paddle/dataset/image.py @@ -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):